Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zeros in Law 61 angle PDF and CDF #2

Open
HunterBelanger opened this issue May 27, 2021 · 1 comment
Open

Zeros in Law 61 angle PDF and CDF #2

HunterBelanger opened this issue May 27, 2021 · 1 comment

Comments

@HunterBelanger
Copy link

Hello,

I just discovered this project, and was experimenting with it, and tried processing an ACE file for U238 from ENDF-8. Bellow is my input file:

U238
ACE    0
ENDF   n-092_U_238.endf
MAT    1
 9237
TEMP   1
 293.6
END

Using this, the processing seems to complete normally, but when I try and read the ACE file with my ACE library, I get a warning about inconsistent CDF's for the angular distributions in an ACE law 61. Here is the back-trace from my library with the details of where the error occurs

RuntimeError:
 #---------------------------------------------------------------------------------
 # Location: /home/hunter/Projects/papillon-ndl/src/reaction.cpp:145
 #
 # Reaction::Reaction: Could not create secondary neutron angle-energy distribution
 # for MT = 5.
 #---------------------------------------------------------------------------------
 #---------------------------------------------------------------------------------
 # Location: /home/hunter/Projects/papillon-ndl/src/tabular_energy_angle.cpp:72
 #
 # TabularEnergyAngle::TabularEnergyAngle: Could not create EnergyAngleTable for
 # the 1th incoming energy 1.300000 MeV. Index of TabularEnergyAngle in XSS block is
 # 4047934.
 #---------------------------------------------------------------------------------
 #---------------------------------------------------------------------------------
 # Location: /home/hunter/Projects/papillon-ndl/src/energy_angle_table.cpp:109
 #
 # EnergyAngleTable::EnergyAngleTable: Couldn't create angle table for 2th energy
 # 0.038155 MeV. Index of EnergyAngleTable in XSS block is 4048098.
 #---------------------------------------------------------------------------------
 #---------------------------------------------------------------------------------
 # Location: /home/hunter/Projects/papillon-ndl/src/pctable.cpp:91
 #
 # PCTable::PCTable: Last CDF entry is not 1, but 0.000000. Index of PCTable in XSS
 # block is 4048128.
 #---------------------------------------------------------------------------------

Looking at this location in the ACE file, it is an angle distribution with two points (-1 and 1), and both PDF and CDF values are all zero. Further inspection reveals that this occurs in several locations in the ACE file for the angular distributions in Law 61, where all PDF and CDF entries are zero. I can provide the ACE file, and log and such if desired, they are just too big to be attached here.

@dlopezaldama
Copy link
Collaborator

Dear Hunter Belanger,

Thank you for reporting this issue. We are working on a new release of ACEMAKER. We will take it into account.

Regards,

Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants