Building the Reactor Module
To use the Reactor Module:
- commentnote
In the following instructions,
$MOOSE_DIRis defined as the MOOSE installation directory. This can be set in a Bash shell like this (assuming you installed in~/projects/moose):export $MOOSE_DIR=~/projects/moose Compile the Reactor Module App by navigating to
$MOOSE_DIR/modules/reactorand issuing themakecommand. This will generate a binary file in that directory which leverages both the MOOSE framework and Reactor module capabilities. Running the binary with the--versionflag should simply output the current code version without error if it was compiled properly.cd $MOOSE_DIR/modules/reactor make -j4 ./reactor-opt --versionAlternatively, compile the Combined App which produces a binary that includes all of MOOSE's modules:
cd $MOOSE_DIR/modules/combined make -j4 ./combined-opt --versionAlternatively, the user may enable the Reactor Module in a custom physics application by modifying the application's
Makefileaccording to New Users.
Note that the Griffin application is auto-configured to leverage the Reactor Module and capabilities are therefore automatically available in Griffin.
To test that a compiled binary is linked properly with the Reactor module, the binary can be run with one of the Reactor module test inputs:
$MOOSE_DIR/modules/reactor/reactor-opt -i $MOOSE_DIR/modules/reactor/test/tests/meshgenerators/simple_hexagon_generator/sim_hex.i --mesh-only
This should output generated mesh information without producing any errors.