-
Notifications
You must be signed in to change notification settings - Fork 85
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
NJOY2016.57 88-Ra-226g.jeff33 parsing error #165
Comments
NJOY does occasionally produce values that have a three-digit exponent. When this happens, the ACE file written will omit the 'e' in the exponential notation. This does cause pain if you're writing an ACE parser -- I know from first-hand experience. You can take a look at I did in OpenMC to handle this case here: ^That may help if you're writing Python. For a solution in C, see here: Note that the ENDF format itself does allow numbers in exponential notation to be written without the 'e' 🤦 |
Thank you, Dr. Romano. That's a new information for me and the references will be helpful. |
Yes, to me it looks like an uninitialized value (which often tend to manifest as a value very close to zero as you have there). The NJOY devs will have to weigh in on what the real culprit here might be. |
@njchoi @paulromano numerical issues in Ace are always interesting thanks for bringing this one up, but if one first take a look at the source in that case Ra226 1455, all fits into place, the wrong places in that case 0.000000+0 0.000000+0 0 0 1 08834 1455 2 One group !! when it should contains 6 to be consistent with 5455. Try with 0.000000+0 0.000000+0 0 0 6 08834 1455 2 This error will happen in more targets (for ENDF/B-VIII.0) outAm240:MF1 MT455 claims 1 delayed neutron groups, but MF5 MT455 claims 6 groups Acer, always has been too merciful to evaluator, library assembler, thank to the commendable spirit of his father, this may change with the custodian |
So is this a data bug rather than a software bug? |
Most definitely, the nuclear data is inconsistent, the ENDF-6 format frame not obeyed. Since this is trivial to correct or get it right, why should the processing software developer provide for even a warning? |
With regard to the presence or absence of "e" when writing/reading a real
number in scientific notation ... it is a feature of Fortran that ENDF
evaluators have taken advantage of for decades. You can also have a real
number with embedded blanks that are treated as zeroes, say 1.________+_0
for unity (I've used underscore to simulate the "blanks") and if properly
positioned will be read with a Fortran e11.0 format specifier. It's not
seen so much in modern files but if you happen to have access to older (say
ENDF/B-III or -IV) you'll see it used all over the place.
Skip
…On Thu, Jun 4, 2020 at 11:47 AM jchsublet ***@***.***> wrote:
Most definitely, the nuclear data is inconsistent, the ENDF-6 format frame
not obeyed. Since this is trivial to correct or get it right, why should
the processing software developer provide for even a warning?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#165 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHJISJR5AAIARBKY56B7XTRU66YZANCNFSM4NSGPJJQ>
.
--
Dr. A. C. (Skip) Kahler
Kahler Nuclear Data Services, LLC
kahler3ac@gmail.com
+1 321 368 3645
|
@kahlerac not sure I get the above remark or did I missed some-thing? I do not see any issue with the "e" but more with 1 group declared in 1455, when 6 spectra are in 5455, for my palate, may be too French, 6 groups with timing should be declared in 1455, the two lines proposal |
Agreed that my comments on presence or absence of "e" are unrelated to
inconsistent delayed neutron group number. I was responding to
@paulromano's initial reply to @njchoi where he stated that omitting the
"e" in scientific notation was an ENDF feature whereas its a Fortran
language feature. And it's not just seen in ENDF-formatted files, I've
seen the feature utilized in EXFOR data tables also, for example.
Skip
…On Thu, Jun 4, 2020 at 1:38 PM jchsublet ***@***.***> wrote:
@kahlerac <https://github.com/kahlerac> not sure I get the above remark
or did I missed some-thing? I do not see any issue with the "e" but more
with 1 group declared in 1455, when 6 spectra are in 5455, for my palate,
may be too French, 6 groups with timing should be declared in 1455, the two
lines proposal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#165 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHJISJEK4GKRW2UTFUG5EDRU7LYTANCNFSM4NSGPJJQ>
.
--
Dr. A. C. (Skip) Kahler
Kahler Nuclear Data Services, LLC
kahler3ac@gmail.com
+1 321 368 3645
|
Yes, it did originate in Fortran. My point was that the ENDF-6 formats manual explicitly allows e-less floats as well as floats with spaces interspersed, as you alluded to, so I would be careful to not say that it's only a Fortran language feature. If you are writing an ENDF parser in a language other than Fortran, you do need to account for this possibility to truly conform to what the ENDF manual says. |
Hello.
Thank you for the replies in the ENDF/B-VIII.0 B10 issue before.
This time I brought an issue regarding JEFF-3.3.
Followings are the input I used and a segment of the output ACE file.
The processing finishes normally, but a strange value is observed (2.12448227712-322) and my ACE parser breaks down.
It is not even in the proper scientific notation.
This is located in the NU block of the 6th delayed neutron precursor group.
Could you please take a look at it?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: