10.2.2. armicontrib.dif3d.executers module¶
Contains components that prepare, execute, and read output from DIF3D.
Anything wanting DIF3D results should instantiate these objects and use them. The objects here are intended to be short lived e.g. created, used, and destroyed.
The Dif3dExecuter
orchestrates the tasks of interpreting relevant case settings,
writing a DIF3D input file, executing DIF3D upon that file, and reading the resultant
DIF3D output files back in. The results read from the output files are then applied to
the reactor model. In addition to dealing specifically with DIF3D itself, this
sub-classes the GlobalFluxExecuter
, which
assists in performing geometry transformations, flux-based parameter computation, and
other tasks.
See also
armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxExecuter
ARMI-provided base class to
GlobalFluxExecuter
.Dif3dOptions
Options that control the behavior of the Executer and its components.
Dif3dCoreEvaluation
One particular client of this code that runs DIF3D on a core.
-
class
armicontrib.dif3d.executers.
Dif3dExecuter
(options: armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxOptions, reactor)[source]¶ Bases:
armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxExecuter
A short-lived object that coordinates the prep, execution, and processing of a flux solve.
This is an implementation of ARMI’s
DefaultExecuter
and thus follows that pattern closely.- Parameters
options (executionOptions.Dif3dOptions) – run settings
armiObj (composite.ArmiObject) – The object representing the scope of the DIF3D run (e.g. the Core or SFP, etc.)
-
writeInput
(**kwargs)¶