download JEFF library

Hi!
I am new to openmc and am trying to download the cross sections from the JEFF library. If anyone is able to help with how to do this, that would be great.

Thanks!

Hi Rachel, if you are using OpenMC 0.11.0, you can use this link to download JEFF libraries: https://openmc.org/other-data-libraries/.

Thank you!

Also, once I download them, is there now a way to convert the library to an XML file?

Once you download and extract them, you define in the “materials.xml” file where those cross sections are located, something like this:

materials = openmc.Materials([mat1, mat2, mat3])
materials.cross_sections = ‘/path/to/NuclearData/cross_sections.xml’

materials.export_to_xml()

Hope this helps.
Javier