From 56868894ded0b5d038feace48ad88eafa4b158b8 Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:12:11 -0700 Subject: [PATCH 1/6] Update documentation for ENDF library versions --- generate_endf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_endf.py b/generate_endf.py index dbc6133..6d8fc74 100755 --- a/generate_endf.py +++ b/generate_endf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -Download ENDF/B-VIII.0 or ENDF/B-VII.1 library for use in OpenMC by first +Download ENDF/B-VIII.1, ENDF/B-VIII.0 or ENDF/B-VII.1 library for use in OpenMC by first processing ENDF files using NJOY. The resulting library will contain incident neutron, incident photon, and thermal scattering data. """ From ca859f2d1997b4c178ddf16f2919789d4942ea2f Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:14:57 -0700 Subject: [PATCH 2/6] Update TENDL file URLs to use imperial.ac.uk --- generate_jeff33.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_jeff33.py b/generate_jeff33.py index 77d4455..b4001d9 100755 --- a/generate_jeff33.py +++ b/generate_jeff33.py @@ -78,8 +78,8 @@ def sort_key(path): ] tendl_files = [ - 'https://tendl.web.psi.ch/tendl_2019/neutron_file/C/C013/lib/endf/n-C013.tendl', - 'https://tendl.web.psi.ch/tendl_2019/neutron_file/O/O017/lib/endf/n-O017.tendl', + 'https://tendl.imperial.ac.uk/tendl_2019/neutron_file/C/C013/lib/endf/n-C013.tendl', + 'https://tendl.imperial.ac.uk/tendl_2019/neutron_file/O/O017/lib/endf/n-O017.tendl', ] neutron_dir = Path('endf6') From f0b63d5228e89695f2e2bcf7bab32d05b3353e32 Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:20:38 -0700 Subject: [PATCH 3/6] Update base URLs for TENDL releases --- convert_tendl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/convert_tendl.py b/convert_tendl.py index 824ae1a..2b337d8 100755 --- a/convert_tendl.py +++ b/convert_tendl.py @@ -70,7 +70,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, # This can be exstened to accommodated new releases release_details = { '2015': { - 'base_url': 'https://tendl.web.psi.ch/tendl_2015/tar_files/', + 'base_url': 'https://tendl.imperial.ac.uk/tendl_2015/tar_files/', 'compressed_files': ['ACE-n.tgz'], 'neutron_files': ace_files_dir.glob('neutron_file/*/*/lib/endf/*-n.ace'), 'metastables': ace_files_dir.glob('neutron_file/*/*/lib/endf/*m-n.ace'), @@ -78,7 +78,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, 'uncompressed_file_size': '40 GB' }, '2017': { - 'base_url': 'https://tendl.web.psi.ch/tendl_2017/tar_files/', + 'base_url': 'https://tendl.imperial.ac.uk/tendl_2017/tar_files/', 'compressed_files': ['tendl17c.tar.bz2'], 'neutron_files': ace_files_dir.glob('ace-17/*'), 'metastables': ace_files_dir.glob('ace-17/*m'), @@ -86,7 +86,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, 'uncompressed_file_size': '14 GB' }, '2019': { - 'base_url': 'https://tendl.web.psi.ch/tendl_2019/tar_files/', + 'base_url': 'https://tendl.imperial.ac.uk/tendl_2019/tar_files/', 'compressed_files': ['tendl19c.tar.bz2'], 'neutron_files': ace_files_dir.glob('tendl19c/*'), 'metastables': ace_files_dir.glob('tendl19c/*m'), @@ -94,7 +94,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, 'uncompressed_file_size': '10.1 GB' }, '2021': { - 'base_url': 'https://tendl.web.psi.ch/tendl_2021/tar_files/', + 'base_url': 'https://tendl.imperial.ac.uk/tendl_2021/tar_files/', 'compressed_files': ['tendl21c.tar.bz2'], 'neutron_files': ace_files_dir.glob('tendl21c/*'), 'metastables': ace_files_dir.glob('tendl21c/*m'), From 35e965d63497a277374829f13514dadf224f35e3 Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:21:47 -0700 Subject: [PATCH 4/6] Update base URLs for TENDL data sources --- convert_tendl_rand.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/convert_tendl_rand.py b/convert_tendl_rand.py index a1955e7..61a057f 100755 --- a/convert_tendl_rand.py +++ b/convert_tendl_rand.py @@ -95,15 +95,15 @@ def main(): release_details = { "ENDF2017": { - "base_url": "https://tendl.web.psi.ch/tendl_2017/tar_files/", + "base_url": "https://tendl.imperial.ac.uk/tendl_2017/tar_files/", "ending": ".random.tgz", }, "ENDF2015": { - "base_url": "https://tendl.web.psi.ch/tendl_2015/tar_files/", + "base_url": "https://tendl.imperial.ac.uk/tendl_2015/tar_files/", "ending": ".random.tgz", }, "ACE2015": { - "base_url": "https://tendl.web.psi.ch/tendl_2015/tar_files/", + "base_url": "https://tendl.imperial.ac.uk/tendl_2015/tar_files/", "ending": ".10.2016.tgz", }, } From 87976a910a225ac59d1bd08aa1bfb5eee9ba3f0b Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:23:12 -0700 Subject: [PATCH 5/6] Update TENDL source location --- depletion/generate_tendl_chain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depletion/generate_tendl_chain.py b/depletion/generate_tendl_chain.py index 59dce5e..4a71721 100755 --- a/depletion/generate_tendl_chain.py +++ b/depletion/generate_tendl_chain.py @@ -19,7 +19,7 @@ from utils import download, fix_missing_tpid -NEUTRON_LIB = 'https://tendl.web.psi.ch/tendl_2019/tar_files/TENDL-n.tgz' +NEUTRON_LIB = 'https://tendl.imperial.ac.uk/tendl_2019/tar_files/TENDL-n.tgz' DECAY_LIB = { 'jeff33': 'https://www.oecd-nea.org/dbdata/jeff/jeff33/downloads/JEFF33-rdd.zip', 'endf80': 'https://www.nndc.bnl.gov/endf-b8.0/zips/ENDF-B-VIII.0_decay.zip', From c7d3e138f6014c208d5ab2afa671ff653446c402 Mon Sep 17 00:00:00 2001 From: Perry <100789850+yrrepy@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:39:38 -0700 Subject: [PATCH 6/6] Update TENDL file URLs to 2017 version tendl_2019 at this location is currently down. Easiest is to swap to TENDL-2017 which should be closed. Into the future, TENDL-2023 is the next avail. Alternatives: route through: -https://tendl.imperial.ac.uk/tendl_2019/tar_files/TENDL-n.tgz -https://nds.iaea.org/public/download-endf/TENDL-2019/n/ --- generate_jeff33.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_jeff33.py b/generate_jeff33.py index b4001d9..a6a1f9b 100755 --- a/generate_jeff33.py +++ b/generate_jeff33.py @@ -78,8 +78,8 @@ def sort_key(path): ] tendl_files = [ - 'https://tendl.imperial.ac.uk/tendl_2019/neutron_file/C/C013/lib/endf/n-C013.tendl', - 'https://tendl.imperial.ac.uk/tendl_2019/neutron_file/O/O017/lib/endf/n-O017.tendl', + 'https://tendl.imperial.ac.uk/tendl_2017/neutron_file/C/C013/lib/endf/n-C013.tendl', + 'https://tendl.imperial.ac.uk/tendl_2017/neutron_file/O/O017/lib/endf/n-O017.tendl', ] neutron_dir = Path('endf6')