This is a step-by-step to getting openmc (hopefully) easily.
Micromamba
is a Python package-management system. It's similar to Anaconda
(or conda
), but it's faster, and in my opinion, just a better experience.
This link has the instructions to download and install micromamba.
Luckily, OpenMC is nicely packaged and deployed, so there's no need to build anything, or mess with Git. Using micromamba, do:
[path_to_micromamba] install openmc -c conda-forge
** Note if you have a Mac with M chips, it might not work. If that's the case, try this approach to create an intel conda environment and then installing openmc
after.
cad_to_dagmc
: Another great package from Jonathan Shimwell. Github. Converts STEP files to DAGMC files for OpenMC.freecad
: Free CAD GUI for visualization
[path_to_micromamba] install -c conda-forge cad_to_dagmc freecad
Example OpenMC input files here. Two ways of running OpenMC:
- Run a python script using the OpenMC Python API (recommended)
- construct the XML input files, and run
openmc
executable on the directory
- This is a great fusion neutronics workshop by Jonathan Shimwell. Mostly everything by Jon is great.
- Coreform Cubit (commercial software!) for a GUI-based generation of DAGMC geometry.
- download / register for educational version here
- to get an idea of generating DAGMC geometries for OpenMC, reference this tutorial