-
Notifications
You must be signed in to change notification settings - Fork 86
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
Problems with JEFF-3.3 Cr50, Cr53, and Cr54 #277
Comments
I am afraid that this glitch will not only happen on your above examples, does not only belong to Cr JEFF-3.3 targets I mean. The outgoing energy grid is automatically extended below 0.001 in that case during NJOY2016 Acer processing following recommendations made and explained in: Page 15 https://t2.lanl.gov/nis/publications/Bigten_Study.pdf The fact that its also does it between e1 and e2 is obviously wrong It has already been raised or flagged in issue #131 When physics is concerned it does not make any sense to have an MT=5/MF=6 KM energy range going down to 1e-5, but when in ENDF-6 forms it apparently does ! Au royaume des aveugles les borgnes sont rois |
Ah yes, I had not realized that this problem was related to the smoothing operation. Turning of smoothing indeed removes the exceptions being thrown by my library. As you mention in #131, it might not be wise to apply smoothing to MT5, but the addition of these points between E1 and E2 is certainly an independent bug, as you mention. I have never noticed this issue with other Kalbach Mann distributions, making me think that the problem is due to the histogram interpolation used in the mentioned Cr evaluations (LEP=1). Looking at acefc.f90 in the acelf6 subroutine, I think the issue occurs somewhere in this if statement: Lines 7522 to 7561 in 14f1ac1
This is the branch where histogram interpolation KM is smoothied, and it seems fairly different from the branch immediately bellow it, which handles linear interpolation. In the linear interpolation branch, there is mentioning of inserting the new points, and also re-normalizing the distribution. While I don't see comments for this in the histogram branch, that doesn't mean it isn't happening. J'avoue que je ne comprend pas trop bien ce qui se passe là dans les sources ; pour moi c'est un peu de la magie noire. |
I recently processed all of JEFF-3.3, and upon trying a few benchmarks, I noticed that Cr50, Cr53, and Cr54 all had a similar problem in the generated ACE files. Each of these evaluations has an MT 5, for which the distribution is given in MT 6 as LAW 1 LANG 2 (Kalbach Mann). For each of these evaluations, I find that for at least one incident energy, the out going energy grid is not sorted. This also leads to the CDF for the outgoing energy to have negative values.
As an example, using Cr50, this problem occurs at an incident energy of 4MeV, for which I am seeing an out going energy grid of:
From this grid, we see the that the exit energy grid isn't sorted due to what appears to be the very first energy point. Looking in the evaluation however, I found that the given outgoing energy grid is supposed to be
It would appear as though the first point is the correct one, but that NJOY is adding a lot of extra points between first and second out going energy. This not only causes the out going energy grid to be unsorted, but also seems to be leading to the negative CDF values as well, as these added points also have weird PDFs.
The problems encountered with Cr53 and Cr54 appear to be nearly identical, happening with a Kalbach Mann distribution in MT 5, though the incident energy at which this occurs seems to vary.
The text was updated successfully, but these errors were encountered: