Skip to content

Support converting TENDL 2019 library - #16

Merged
shimwell merged 2 commits into
openmc-dev:masterfrom
paulromano:tendl2019
Feb 7, 2020
Merged

shimwell merged 2 commits into
openmc-dev:masterfrom
paulromano:tendl2019

Conversation

@paulromano

Copy link
Copy Markdown
Contributor

Addresses #15. This one went really smoothly. I didn't need to make any bug fixes in the ACE files distributed by TENDL (for once!). @shimwell, mind reviewing?

@shimwell

shimwell commented Feb 5, 2020

Copy link
Copy Markdown
Member

Hi @paulromano sorry I just noticed this, I shall review it today / tomorrow.

@shimwell

shimwell commented Feb 6, 2020

Copy link
Copy Markdown
Member

This is a great use of those dictionary descriptions that we investing in a while back. It makes adding new releases straight forward to implement and straight forward to check.

I have used your updated script to generate the new tendl 2019

I noticed that they have added a few more isotopes compared to 2017 (557) compared to 2019 (631)

Looking at the two cross_sections.xml generated the new TENDL 2019 brings in some extra isotopes for Ag, Al As, Bi, Br, Co, Cu, Dy, Er, Eu, Fe, Ga, Gd, Ho, I, Ir, La, Lu Mn, Nb, Ni, Os, P, Rb, Re, Rh, Sb, Sc, Sn, Sr, Ta, Tc, Ti, V, W, Xe, Y, Zr

This is a very welcome addition to the repo. As the next step this script can be upgraded to use the standard inputs and use of Pathlib that some of the other new scripts use, but I am aware that these particular features have been contracted out and others are planning to do that.

I have just one potential suggested change, the compressed file size on my system shows up as 2.3GB so only a minor difference there. The uncompressed file size of both the ./tendl-2019-ace and the ./tendl-2019-hdf5 folder shows up as (2.4GB + 7.7GB or 10.1GB in total). These numbers are slightly different to the numbers in the script. Not really an issue but for your consideration.

Comment thread convert_tendl.py Outdated
'neutron_files': os.path.join(ace_files_dir, 'tendl19c', '*'),
'metastables': os.path.join(ace_files_dir, 'tendl19c', '*m'),
'compressed_file_size': '2.2 GB',
'uncompressed_file_size': '6.8 GB'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the terminal command "du -h" I get a larger file size here
2.4G ./tendl-2019-hdf5
7.7G ./tendl-2019-ace

Comment thread convert_tendl.py Outdated
'files': ['tendl19c.tar.bz2'],
'neutron_files': os.path.join(ace_files_dir, 'tendl19c', '*'),
'metastables': os.path.join(ace_files_dir, 'tendl19c', '*m'),
'compressed_file_size': '2.2 GB',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get a very slight larger file size here
2.3G Feb 6 08:31 tendl19c.tar.bz2

@paulromano

Copy link
Copy Markdown
Contributor Author

Thanks @shimwell for the review; just updated those file sizes

@shimwell

shimwell commented Feb 7, 2020

Copy link
Copy Markdown
Member

Thanks Paul, let's merge this

@shimwell
shimwell merged commit 7b45092 into openmc-dev:master Feb 7, 2020
@paulromano
paulromano deleted the tendl2019 branch February 7, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants