watts.PluginMOOSE#
- class watts.PluginMOOSE(template_file, show_stdout=False, show_stderr=False, n_cpu=1, extra_inputs=None)[source]#
Plugin for running MOOSE
- Parameters
template_file (
str
) – Templated MOOSE inputshow_stdout (
bool
) – Whether to display output from stdout when MOOSE is runshow_stderr (
bool
) – Whether to display output from stderr when MOOSE is runn_cpu (
int
) – Number of processors to be used to run MOOSE applicationextra_inputs (
Optional
[List
[str
]]) – List of extra (non-templated) input files that are needed
- moose_exec#
Path to MOOSE executable
Methods
options
(moose_exec)Input MOOSE user-specified options
postrun
(params)Read MOOSE results and create results object
prerun
(params)Generate the MOOSE input based on the template
run
()Run MOOSE