Hello,
How can I generate cross_section file for different temperatures ?
Is there any such option?
Hello,
How can I generate cross_section file for different temperatures ?
Is there any such option?
We have a few cross sections you can download that are made with different temperatures. For example JEFF33 on this webpage
https://openmc.org/official-data-libraries/
You can also take a look at these scripts for generating cross sections. The generate_jeff33.py script is one example that generates cross sections for different temperatures and produces the compressed files for the openmc.org website. If you take a look at the code in this script it shows how to generate hdf5 files from ENDF files
GitHub - openmc-dev/data: Collection of scripts for managing data for OpenMC
If you are after a python package then I have a fork of the data repo that might be of interest. I’m keen on feedback for this so do let me know what you think if you try it GitHub - openmc-data-storage/openmc_data: A Python package containing a collection of scripts for producing and downloading data for OpenMC
Finally I would also recommend take a look at WMP which are a nice way of generating cross sections adjusted for temperature on the fly. Some reactions might be unavailable but they are very small files compared to the standard multiple temperature cross sections
Thanks. It works fine.
To generate my cross section i used python generate_endf.py -r vii.1 -p neutron --temperatures 575.0 595.0 600.0 900.0 920.0 this command.
Thanks for posting.
I notice you have slightly different temperatures to the acceptable arguments in the generate_endf script. Not sure if this is the cause of the error but perhaps a good place to start. I would use the same temperatures as we have in the args.
Hello,
You should add in the setings of your model, the method in which you treat the temperature (interpolation or nearest).
openmc.Settings — OpenMC Documentation