Problem of cross-section.xml

Dear sir/madam,

I downloaded the cross section data of jeff3.3 in ”https://openmc.org/official-data-libraries“. How can I change the path of “cross_section.xml” to the path of the data?

Best regards,

Lei

1 Like

Hi

You need to set OPENMC_CROSS_SECTION environment variable to the Jeff 3 .3 folder containing cross_section.xml file

Relevant documentation is 3. Cross Section Configuration — OpenMC Documentation. Hope this helps

Hi,

I’m not sure I understand. I set the openmc-env and get the cross-section data in H5 format now. But the JEFF3.3 folder doesn’t contain a file called cross_section.xml. How can I Indicate the path of cross_section data to these H5 files?

Hi @SaitoAsuka

Open your terminal from jeff33_hdf5 folder and type

ls cross*

If cross_sections.xml exists, You will get an output like

cross_sections.xml

If not, then you have to download jeff33_hdf5 library again. It can happen if you use an external download manager e.g fdm.
Now open .bashrc file with your favourite text editor and Add

export OPENMC_CROSS_SECTIONS='/path/to/jeff33_hdf5/cross_sections.xml'
export OPENMC_CROSS_SECTIONS