Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MCNP data library conversion scripts #14

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

paulromano
Copy link
Contributor

Our MCNP library conversion scripts mentioned using the mcplib84 photoatomic data library, which actually doesn't work with OpenMC because it doesn't contain photoelectric subshell cross sections. Only the newer eprdata12 or eprdata14 libraries are valid, so those are explicitly called out in the script now. Because they exist in a different directory in MCNP's distribution, there's now just a separate optional argument for specifying the path to the photon library.

Also, I learned that in the MCNP 6.2 distribution, there are a few data files that have been updated, but both old/new ones are present, so it's not sufficient to just glob for all files and convert. I've added some logic that selectively removes older ACE files in favor of the newer ones. This affects H1 and three thermal scattering materials (SiO2, UO2, and ZrH).

Once this is merged, I'll update the corresponding converted MCNP libraries on openmc.org.

Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

Works as expected, thanks @paulromano!

@amandalund amandalund merged commit b95e5e6 into openmc-dev:master Dec 13, 2019
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