Fuel pin example

Hi!

I have followed the instructions in

But openmc.run() won’t start - it can’t find cross_sections.xml.
Adding a “Materials.cross_sections” line in code does not work either.
Commands
!cat $OPENMC_CROSS_SECTIONS | head -n 10
print(’ …’)
!cat $OPENMC_CROSS_SECTIONS | tail -n 10
Also don’t work. How to get the cross_sections.xml file?

@nuclearsneke Did you download data library?

nope, I did not. I have followed only the installation process for Ubuntu/Linux and have thought that it will be included. Where should I download it from?

You can download library from this link. openmc needs the full path location of cross_sections.xml file to run.

Thanks a lot! I will download it and try it out

I think something went wrong since I am getting some error now when trying to run a fuel pin example. It worked well and now it does not want to work with Zr.


what is inside the file:

Alrightie, solved. I have double-checked the path to cross-sections and fixed it. Now it works!

1 Like