Skip to content

OpenMC tutorials

Kiesling, Kalin Rose requested to merge openmc_tutorial into shift_openmc_integration

I made two tutorials for using MCSim OpenMC for both an eigenvalue calc (sample 17) and volume only calc (sample 18).

Included in this MR are a few bugs/updates that became apparent as I was making the tutorials:

  • metastable isotopes have a different naming scheme in openmc, so that is corrected
  • the temperature handling of the nuclear data has to be explicitly set to interpolation
  • I added a note to the main README about needing to have the OPENMC_CROSS_SECTIONS environment variable added to the Workbench (see note below) configuration if using that
  • fixed a missing template in the schema

note: Workbench, still being Python2 only, will not support running OpenMC as is. I did my own Python 3 updates to my installation of workbench just to try running it from there and that is how I revealed the necessity of the environment variable in the configuration. Should I make a note in the tutorials about the known issue that this will not work with the current version of Workbench due to the python version?

Question - should I remove the reference to the OpenMC python script in Sample 0 (or direct them to these tutorials instead)?

Merge request reports