Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ jobs:
- name: Test convert scripts exist
run: |
convert_fendl --help
convert_jeff32 --help
convert_jeff33 --help
convert_jeff --help
convert_lib80x --help
convert_mcnp70 --help
convert_mcnp71 --help
Expand Down
18 changes: 5 additions & 13 deletions .github/workflows/test_processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
type: choice
options:
- convert_fendl
- convert_jeff32
- convert_jeff33
- convert_jeff
- convert_endf
- convert_tendl
- convert_tendl_rand
Expand Down Expand Up @@ -58,17 +57,10 @@ jobs:
run: |
convert_fendl --cleanup

# this running convert_jeff32 in with default arguments produces 49GB of
# data. Hence the use of arguments to process just one temperature
- name: test default convert_jeff32
if: inputs.script == 'convert_jeff32'
run: |
convert_jeff32 -r 3.2 -t 293 --cleanup

- name: test default convert_jeff33
if: inputs.script == 'convert_jeff33'
run: |
convert_jeff33 -r 3.3 -t 293 --cleanup
# Limit neutron processing to one temperature to bound disk use.
- name: test convert_jeff
if: inputs.script == 'convert_jeff'
run: convert_jeff -t 293 --cleanup

- name: test default convert_endf
if: inputs.script == 'convert_endf'
Expand Down
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,36 @@ A few categories of scripts are available:
|convert_endf | ENDF/B | VII.1 | NNDC |
|convert_lib80x | ENDF/B | VIII.0 | LANL |
|convert_fendl | FENDL | 3.2c<br>3.2b<br>3.2a<br>3.2<br>3.1d<br>3.1a<br>3.1<br>3.0<br>2.1 |
|convert_jeff32 | JEFF | 3.2 |
|convert_jeff33 | JEFF | 3.3 |
|convert_jeff | JEFF | 3.2<br>3.3<br>4.0 (default) | OECD/NEA |
|convert_tendl | TENDL | 2015<br>2017<br>2019<br>2021 |

#### JEFF ACE conversion

`convert_jeff -r 3.3 -t 600 900 --destination jeff-hot` converts neutron and
thermal ACE data without NJOY or a 293 K base. Defaults: release 4.0, all neutron
temperatures, `--libver latest`. Available neutron archive temperatures:

| Release | Neutron archive temperatures (K) |
| --- | --- |
| 3.2 | 293, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1500, 1800 |
| 3.3 | 293, 600, 900, 1200, 1500, 1800 |
| 4.0 | 0.1, 293, 300, 600, 900, 1200, 1500, 1800 |

Select the 4.0 archive containing 293.6 K data with `-t 293`. **All native thermal
temperatures** are retained, including the 1 K UO2 pairs. **JEFF-4.0 supplies only
the public 12-case/316-table thermal subset**, not the full TSL library.
Unknown thermal aliases retain their identity with a `c_` prefix and warning.

Output HDF5/XML goes directly into `--destination` (default `jeff-<release>-hdf5`),
staged until conversion succeeds; existing files and name/temperature collisions fail.
Downloads require multiple GB. `--no-download --no-extract` reuses working-directory
caches `jeff-<release>-download` and `jeff-<release>-ace`; `--cleanup` removes both
only after success. Metastable corrections never edit cached ACE files.
Every discovered nuclide must have every selected neutron temperature; 3.3 also
requires its 20 thermal groups. Caches cannot reveal nuclides absent at all temperatures.

See `convert_jeff --help` for all options.

### Generate cross sections

| Script name | Library | Release | Processed by |
Expand Down Expand Up @@ -122,8 +148,6 @@ A few categories of scripts are available:
|generate_endf| ENDF/B | VIII.0 | NNDC | [openmc.org](https://anl.box.com/shared/static/uhbxlrx7hvxqw27psymfbhi7bx7s6u6a.xz) | | :heavy_check_mark: | |
|convert_fendl| FENDL | 2.1<br>3.0<br>3.1a<br>3.1d<br>3.2 | | [openmc.org 3.2](https://anl.box.com/shared/static/3cb7jetw7tmxaw6nvn77x6c578jnm2ey.xz) | :heavy_check_mark: | | |
|generate_jendl| JENDL | 4.0 | | | | :heavy_check_mark: | |
|convert_jeff32| JEFF | 3.2 | | [openmc.org](https://anl.box.com/shared/static/pb94oxriiipezysu7w4r2qdoufc2epxv.xz) | :heavy_check_mark: | | |
|convert_jeff33| JEFF | 3.3 | | [openmc.org](https://anl.box.com/shared/static/ddetxzp0gv1buk1ev67b8ynik7f268hw.xz) | :heavy_check_mark: | | |
|convert_tendl| TENDL | 2015<br>2017<br>2019<br>2021| | | :heavy_check_mark: | | | -->

## Produce Depletion Chain files
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ include-package-data = false

[project.scripts]
convert_fendl = "openmc_data.convert.convert_fendl:main"
convert_jeff32 = "openmc_data.convert.convert_jeff32:main"
convert_jeff33 = "openmc_data.convert.convert_jeff33:main"
convert_jeff = "openmc_data.convert.convert_jeff:main"
convert_lib80x = "openmc_data.convert.convert_lib80x:main"
convert_mcnp70 = "openmc_data.convert.convert_mcnp70:main"
convert_mcnp71 = "openmc_data.convert.convert_mcnp71:main"
Expand Down
Loading
Loading