-
Notifications
You must be signed in to change notification settings - Fork 4
Run OpenMOC
Once you build OpenMOC it is straightforward to run it using the default inputs using the following command:
./openmoc
OpenMOC supports a number of command line arguments which can be passed to the program at runtime. Any number of runtime arguments can be passed to OpenMOC and in any order. The options which are supported are given below.
Geometry input xml file
-g geometry.xml
or --geometryfile geometry.xml
(default: xml-sample/Lattice/geometry.xml
)
Materials input xml file
-m geometry.xml
or --materialfile geometry.xml
(default: xml-sample/Lattice/material.xml
)
Track spacing
-ts {spacing}
or --trackspacing {spacing}
(default: 0.1)
Number of azimuthal track angles
-na {num angles}
or --numazimuthal {num angles}
(default: 16)
Minimum verbosity level
-v {level}
or --verbosity {level}
(Options: DEBUG, INFO, NORMAL, WARNING, CRITICAL, ERROR, RESULT) (default: NORMAL)
Print geometry to the console after parsing
-dg
or --dumpgeometry
(default: false)
Plotting output file type
-ex {filetype}
or --extension {filetype}
(Options: tiff, png, jpg, pdb, hdf5) (default: png)
Dimensions of plotted output files
-bd {dimension}
or --bitdimension {dimension}
(default: 1000 for 1000x1000 pixel plots)
Create plot of FSRs, cells, materials, tracks, and segments
-ps
or --plotspecs
(default: false)
Create plot of group-wise and total flux
-pf
or --plotfluxes
(default: false)
Compute the power (fission rate) for each lattice and each lattice cell (ie, pin and assembly powers)
-cp
or -computepowers
(default: false)