njoy / NJOY2016

Nuclear data processing with legacy NJOY
https://www.njoy21.io/NJOY2016
Other
95 stars 82 forks source link

Fix/purr bondarenko #267

Closed whaeck closed 1 year ago

whaeck commented 1 year ago

An issue with Bondarenko data written to MF2 MT152 by PURR has been reported by JAEA and an investigation has shown that the Bondarenko data written to MF2 MT152 in PURR is the data obtained from the sampled data directly instead of the data obtained from the probability table directly. There actually was commented code in PURR to this effect but it seems to have not been enabled.

Tests impacted by these results:

whaeck commented 1 year ago

@nathangibson14 poke

jchsublet commented 1 year ago

I feel that there has been a misunderstanding in interpreting what physics forms is in a pendf tape after PURR, particularly in MF=3/MT=152. As far as I recall, remember and read from LA-UR-12-27079 "The NJOY Nuclear Data Processing System, Version 2012” https://mcnp.lanl.gov/pdf_files/la-ur-12-27079.pdf

MT=152 Bondarenko-style table, direct sampling, same format as UNRESR MT=153 Probability table Levitt style, special format

From page 229 to 644 (15 pages) of the NJOY manual, one can read and I quote

"During the sampling process, PURR also computes Bondarenko-style selfshielded cross sections just like those produced by UNRESR. These values are printed out so that they can be compared with the results from other methods. For recent versions of NJOY, the Bondarenko self-shielded cross sections replace any previous values on the PENDF file from UNRESR. The Bondarenko cross sections can also be computed directly from the probability table using (501) ….

These values are also printed out. They can be compared to the Bondarenko values from direct sampling to help judge whether adequate convergence has been obtained.


When comparing Bondarenko results from PURR with those from UNRESR, several factors should be considered. The PURR results may be more reliable at low sigma0 values than UNRESR results because of the more complete treatment of resonance overlap effects, but the unrealistic cross sections in the dips between resonances will eventually make even the PURR results suspect at low values. This effect may be especially apparent for the current-weighted total cross section, which is especially sensitive to the low cross sections between resonances.


The code now continues by writing the new Bondarenko cross sections to the output PENDF file using MF=2/MT=152 and the new probability table to the file using MF=2/MT=153.


The code then computes and displays the Bondarenko table and the the final normalized probability table. As a cross check it also computes the Bondarenko table from the probability table. It should compare well with the Bondarenko table generated by direct sampling if enough ladders have been used. "

So yes there is a way to also computes Bondarenko table from the probability table (sigb), but it is not, was not intended to overwrite the Bondarenko-style direct sampling (sigf) always stored in MT=152 in UNRESR style after PURR.

Bondarenko, Levitt tables are two distinct methods to self-shield SLBW URR, the second been more potent

nathangibson14 commented 1 year ago

In my opinion, there's very little reason to support sigb over sigf or vice versa. If anything, the most interesting part of these two methods is in how well they compare. As the manual states, both are provided in output to allow for checking convergence.

I don't particularly understand use cases for MT152 coming from PURR. But if one were to want to use MT152 from PURR, I'd presume they would also want it to be consistent with MT153. For that reason, I do think this change is warranted. This also will resolve the issue identified by JAEA, an added bonus.

@whaeck and I agree that the real issue here is some other approaches used in PURR related to windowing. URR processing needs some real attention in the future, and hopefully the NJOY21 project can address this someday soon.