Skip to content
Open
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
8 changes: 4 additions & 4 deletions convert_tendl.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,31 +70,31 @@ 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'),
'compressed_file_size': '5.1 GB',
'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'),
'compressed_file_size': '2.1 GB',
'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'),
'compressed_file_size': '2.3 GB',
'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'),
Expand Down
6 changes: 3 additions & 3 deletions convert_tendl_rand.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
Expand Down
2 changes: 1 addition & 1 deletion depletion/generate_tendl_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion generate_endf.py
Original file line number Diff line number Diff line change
@@ -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.
"""
Expand Down
4 changes: 2 additions & 2 deletions generate_jeff33.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_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')
Expand Down