Skip to main content

A Python app for plotting OpenMC.

This repository contains the source code for the OpenMC plot.

Try the web app at http://openmc-plot.xsplot.com

This repository contains:

  • A Python Streamlit based GUI 🐍
  • A Dockerfile that provides the hosting environment for the web app 🐳

Plot geometry

openmc plot geometry

Plot sources

openmc plot source

Plot regular mesh tallies

openmc plot mesh

Plot weight windows

openmc plot mesh

Plot cylindrical mesh tallies

openmc cylinder mesh plot GUI

Install

First you will need to install OpenMC

OpenMC_plot can then be install directly from the Python package index (PyPi) using pip.

pip install openmc_plot

Usage

In the terminal type ...

openmc_plot

Your default web browser should then load with the GUI.

You will also need to have OpenMC installed.

Run web app locally (developers)

To host your own local version of xsplot.com you will need Docker installed and then can build and run the Dockerfile with the following commands.

First clone the repository

git clone https://github.com/fusion-energy/openmc_plot

Then navigate into the repository folder

cd openmc_plot

Then build the docker image

docker build -t openmc_plot .

Then run the docker image

docker run --network host -t openmc_plot

The URL of your locally hosted version should appear in the terminal, copy and paste this URL into a web browser address bar.

Maintenance (developers)

Pushing to the main branch of this repository triggers an automatic rebuild and deployment of the new code using Google Cloud build at xsplot.com

Metadata

Release files for openmc-plot 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openmc-plot 0.3.3
File Size Uploaded
openmc_plot-0.3.3.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for openmc-plot 0.3.3
File Interpreter ABI Platform
openmc_plot-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 2.2 MB

Release files / openmc_plot-0.3.3.tar.gz

Download URL openmc_plot-0.3.3.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
557cdc74e4b1c4115dc1d1818078e98cbce13558603639d148cd6213fcbc564c
BLAKE2b-256 checksum
How to use checksums
8d7c30b235954e7798345c8f63207cb642fdfd76eb0b5b909651d0077ea8cdfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / openmc_plot-0.3.3-py3-none-any.whl

Download URL openmc_plot-0.3.3-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cf65b132dc1493f684ad7b27c3b8b5ba23bd7620b418af7a46ba7ad6c99ec3dc
BLAKE2b-256 checksum
How to use checksums
c2557acac1be7d54b7660fbaf31767bb5653e6fb65dffa6a58be295352015d85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page