Skip to content

Create axis slice plots of OpenMC geomtry with specified zoom

License

Notifications You must be signed in to change notification settings

fusion-energy/openmc_geometry_plot

Repository files navigation

Create axis slice plots of OpenMC geomtry:

  • Interactive plots with hovertext 💬
  • Specify the zoom 🔍
  • Color by materials or cells 🎨
  • Outline by materials or cells ✏️
  • Interactive plotting with 📈 Plotly

This package is deployed as a web app

openmc geometry plot

Local install

You will need to first install OpenMC (0.15.3 or newer).

There are several methods but perhaps the quickest is to use this Pip extra index as it includes a recent version of OpenMC 0.15.3-dev. A recently added feature (map ID) is used by the package so a recent version of OpenMC is needed.

python -m pip install --extra-index-url https://shimwell.github.io/wheels openmc

Then you can install openmc_geometry_plot with pip

pip install openmc_geometry_plot

Usage

After installing run the openmc_geometry_plot command from the terminal and the GUI should launch in a new browser window.

About

Create axis slice plots of OpenMC geomtry with specified zoom

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages