Application used when running the subchannel module directly. More...
#include <SubChannelApp.h>
Public Member Functions | |
| SubChannelApp (const InputParameters ¶meters) | |
| std::optional< MooseEnum > | getComputeDevice () const |
| torch::DeviceType | getLibtorchDevice () const |
| TheWarehouse & | theWarehouse () |
| virtual std::string | getPrintableName () const |
| virtual std::string | appBinaryName () const |
| int | exitCode () const |
| void | setExitCode (const int exit_code) |
| const RankMap & | rankMap () |
| PerfGraph & | perfGraph () |
| virtual void | run () |
| std::string | getFrameworkVersion () const |
| virtual std::string | getVersion () const |
| std::string | getPrintableVersion () const |
| virtual void | setupOptions () |
| ActionWarehouse & | actionWarehouse () |
| const ActionWarehouse & | actionWarehouse () const |
| Moose::Builder & | builder () |
| Syntax & | syntax () |
| const std::vector< std::string > & | getInputFileNames () const |
| const std::string & | getLastInputFileName () const |
| void | setOutputFileBase (const std::string &output_file_base) |
| std::string | getOutputFileBase (bool for_non_moose_build_output=false) const |
| void | setOutputPosition (const Point &p) |
| std::list< std::string > | getCheckpointDirectories () const |
| std::list< std::string > | getCheckpointFiles () const |
| bool | hasOutputPosition () const |
| Point | getOutputPosition () const |
| void | setStartTime (Real time) |
| bool | hasStartTime () const |
| Real | getStartTime () const |
| void | setGlobalTimeOffset (Real offset) |
| Real | getGlobalTimeOffset () const |
| std::string | getFileName (bool stripLeadingPath=true) const |
| void | setErrorOverridden () |
| void | disableCheckUnusedFlag () |
| Executioner * | getExecutioner () const |
| Executor * | getExecutor () const |
| Executor & | getExecutor (const std::string &name, bool fail_if_not_found=true) |
| NullExecutor * | getNullExecutor () const |
| bool | useExecutor () const |
| FEProblemBase & | feProblem () const |
| void | setExecutioner (std::shared_ptr< Executioner > &&executioner) |
| void | setExecutor (std::shared_ptr< Executor > &&executor) |
| void | addExecutor (const std::string &type, const std::string &name, const InputParameters ¶ms) |
| void | addExecutorParams (const std::string &type, const std::string &name, const InputParameters ¶ms) |
| void | createExecutors () |
| FixedPointConfig & | fixedPointConfig () |
| bool & | useNonlinear () |
| bool & | useEigenvalue () |
| Factory & | getFactory () |
| ActionFactory & | getActionFactory () |
| processor_id_type | processor_id () const |
| std::shared_ptr< CommandLine > | commandLine () const |
| void | setExodusFileRestart (bool flag) |
| bool | getExodusFileRestart () const |
| void | setExReaderForRestart (std::shared_ptr< libMesh::ExodusII_IO > &&exreader) |
| libMesh::ExodusII_IO * | getExReaderForRestart () const |
| virtual void | runInputFile () |
| virtual void | executeExecutioner () |
| bool | getDistributedMeshOnCommandLine () const |
| bool | isRecovering () const |
| bool | isRestarting () const |
| bool | isSplitMesh () const |
| void | setRestartRecoverFileBase (const std::string &file_base) |
| bool | testCheckpointHalfTransient () const |
| bool | testReStep () const |
| void | setOutputFileNumbers (const std::map< std::string, unsigned int > &numbers) |
| const std::map< std::string, unsigned int > & | getOutputFileNumbers () const |
| OutputWarehouse & | getOutputWarehouse () |
| const OutputWarehouse & | getOutputWarehouse () const |
| const SystemInfo & | getSystemInfo () const |
| std::string | appNameToLibName (const std::string &app_name) const |
| std::string | libNameToAppName (const std::string &library_name) const |
| std::set< std::string > | getLoadedLibraryPaths () const |
| std::set< std::string > | getLibrarySearchPaths (const std::string &library_path_from_param) const |
| InputParameterWarehouse & | getInputParameterWarehouse () |
| RestartableDataValue & | registerRestartableData (std::unique_ptr< RestartableDataValue > data, THREAD_ID tid, bool read_only, const RestartableDataMapName &metaname="") |
| RestartableDataValue & | registerRestartableData (const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid, bool read_only, const RestartableDataMapName &metaname="") |
| bool | hasRestartableMetaData (const std::string &name, const RestartableDataMapName &metaname) const |
| RestartableDataValue & | getRestartableMetaData (const std::string &name, const RestartableDataMapName &metaname, THREAD_ID tid) |
| void | possiblyLoadRestartableMetaData (const RestartableDataMapName &name, const std::filesystem::path &folder_base) |
| void | loadRestartableMetaData (const std::filesystem::path &folder_base) |
| std::vector< std::filesystem::path > | writeRestartableMetaData (const RestartableDataMapName &name, const std::filesystem::path &folder_base) |
| std::vector< std::filesystem::path > | writeRestartableMetaData (const std::filesystem::path &folder_base) |
| RestartableDataMap & | getRestartableDataMap (const RestartableDataMapName &name) |
| bool | hasRestartableDataMap (const RestartableDataMapName &name) const |
| void | registerRestartableDataMapName (const RestartableDataMapName &name, std::string suffix="") |
| const std::string & | getRestartableDataMapName (const RestartableDataMapName &name) const |
| const DataNames & | getRecoverableData () const |
| std::vector< std::filesystem::path > | backup (const std::filesystem::path &folder_base) |
| std::unique_ptr< Backup > | backup () |
| virtual void | preBackup () |
| void | restore (const std::filesystem::path &folder_base, const bool for_restart) |
| void | restore (std::unique_ptr< Backup > backup, const bool for_restart) |
| virtual void | postRestore (const bool) |
| void | restoreFromInitialBackup (const bool for_restart) |
| std::unique_ptr< Backup > | finalizeRestore () |
| virtual std::string | header () const |
| unsigned int | multiAppLevel () const |
| unsigned int | multiAppNumber () const |
| bool | isUltimateMaster () const |
| bool | useMasterMesh () const |
| const MooseMesh * | masterMesh () const |
| const MooseMesh * | masterDisplacedMesh () const |
| MeshGeneratorSystem & | getMeshGeneratorSystem () |
| ChainControlDataSystem & | getChainControlDataSystem () |
| void | addMeshGenerator (const std::string &type, const std::string &name, const InputParameters ¶ms) |
| bool | hasMeshGenerator (const MeshGeneratorName &name) const |
| const MeshGenerator & | getMeshGenerator (const std::string &name) const |
| std::unique_ptr< MeshBase > | getMeshGeneratorMesh () |
| std::vector< std::string > | getMeshGeneratorNames () const |
| const MeshGenerator & | appendMeshGenerator (const std::string &type, const std::string &name, InputParameters params) |
| virtual bool | constructingMeshGenerators () const |
| bool | checkInput () const |
| bool | getFPTrapFlag () const |
| bool | hasRelationshipManager (const std::string &name) const |
| bool | addRelationshipManager (std::shared_ptr< RelationshipManager > relationship_manager) |
| std::filesystem::path | restartFolderBase (const std::filesystem::path &folder_base) const |
| const hit::Node * | getCurrentActionHitNode () const |
| void | attachRelationshipManagers (Moose::RelationshipManagerType rm_type, bool attach_geometric_rm_final=false) |
| void | attachRelationshipManagers (MeshBase &mesh, MooseMesh &moose_mesh) |
| const std::vector< std::shared_ptr< RelationshipManager > > & | getReleationshipManagers () |
| std::vector< std::pair< std::string, std::string > > | getRelationshipManagerInfo () const |
| const ExecFlagEnum & | getExecuteOnEnum () const |
| bool | hasInitialBackup () const |
| bool | defaultAutomaticScaling () const |
| const std::shared_ptr< libMesh::Parallel::Communicator > | getCommunicator () const |
| const std::set< std::shared_ptr< RelationshipManager > > & | relationshipManagers () const |
| void | checkMetaDataIntegrity () const |
| virtual bool | errorOnJacobianNonzeroReallocation () const |
| void | registerInterfaceObject (T &interface) |
| const std::vector< T *> & | getInterfaceObjects () const |
| bool | forceRestart () const |
| bool | unusedFlagIsWarning () const |
| bool | unusedFlagIsError () const |
| void | setMFEMDevice (const std::string &device_string, Moose::PassKey< MFEMProblemSolve >) |
| std::shared_ptr< mfem::Device > | getMFEMDevice (Moose::PassKey< MultiApp >) |
| const std::set< std::string > & | getMFEMDevices (Moose::PassKey< MultiApp >) const |
| bool | isKokkosAvailable () const |
| bool | hasKokkosObjects () const |
| void | allocateKokkosMemoryPool (std::size_t size, unsigned int ways) const |
| const Moose::Kokkos::MemoryPool & | getKokkosMemoryPool () const |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr) const |
| SolutionInvalidity & | solutionInvalidity () |
| const SolutionInvalidity & | solutionInvalidity () const |
| SolutionInvalidity & | solutionInvalidity () |
| const SolutionInvalidity & | solutionInvalidity () const |
| const Parser & | parser () const |
| Parser & | parser () |
| const Parser & | parser () const |
| Parser & | parser () |
| bool | hasRestartRecoverFileBase () const |
| bool | hasRestartRecoverFileBase () const |
| bool | hasRecoverFileBase () const |
| bool | hasRecoverFileBase () const |
| std::string | getRestartRecoverFileBase () const |
| std::string | getRestartRecoverFileBase () const |
| std::string | getRecoverFileBase () const |
| std::string | getRecoverFileBase () const |
| void | dynamicAllRegistration (const std::string &app_name, Factory *factory, ActionFactory *action_factory, Syntax *syntax, std::string library_path, const std::string &library_name) |
| void | dynamicAllRegistration (const std::string &app_name, Factory *factory, ActionFactory *action_factory, Syntax *syntax, std::string library_path, const std::string &library_name) |
| void | dynamicAppRegistration (const std::string &app_name, std::string library_path, const std::string &library_name, bool lib_load_deps) |
| void | dynamicAppRegistration (const std::string &app_name, std::string library_path, const std::string &library_name, bool lib_load_deps) |
| const std::vector< RestartableDataMap > & | getRestartableData () const |
| std::vector< RestartableDataMap > & | getRestartableData () |
| const std::vector< RestartableDataMap > & | getRestartableData () const |
| std::vector< RestartableDataMap > & | getRestartableData () |
| void | setRestart (bool value) |
| void | setRestart (bool value) |
| void | setRecover (bool value) |
| void | setRecover (bool value) |
| auto | getRestartableDataMapBegin () |
| auto | getRestartableDataMapBegin () |
| auto | getRestartableDataMapEnd () |
| auto | getRestartableDataMapEnd () |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
Static Public Member Functions | |
| static void | registerApps () |
| static void | registerAll (Factory &f, ActionFactory &af, Syntax &s) |
| static InputParameters | validParams () |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node) |
| static const std::string & | checkpointSuffix () |
| static std::filesystem::path | metaDataFolderBase (const std::filesystem::path &folder_base, const std::string &map_suffix) |
| static void | addAppParam (InputParameters ¶ms) |
| static void | addInputParam (InputParameters ¶ms) |
Public Attributes | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const std::string | MASS_FLOW_RATE = "mdot" |
| mass flow rate More... | |
| static const std::string | SURFACE_AREA = "S" |
| surface area More... | |
| static const std::string | SUM_CROSSFLOW = "SumWij" |
| sum of diversion crossflow More... | |
| static const std::string | PRESSURE = "P" |
| pressure More... | |
| static const std::string | PRESSURE_DROP = "DP" |
| pressure drop More... | |
| static const std::string | ENTHALPY = "h" |
| enthalpy More... | |
| static const std::string | TEMPERATURE = "T" |
| temperature More... | |
| static const std::string | PIN_TEMPERATURE = "Tpin" |
| pin temperature More... | |
| static const std::string | PIN_DIAMETER = "Dpin" |
| pin diameter More... | |
| static const std::string | DENSITY = "rho" |
| density More... | |
| static const std::string | VISCOSITY = "mu" |
| viscosity More... | |
| static const std::string | WETTED_PERIMETER = "w_perim" |
| wetted perimeter More... | |
| static const std::string | LINEAR_HEAT_RATE = "q_prime" |
| linear heat rate More... | |
| static const std::string | DUCT_HEAT_FLUX = "duct_heat_flux" |
| duct linear heat rate More... | |
| static const std::string | DUCT_TEMPERATURE = "Tduct" |
| duct temperature More... | |
| static const std::string | DISPLACEMENT = "displacement" |
| subchannel displacement More... | |
| static const RestartableDataMapName | MESH_META_DATA |
| static const std::string | MESH_META_DATA_SUFFIX |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
Protected Types | |
| enum | UNUSED_CHECK |
Protected Member Functions | |
| void | dynamicRegistration (const libMesh::Parameters ¶ms) |
| void | loadLibraryAndDependencies (const std::string &library_filename, const libMesh::Parameters ¶ms, bool load_dependencies=true) |
| void | registerRestartableNameWithFilter (const std::string &name, Moose::RESTARTABLE_FILTER filter) |
| void | errorCheck () |
| void | outputMachineReadableData (const std::string ¶m, const std::string &start_marker, const std::string &end_marker, const std::string &data) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| std::string | timedSectionName (const std::string §ion_name) const |
Static Protected Member Functions | |
| static void | addCapability (const std::string &capability, CapabilityUtils::Type value, const std::string &doc) |
| static void | addCapability (const std::string &capability, const char *value, const std::string &doc) |
| static void | addCapability (const std::string &capability, CapabilityUtils::Type value, const std::string &doc) |
| static void | addCapability (const std::string &capability, const char *value, const std::string &doc) |
Application used when running the subchannel module directly.
Definition at line 17 of file SubChannelApp.h.
| SubChannelApp::SubChannelApp | ( | const InputParameters & | parameters | ) |
Definition at line 46 of file SubChannelApp.C.
|
static |
Definition at line 52 of file SubChannelApp.C.
Referenced by SubChannelTestApp::registerAll(), CombinedApp::registerAll(), ModulesApp::registerAll(), ModulesApp::registerAllObjects(), SubChannelApp(), and SubChannelApp__registerAll().
|
static |
Definition at line 66 of file SubChannelApp.C.
Referenced by SubChannelTestApp::registerApps(), CombinedApp::registerApps(), ModulesApp::registerApps(), and SubChannelApp__registerApps().
|
static |
Definition at line 37 of file SubChannelApp.C.
Referenced by SubChannelTestApp::validParams().
|
static |
density
Definition at line 47 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
subchannel displacement
Definition at line 59 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
duct linear heat rate
Definition at line 55 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
duct temperature
Definition at line 57 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
enthalpy
Definition at line 39 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
linear heat rate
Definition at line 53 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
mass flow rate
Definition at line 29 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
pin diameter
Definition at line 45 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
pin temperature
Definition at line 43 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
pressure
Definition at line 35 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
pressure drop
Definition at line 37 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
sum of diversion crossflow
Definition at line 33 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
surface area
Definition at line 31 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
temperature
Definition at line 41 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
viscosity
Definition at line 49 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
|
static |
wetted perimeter
Definition at line 51 of file SubChannelApp.h.
Referenced by SubChannelAddVariablesAction::act(), and SubChannel1PhaseProblem::initialSetup().
1.8.14