Running the Input File
SAM can be run in Linux, Unix, and MacOS. Due to its dependence on MOOSE, SAM is not compatible with Windows. SAM can be run from the shell prompt as shown below
/projects/SAM/sam-opt -i mhtgr.i
Results
There are three types of output files:
MHTGR_csv.csv: this is a
csv
file that writes the user-specified scalar and vector variables to a comma-separated-values file. The data can be imported to Excel for further processing or in Python using thecsv
module, Pandas, or other methods.MHTGR_checkpoint_cp: this is a sub-folder that save snapshots of the simulation data including all meshes, solutions. Users can restart the run from where it ended using the file in the checkpoint folder.
MHTGR_out.displaced.e: this is a
ExodusII
file that has all mesh and solution data. Users can use Paraview to open this .e file to visualize, plot, and analyze the data.
Figure 1 shows the Paraview output for the primary loop. Figure 2 shows the coolant temperature profile during normal operation

Figure 1: SAM model for the MHTGR primary loop

Figure 2: Temperature profiles of helium coolant (left) and heat structure (right) during normal operation