From 157f2cbfecb621d5cd2db099fdc00c182d98712b Mon Sep 17 00:00:00 2001 From: Stafie Alex PSI Date: Tue, 3 Feb 2026 13:29:17 +0100 Subject: [PATCH] Added official JEFF4 and JENDL5 data and comments --- README_LIB.md | 72 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 14 deletions(-) diff --git a/README_LIB.md b/README_LIB.md index ec3dc37..f4df280 100755 --- a/README_LIB.md +++ b/README_LIB.md @@ -5,6 +5,8 @@ The devs have a guide here on converting data: https://github.com/openmc-dev/dat #### From OpenMC website, https://openmc.org/data/: +The following libraries have been named in the libs folder according to the sections from wehere they we're donwloaded. + - ENDF/B-VII.0 - LANL - restructured the folders to neutron/.. , proton/.. style folders, added the updated path to the cross_sections.xml - has C0 only @@ -28,6 +30,8 @@ The devs have a guide here on converting data: https://github.com/openmc-dev/dat --- +- JEFF 3.1.1 - NEED TO BE DONE + - JEFF 3.2 - other - restructured the folders to neutron/.. style folders, added the updated path to the cross_sections.xml - has C0 and C13 @@ -44,7 +48,7 @@ The devs have a guide here on converting data: https://github.com/openmc-dev/dat #### From other sources: - JEFF 4 (from NEA website, https://databank.io.oecd-nea.org/data/jeff/40/, everything mentioned below is there) - - direct hdf5 format (but each temp has a file) + - direct hdf5 format (but each temp has a differenre file) - separated for each temp and renamed to openmc typical naming of isotopes - neutron xs is separate (included) - TLS is separate (not included) @@ -53,7 +57,55 @@ The devs have a guide here on converting data: https://github.com/openmc-dev/dat - proton data in separate (not included) - not tested - has C12, C13 and C14 - - NOTES: Should process the ENDF to get just one file with multiple temperatures + + - NOTES TO DO: Should process the ENDF with OpenMC+NJOY to get just one file with multiple temperatures + + + - Thermal naming/mapping is assumed to follow the conventions used by `openmc.data.thermal._THERMAL_NAMES` (e.g., `c_X` for elemental targets and `c_X_in_Y` for bound scatterers). The following **JEFF TSL files** were identified as **not present** in the HDF5 thermal scattering set (ordered/grouped by material), note that the 300K is one of themperatures offered for the XS for `tsl_PuO2`, `tsl_ThO2`, `tsl_UO2` and`tsl_Zy4`: + + | Category / Material | JEFF TSL file | + | ------------------- | -------------------------- | + | **Elemental** | `tsl_K_K.jeff` | + | | `tsl_V_V.jeff` | + | | `tsl_W_W.jeff` | + | **PuO₂ @ 300 K** | `tsl_O16_PuO2_300K.jeff` | + | | `tsl_Pu238_PuO2_300K.jeff` | + | | `tsl_Pu239_PuO2_300K.jeff` | + | | `tsl_Pu240_PuO2_300K.jeff` | + | | `tsl_Pu241_PuO2_300K.jeff` | + | | `tsl_Pu242_PuO2_300K.jeff` | + | **ThO₂ @ 300 K** | `tsl_O16_ThO2_300K.jeff` | + | | `tsl_Th232_ThO2_300K.jeff` | + | **UO₂ @ 300 K** | `tsl_O16_UO2_300K.jeff` | + | | `tsl_U238_UO2_300K.jeff` | + | **Zy4 @ 300 K** | `tsl_Zr90_Zy4_300K.jeff` | + | | `tsl_Zr91_Zy4_300K.jeff` | + | | `tsl_Zr92_Zy4_300K.jeff` | + | | `tsl_Zr94_Zy4_300K.jeff` | + | | `tsl_Zr96_Zy4_300K.jeff` | + | | `tsl_Sn112_Zy4_300K.jeff` | + | | `tsl_Sn114_Zy4_300K.jeff` | + | | `tsl_Sn115_Zy4_300K.jeff` | + | | `tsl_Sn116_Zy4_300K.jeff` | + | | `tsl_Sn117_Zy4_300K.jeff` | + | | `tsl_Sn118_Zy4_300K.jeff` | + | | `tsl_Sn119_Zy4_300K.jeff` | + | | `tsl_Sn120_Zy4_300K.jeff` | + | | `tsl_Sn122_Zy4_300K.jeff` | + | | `tsl_Sn124_Zy4_300K.jeff` | + + - Associated Errors + + ``` + Converting: /workspace/jeff-4.0-endf/thermal/tsl_K_K.jeff + /workspace/jeff-4.0-endf/neutron/n_19-K-039g.jeff /workspace/jeff-4.0-endf/thermal/tsl_K_K.jeff could not convert string to float: 'JEFF-4.0:' + Converting: /workspace/jeff-4.0-endf/thermal/tsl_V_V.jeff + /workspace/jeff-4.0-endf/neutron/n_23-V-051g.jeff /workspace/jeff-4.0-endf/thermal/tsl_V_V.jeff could not convert string to float: 'JEFF-4.0:' + Converting: /workspace/jeff-4.0-endf/thermal/tsl_W_W.jeff + /workspace/jeff-4.0-endf/neutron/n_74-W-184g.jeff /workspace/jeff-4.0-endf/thermal/tsl_W_W.jeff could not convert string to float: 'JEFF-4.0:' + ``` + + - JEND4 (only 293.7K) - used the generate_jendl.py script from the dev's openmc git @@ -63,22 +115,14 @@ The devs have a guide here on converting data: https://github.com/openmc-dev/dat 'endf_files': endf_files_dir.glob('*.dat'), 'metastables': endf_files_dir.glob('*m.dat'), ``` - + - generated the TSL data as well (see the modified scripts for this) - JEND5 - used the generate_jendl.py script from the dev's openmc git - has C11, C12, C13, C14 - - The generate_jendl.py script needed the links updated from the JAEA website - ``` - 'base_url': 'https://wwwndc.jaea.go.jp/ftpnd/ftp/JENDL/', - 'compressed_files': ['jendl5-n.tar.gz', - 'jendl5-n_upd6.tar.gz', - 'jendl5-n_upd1.tar.gz'], - ``` - - latest update done is upp1 to upd6 - - WARNING: Negative value(s) found on probability table for nuclide Mn55 at 294K - - Same for Mo100, Mo92, Mo94, Mo95, Mo96, Mo97, Mo98 - + - generated thermal scattering library date + - generated photon data + - WARNING: Negative value(s) found on probability table for nuclide Mn55 at 294K. Same for Mo100, Mo92, Mo94, Mo95, Mo96, Mo97, Mo98 ### Notes: