Skip to content

jbae11/openmc_fusion_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

openmc_fusion_tutorial

This is a step-by-step to getting openmc (hopefully) easily.

1. Get Micromamba

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.

2. Use Micromamba to install openmc

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.

Installing other useful software

  • 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 

3. Test openmc

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

4. Other helpful links

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published