44
55## Description
66
7- A graphical interface for visualizing and manipulating OpenMC plot slices .
7+ A graphical interface for visualizing and navigating OpenMC models .
88
99Originally created by @landonjmitchell at the University of Chicago ([ original
1010repository] ( https://github.com/landonjmitchell/openmc-plotgui ) ).
1111
12+ ![ beavrs] ( ./screenshots/beavrs.png )
13+
14+ ![ beavrs_zoom] ( ./screenshots/beavrs_zoomed.png )
15+
1216## Dependencies
1317
1418OpenMC, Matplotlib, NumPy, PySide2
@@ -21,18 +25,57 @@ This package is most easily installed by running
2125pip install openmc-plotter
2226```
2327
24-
2528## Usage
2629
27- From a directory containing a working OpenMC model run:
30+ From a directory containing an OpenMC model run:
2831
2932``` console
3033openmc-plotter
3134```
3235
3336Once the viewer has opened, press ` ? ` to view a variety of keyboard shortcuts.
3437
35- # Controls/Functionality
38+ ![ shortcuts] ( ./screenshots/shortcuts.png )
39+
40+ ## Features
41+
42+ ### Tally Visualization
43+
44+ The plotter also provides the ability to view tallies with spatial filters (mesh
45+ filter, cell filter, etc.). After loading a statepoint file from the "Edit"
46+ menu, tallies can be displayed on top of the geometry.
47+
48+ ![ tally] ( ./screenshots/pincell_tally.png )
49+
50+ Filters, scores, and nuclides on the tally can be enabled/disabled to isolate data.
51+
52+ ### Color Manipulation
53+
54+ Cell and material colors can be customized in the color dialog menu. Overlap
55+ coloring can be enabled as well to debug problems in the geometry definition.
56+
57+ ![ colors] ( ./screenshots/color_dialog.png )
58+
59+ ### DAGMC Geometry Visualization
60+
61+ The plotter can also present the CAD-based tesellation geometry enabled by the
62+ [ Direct Accelerated Geometry Monte Carlo] ( https://svalinn.github.io/DAGMC/ )
63+ (DAGMC) toolkit. Below is the cross section of a tokamake model generated using [ paramak] ( https://paramak.readthedocs.io/en/main/ ) :
64+
65+ ![ dagmc] ( ./screenshots/dagmc.png )
66+
67+ As well as a DAGMC model of the Advanced Test Reactor (ATR):
68+
69+ ![ atr] ( ./screenshots/atr.png )
70+
71+ ### Saving and Exporting
72+
73+ - Any image displayed in the plotter can be saved in any format supported by the
74+ user's Matplotlib installation.
75+
76+ - Tally and geometry data (material/cell IDs) can be exported to a VTK file under "File->Export"
77+
78+ # Options/Functionality
3679
3780## Menu Bar:
3881
0 commit comments