A simple component for solid wall BC. More...
#include <SolidWall.h>
Public Types | |
enum | EEndType { IN, OUT } |
End type. More... | |
enum | EComponentSetupStatus { CREATED, MESH_PREPARED, INITIALIZED_PRIMARY, INITIALIZED_SECONDARY, CHECKED } |
Component setup status type. More... | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
SolidWall (const InputParameters ¶ms) | |
const UserObjectName & | getFluidPropertiesName () const |
Gets the name of fluid properties used in all flow connections. More... | |
const std::vector< Connection > & | getConnections () const |
Returns the vector of connections of this component. More... | |
const std::vector< std::string > & | getConnectedComponentNames () const |
Returns a list of names of components that are connected to this component. More... | |
const std::vector< SubdomainName > & | getConnectedSubdomainNames () const |
Gets the vector of connected subdomain names. More... | |
virtual const std::vector< dof_id_type > & | getNodeIDs () const |
Gets the list of boundary nodes connected to this component. More... | |
const std::vector< BoundaryName > & | getBoundaryNames () const |
Gets the boundary names for this component. More... | |
std::string | stringify (EComponentSetupStatus status) const |
Return a string for the setup status. More... | |
const std::string & | cname () const |
Get the component name. More... | |
Component * | parent () |
const THMMesh & | constMesh () const |
Const reference to mesh, which can be called at any point. More... | |
THMMesh & | mesh () |
Non-const reference to THM mesh, which can only be called before the end of mesh setup. More... | |
THMProblem & | getTHMProblem () const |
Gets the THM problem. More... | |
template<typename T > | |
bool | hasParam (const std::string &name) const |
Test if a parameter exists in the object's input parameters. More... | |
const std::vector< std::string > & | getDependencies () const |
Returns a list of names of components that this component depends upon. More... | |
void | executeInit () |
Wrapper function for init() that marks the function as being called. More... | |
void | executeInitSecondary () |
Wrapper function for initSecondary() that marks the function as being called. More... | |
void | executeCheck () const |
Wrapper function for check() that marks the function as being called. More... | |
void | executeSetupMesh () |
Wrapper function for setupMesh() that marks the function as being called. More... | |
virtual void | addRelationshipManagers (Moose::RelationshipManagerType) |
Adds relationship managers for the component. More... | |
virtual void | addVariables () |
virtual void | addMooseObjects () |
template<typename T > | |
const T & | getComponent (const std::string &name) const |
Return a reference to a component via a parameter name. More... | |
template<typename T > | |
const T & | getComponentByName (const std::string &cname) const |
Return a reference to a component given its name. More... | |
template<typename T > | |
bool | hasComponent (const std::string &name) const |
Check the existence and type of a component via a parameter name. More... | |
template<typename T > | |
bool | hasComponentByName (const std::string &cname) const |
Check the existence and type of a component given its name. More... | |
void | connectObject (const InputParameters ¶ms, const std::string &mooseName, const std::string &name) const |
Connect with control logic. More... | |
void | connectObject (const InputParameters ¶ms, const std::string &mooseName, const std::string &name, const std::string &par_name) const |
Connect with control logic. More... | |
void | makeFunctionControllableIfConstant (const FunctionName &fn_name, const std::string &control_name, const std::string ¶m="value") const |
Makes a function controllable if it is constant. More... | |
void | checkSetupStatus (const EComponentSetupStatus &status) const |
Throws an error if the supplied setup status of this component has not been reached. More... | |
void | checkComponentExistsByName (const std::string &comp_name) const |
Checks that a component exists. More... | |
template<typename T > | |
void | checkComponentOfTypeExists (const std::string ¶m) const |
Checks that the component of a certain type exists, where the name is given by a parameter. More... | |
template<typename T > | |
void | checkComponentOfTypeExistsByName (const std::string &comp_name) const |
Checks that the component of a certain type exists. More... | |
template<typename... Args> | |
void | logError (Args &&... args) const |
Logs an error. More... | |
template<typename... Args> | |
void | logWarning (Args &&... args) const |
Logs a warning. More... | |
void | addDependency (const std::string &dependency) |
Adds a component name to the list of dependencies. More... | |
template<typename T > | |
T | getEnumParam (const std::string ¶m) const |
Gets an enum parameter. More... | |
bool | problemIsTransient () const |
Whether the problem is transient. More... | |
const std::vector< dof_id_type > & | getElementIDs () const |
Gets the element IDs corresponding to this component. More... | |
virtual const std::vector< SubdomainName > & | getSubdomainNames () const |
Gets the subdomain names for this component. More... | |
virtual const std::vector< Moose::CoordinateSystemType > & | getCoordSysTypes () const |
Gets the coordinate system types for this component. More... | |
virtual bool | enabled () const |
std::shared_ptr< MooseObject > | getSharedPtr () |
std::shared_ptr< const MooseObject > | getSharedPtr () const |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
virtual const std::string & | name () const |
std::string | typeAndName () const |
std::string | errorPrefix (const std::string &error_type) const |
void | callMooseError (std::string msg, const bool with_prefix) const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () 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 & | 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 &nm) 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 |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
void | mooseError (Args &&... args) const |
void | mooseErrorNonPrefixed (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
void | mooseWarning (Args &&... args) const |
void | mooseWarningNonPrefixed (Args &&... args) const |
void | mooseDeprecated (Args &&... args) const |
void | mooseInfo (Args &&... args) const |
std::string | getDataFileName (const std::string ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
template<typename... Args> | |
void | logComponentError (const std::string &component_name, Args &&... args) const |
Logs an error for a component. More... | |
template<typename... Args> | |
void | logComponentWarning (const std::string &component_name, Args &&... args) const |
Logs a warning for a component. More... | |
std::string | genName (const std::string &prefix, unsigned int id, const std::string &suffix="") const |
Build a name from a prefix, number and possible suffix. More... | |
std::string | genName (const std::string &prefix, unsigned int i, unsigned int j, const std::string &suffix="") const |
Build a name from a prefix, 2 numbers and possible suffix. More... | |
std::string | genName (const std::string &prefix, const std::string &name, unsigned int i) const |
Build a name from 2 strings and a number. More... | |
std::string | genName (const std::string &prefix, const std::string &middle, const std::string &suffix="") const |
Build a name from strings. More... | |
std::string | genSafeName (const std::string &prefix, const std::string &middle, const std::string &suffix="") const |
Build a name from strings that is safe to use in input files (i.e. More... | |
Static Public Member Functions | |
static InputParameters | validParams () |
static std::string | deduceFunctorName (const std::string &name, const InputParameters ¶ms) |
Public Attributes | |
const ConsoleStream | _console |
Static Public Attributes | |
static const std::map< std::string, EEndType > | _end_type_to_enum {{"IN", IN}, {"OUT", OUT}} |
Map of end type string to enum. More... | |
Protected Member Functions | |
virtual void | init () override |
Initializes the component. More... | |
virtual void | check () const override |
Check the component integrity. More... | |
virtual void | setupMesh () override |
Performs mesh setup such as creating mesh or naming mesh sets. More... | |
void | addConnection (const BoundaryName &boundary_name) |
Adds a connection for this component. More... | |
void | checkNumberOfConnections (const unsigned int &n_connections) const |
Checks that the number of connections is equal to the supplied value. More... | |
template<typename T > | |
void | checkSizeEqualsNumberOfConnections (const std::string ¶m) const |
Checks that the size of a vector parameter equals the number of connections. More... | |
template<typename T > | |
void | checkAllConnectionsHaveSame (const std::vector< T > &objects, const std::string &description) const |
Checks that all connections have the same of a certain type of object. More... | |
virtual void | initSecondary () |
Perform secondary initialization, which relies on init() being called for all components. More... | |
void | addRelationshipManagersFromParameters (const InputParameters &moose_object_pars) |
Method to add a relationship manager for the objects being added to the system. More... | |
Node * | addNode (const Point &pt) |
Elem * | addNodeElement (dof_id_type node) |
virtual void | setSubdomainInfo (SubdomainID subdomain_id, const std::string &subdomain_name, const Moose::CoordinateSystemType &coord_system=Moose::COORD_XYZ) |
Sets the next subdomain ID, name, and coordinate system. More... | |
template<typename T > | |
void | insistParameterExists (const std::string &function_name, const std::string ¶m_name) const |
Runtime check to make sure that a parameter of specified type exists in the component's input parameters. More... | |
template<typename T > | |
void | checkParameterValueLessThan (const std::string ¶m, const T &value_max) const |
Checks that a parameter value is less than a value. More... | |
template<typename T > | |
void | checkSizeLessThan (const std::string ¶m, const unsigned int &n_entries) const |
Checks that the size of a vector parameter is less than a value. More... | |
template<typename T > | |
void | checkSizeGreaterThan (const std::string ¶m, const unsigned int &n_entries) const |
Checks that the size of a vector parameter is greater than a value. More... | |
template<typename T1 , typename T2 > | |
void | checkEqualSize (const std::string ¶m1, const std::string ¶m2) const |
Checks that the size of two vector parameters are equal. More... | |
template<typename T > | |
void | checkSizeEqualsValue (const std::string ¶m, const unsigned int &n_entries) const |
Checks that the size of a vector parameter equals a value. More... | |
template<typename T > | |
void | checkSizeEqualsValue (const std::string ¶m, const unsigned int &n_entries, const std::string &description) const |
Checks that the size of a vector parameter equals a value. More... | |
template<typename T1 , typename T2 > | |
void | checkSizeEqualsParameterValue (const std::string ¶m1, const std::string ¶m2) const |
Checks that the size of a vector parameter equals the value of another parameter. More... | |
void | checkMutuallyExclusiveParameters (const std::vector< std::string > ¶ms, bool need_one_specified=true) const |
Checks that exactly one parameter out of a list is provided. More... | |
template<typename T > | |
void | passParameter (const std::string &name, const std::string &new_name, InputParameters ¶ms) const |
Passes a parameter from this object's input parameters to another set of input parameters. More... | |
template<typename T > | |
void | passParameter (const std::string &name, InputParameters ¶ms) const |
Passes a parameter from this object's input parameters to another set of input parameters. More... | |
std::string | deduceFunctorName (const std::string &name) const |
const Moose::Functor< T > & | getFunctor (const std::string &name) |
const Moose::Functor< T > & | getFunctor (const std::string &name, THREAD_ID tid) |
const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem) |
const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem, THREAD_ID tid) |
bool | isFunctor (const std::string &name) const |
bool | isFunctor (const std::string &name, const SubProblem &subproblem) const |
Moose::ElemArg | makeElemArg (const Elem *elem, bool correct_skewnewss=false) const |
void | checkFunctorSupportsSideIntegration (const std::string &name, bool qp_integration) |
Protected Attributes | |
THM::FlowModelID | _flow_model_id |
Flow model ID. More... | |
std::shared_ptr< const FlowModel > | _flow_model |
Flow model. More... | |
UserObjectName | _fp_name |
Fluid property user object name. More... | |
std::string | _connected_component_name |
Name of the connected component. More... | |
EEndType | _connected_component_end_type |
End type of the connected component. More... | |
const Elem * | _elem |
Element. More... | |
unsigned short int | _side |
Side ID. More... | |
dof_id_type | _node |
Node ID. More... | |
Real | _normal |
Outward normal on this boundary. More... | |
BoundaryName | _input |
Name of the boundary this component attaches to. More... | |
std::vector< Point > | _positions |
Physical positions of connected components. More... | |
std::vector< const Elem * > | _elems |
Boundary elements of connected components. More... | |
std::vector< unsigned short int > | _sides |
Boundary sides of connected components. More... | |
std::vector< dof_id_type > | _nodes |
Boundary node IDs from connected components. More... | |
std::vector< unsigned int > | _boundary_ids |
Boundary IDs of connected components. More... | |
std::vector< BoundaryName > | _boundary_names |
Boundary names of connected components. More... | |
std::vector< Real > | _normals |
Outward normals associated with connected components. More... | |
std::vector< RealVectorValue > | _directions |
Directions of connected components. More... | |
std::vector< Connection > | _connections |
Vector of connections of this component. More... | |
std::vector< std::string > | _connected_component_names |
Vector of connected component names. More... | |
std::vector< SubdomainName > | _connected_subdomain_names |
Vector of subdomain names of the connected components. More... | |
Component * | _parent |
Pointer to a parent component (used in composed components) More... | |
THMProblem & | _sim |
THM problem this component is part of TODO: make _sim private (applications need to switch to getters to avoid breaking). More... | |
Factory & | _factory |
The Factory associated with the MooseApp. More... | |
const Real & | _zero |
THMMesh & | _mesh |
The THM mesh TODO: make _mesh private (applications need to switch to getters to avoid breaking) More... | |
std::vector< dof_id_type > | _node_ids |
Node IDs of this component. More... | |
std::vector< dof_id_type > | _elem_ids |
Element IDs of this component. More... | |
std::vector< SubdomainID > | _subdomain_ids |
List of subdomain IDs this components owns. More... | |
std::vector< SubdomainName > | _subdomain_names |
List of subdomain names this components owns. More... | |
std::vector< Moose::CoordinateSystemType > | _coord_sys |
List of coordinate system for each subdomain. More... | |
const bool & | _enabled |
MooseApp & | _app |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
ActionFactory & | _action_factory |
const Parallel::Communicator & | _communicator |
Logger & | _log |
|
inherited |
Component setup status type.
Definition at line 36 of file Component.h.
|
inherited |
SolidWall::SolidWall | ( | const InputParameters & | params | ) |
Definition at line 23 of file SolidWall.C.
|
protectedinherited |
Adds a connection for this component.
Components using this interface must call this function on all of their connection strings.
[in] | boundary_name | The name of the boundary |
Definition at line 100 of file Component1DConnection.C.
Referenced by Component1DBoundary::Component1DBoundary(), Component1DJunction::Component1DJunction(), ShaftConnectedCompressor1Phase::ShaftConnectedCompressor1Phase(), ShaftConnectedPump1Phase::ShaftConnectedPump1Phase(), and ShaftConnectedTurbine1Phase::ShaftConnectedTurbine1Phase().
|
inherited |
Adds a component name to the list of dependencies.
[in] | dependency | name of component to add to list of dependencies |
Definition at line 129 of file Component.C.
Referenced by Component1DConnection::addConnection(), HeatTransferBase::HeatTransferBase(), HeatTransferFromHeatStructure3D1Phase::HeatTransferFromHeatStructure3D1Phase(), HSCoupler2D2DRadiation::HSCoupler2D2DRadiation(), HSCoupler2D3D::HSCoupler2D3D(), and Shaft::Shaft().
|
inlinevirtualinherited |
Reimplemented in FlowChannelBase, FileMeshPhysicsComponent, JunctionOneToOne1Phase, HSBoundaryExternalAppHeatFlux, FlowChannel1Phase, HeatStructureFromFile3D, HeatTransferFromHeatStructure1Phase, HeatStructureBase, HeatTransferBase, HeatTransferFromHeatStructure3D1Phase, HSCoupler2D2DRadiation, HSCoupler2D3D, SimpleTurbine1Phase, FormLoss1PhaseBase, HeatTransferFromExternalAppHeatFlux1Phase, HSBoundaryExternalAppConvection, ShaftConnectedCompressor1Phase, ShaftConnectedMotor, ShaftConnectedPump1Phase, ShaftConnectedTurbine1Phase, FormLossFromExternalApp1Phase, FreeBoundary1Phase, GateValve1Phase, HeatSourceVolumetric1Phase, HeatTransferFromExternalAppTemperature1Phase, HeatTransferFromSpecifiedTemperature1Phase, HeatTransferFromTemperature1Phase, HSBoundaryExternalAppTemperature, Shaft, TotalPower, VolumeJunction1Phase, FormLossFromFunction1Phase, HeatSourceFromPowerDensity, HeatSourceFromTotalPower, HeatStructure2DCoupler, HeatStructure2DRadiationCouplerRZ, HeatTransfer1PhaseBase, HeatTransferFromHeatFlux1Phase, HSBoundaryAmbientConvection, HSBoundaryHeatFlux, HSBoundaryRadiation, HSBoundarySpecifiedTemperature, InletDensityVelocity1Phase, InletMassFlowRateTemperature1Phase, InletStagnationEnthalpyMomentum1Phase, InletStagnationPressureTemperature1Phase, InletVelocityTemperature1Phase, Outlet1Phase, SolidWall1Phase, SupersonicInlet, and InletFunction1Phase.
Definition at line 114 of file Component.h.
Referenced by HeatStructure2DCoupler::addMooseObjects(), and HeatStructure2DRadiationCouplerRZ::addMooseObjects().
|
protectedinherited |
Definition at line 213 of file Component.C.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), FileMeshComponent::buildMesh(), ElbowPipe1Phase::buildMeshNodes(), Component1D::buildMeshNodes(), and VolumeJunction1Phase::setupMesh().
|
protectedinherited |
Definition at line 221 of file Component.C.
Referenced by VolumeJunction1Phase::setupMesh().
|
inlinevirtualinherited |
Adds relationship managers for the component.
Reimplemented in FileMeshPhysicsComponent.
Definition at line 110 of file Component.h.
|
protectedinherited |
Method to add a relationship manager for the objects being added to the system.
Relationship managers have to be added relatively early. In many cases before the Action::act() method is called.
This method was copied from Action.
moose_object_pars | The MooseObject to inspect for RelationshipManagers to add |
Definition at line 158 of file Component.C.
Referenced by FileMeshPhysicsComponent::addRelationshipManagers().
|
inlinevirtualinherited |
Reimplemented in FlowChannelBase, FileMeshPhysicsComponent, HSBoundaryExternalAppHeatFlux, HeatStructureFromFile3D, HeatTransferFromHeatStructure1Phase, HeatStructureBase, HeatTransferBase, HeatTransferFromHeatStructure3D1Phase, SimpleTurbine1Phase, HeatTransferFromExternalAppHeatFlux1Phase, HSBoundaryExternalAppConvection, ShaftConnectedCompressor1Phase, ShaftConnectedMotor, ShaftConnectedPump1Phase, ShaftConnectedTurbine1Phase, FormLossFromExternalApp1Phase, HeatTransferFromExternalAppTemperature1Phase, HeatTransferFromSpecifiedTemperature1Phase, HeatTransferFromTemperature1Phase, HSBoundaryExternalAppTemperature, Shaft, TotalPower, TotalPowerBase, and VolumeJunction1Phase.
Definition at line 112 of file Component.h.
|
overrideprotectedvirtualinherited |
Check the component integrity.
Reimplemented from Component1DBoundary.
Reimplemented in InletDensityVelocity1Phase, InletMassFlowRateTemperature1Phase, InletStagnationEnthalpyMomentum1Phase, InletStagnationPressureTemperature1Phase, InletVelocityTemperature1Phase, Outlet1Phase, SupersonicInlet, and FlowBoundary1Phase.
Definition at line 43 of file FlowBoundary.C.
Referenced by FlowBoundary1Phase::check().
|
protectedinherited |
Checks that all connections have the same of a certain type of object.
T | type of object to check |
[in] | objects | list of objects corresponding to each connection |
[in] | description | description of the obect to check |
Definition at line 177 of file Component1DConnection.h.
|
inherited |
Checks that a component exists.
[in] | comp_name | name of the component |
Definition at line 151 of file Component.C.
|
inherited |
Checks that the component of a certain type exists, where the name is given by a parameter.
T | enforced type of component |
[in] | param | parameter name for component name |
Definition at line 585 of file Component.h.
|
inherited |
Checks that the component of a certain type exists.
T | enforced type of component |
[in] | comp_name | component name |
Definition at line 595 of file Component.h.
|
protectedinherited |
Checks that the size of two vector parameters are equal.
T1 | type of element in the first vector parameter |
T2 | type of element in the second vector parameter |
[in] | param1 | first parameter name |
[in] | param2 | second parameter name |
Definition at line 651 of file Component.h.
|
protectedinherited |
Checks that exactly one parameter out of a list is provided.
[in] | params | vector of parameter names |
[in] | need_one_specified | Need one of the parameters specified? |
Definition at line 246 of file Component.C.
Referenced by HeatStructureCylindrical::check(), and HeatStructurePlate::check().
|
protectedinherited |
Checks that the number of connections is equal to the supplied value.
[in] | n_connections | enforced number of connections |
Definition at line 136 of file Component1DConnection.C.
Referenced by GateValve1Phase::check(), Component1DBoundary::check(), and JunctionOneToOne1Phase::check().
|
protectedinherited |
Checks that a parameter value is less than a value.
T | type of parameter |
[in] | param | parameter name |
[in] | value_max | value which parameter value must be less than |
Definition at line 608 of file Component.h.
|
inherited |
Throws an error if the supplied setup status of this component has not been reached.
This is useful for getter functions that rely on data initialized after the constructor; if an error is not thrown, then uninitialized data could be returned from these functions.
[in] | status | Setup status that this component must have reached |
Definition at line 117 of file Component.C.
Referenced by FlowChannelBase::getAreaFunctionName(), Component2D::getBoundaryArea(), FileMeshComponent::getBoundaryInfo(), Component2D::getBoundaryInfo(), Component1DConnection::getBoundaryNames(), Component1D::getConnections(), Component::getCoordSysTypes(), Component::getElementIDs(), Component2D::getExternalBoundaryName(), Component2D::getExternalBoundaryType(), FlowChannelBase::getFlowModel(), FlowBoundary::getFluidPropertiesName(), FlowJunction::getFluidPropertiesName(), HeatTransferBase::getFluidPropertiesName(), HeatTransferBase::getHeatedPerimeterName(), FlowChannelBase::getHeatTransferNames(), FlowChannelBase::getHeatTransferNamesSuffix(), Component1DConnection::getNodeIDs(), Component::getNodeIDs(), Component1D::getNodesetID(), Component1D::getNodesetName(), Component::getSubdomainNames(), HeatTransfer1PhaseBase::getWallHeatTransferCoefficient1PhaseName(), HeatTransferBase::getWallTemperatureMatName(), HeatTransferBase::getWallTemperatureName(), FileMeshComponent::hasBoundary(), Component2D::hasBoundary(), Component2D::hasExternalBoundary(), and HeatStructureFromFile3D::hasRegion().
|
protectedinherited |
Checks that the size of a vector parameter equals the number of connections.
T | type of element in the vector parameter |
[in] | param | vector parameter name |
Definition at line 162 of file Component1DConnection.h.
|
protectedinherited |
Checks that the size of a vector parameter equals the value of another parameter.
T1 | type of element in the vector parameter |
T2 | type of the parameter whose value is compared to size |
[in] | param1 | vector parameter name |
[in] | param2 | name of parameter whose value is compared to size |
Definition at line 709 of file Component.h.
|
protectedinherited |
Checks that the size of a vector parameter equals a value.
This version does not supply a description to the value.
T | type of element in the vector parameter |
[in] | param | parameter name |
[in] | n_entries | value which parameter size must be equal to |
Definition at line 672 of file Component.h.
|
protectedinherited |
Checks that the size of a vector parameter equals a value.
This version supplies a description to the value.
T | type of element in the vector parameter |
[in] | param | parameter name |
[in] | n_entries | value which parameter size must be equal to |
[in] | description | description of the value that size must be equal to |
Definition at line 688 of file Component.h.
|
protectedinherited |
Checks that the size of a vector parameter is greater than a value.
T | type of element in the vector parameter |
[in] | param | parameter name |
[in] | n_entries | value which parameter size must be greater than |
Definition at line 635 of file Component.h.
|
protectedinherited |
Checks that the size of a vector parameter is less than a value.
T | type of element in the vector parameter |
[in] | param | parameter name |
[in] | n_entries | value which parameter size must be less than |
Definition at line 619 of file Component.h.
|
inherited |
Get the component name.
Definition at line 51 of file Component.C.
Referenced by ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), Closures1PhaseSimple::checkFlowChannel(), Closures1PhaseSimple::checkHeatTransfer(), Component::cname(), Component::logError(), and Component::logWarning().
|
inherited |
Connect with control logic.
Definition at line 98 of file Component.C.
Referenced by HeatSourceFromTotalPower::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), TotalPower::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), Closures1PhaseTHM::addWallFFMaterial(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), GeometricalComponent::getVariableFn(), FlowModel::getVariableFn(), and Component::makeFunctionControllableIfConstant().
|
inherited |
Connect with control logic.
Definition at line 106 of file Component.C.
|
inlineinherited |
Const reference to mesh, which can be called at any point.
Note that overloading mesh() was not possible due to the need to call this const version, even when the component is not const.
Definition at line 62 of file Component.h.
Referenced by FileMeshPhysicsComponent::getMesh(), and Component1DJunction::initSecondary().
|
inherited |
Wrapper function for check()
that marks the function as being called.
Definition at line 84 of file Component.C.
|
inherited |
Wrapper function for init()
that marks the function as being called.
Definition at line 70 of file Component.C.
|
inherited |
Wrapper function for initSecondary()
that marks the function as being called.
Definition at line 77 of file Component.C.
|
inherited |
Wrapper function for setupMesh()
that marks the function as being called.
Definition at line 91 of file Component.C.
|
inlineinherited |
Build a name from a prefix, number and possible suffix.
Definition at line 29 of file NamingInterface.h.
Referenced by Closures1PhaseBase::addAverageWallTemperatureMaterial(), FlowModel::addCommonInitialConditions(), FlowModel::addCommonMooseObjects(), FlowChannelBase::addCommonObjects(), Simulation::addComponentScalarIC(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), Simulation::addConstantIC(), Simulation::addConstantScalarIC(), Simulation::addFunctionIC(), HeatTransferBase::addHeatedPerimeter(), HeatConductionModel::addHeatEquationRZ(), HeatConductionModel::addHeatEquationXYZ(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1Phase::addHydraulicDiameterMaterial(), FlowModelSinglePhase::addInitialConditions(), HeatConductionModel::addMaterials(), FormLossFromFunction1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), Shaft::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), HeatTransferBase::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), FlowModelSinglePhase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), FlowChannelBase::addMooseObjects(), FunctorClosures::addMooseObjectsFlowChannel(), Closures1PhaseSimple::addMooseObjectsHeatTransfer(), FlowModelSinglePhase::addRDGAdvectionDGKernels(), FlowModelSinglePhase::addRDGMooseObjects(), Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial(), FlowChannelBase::addVariables(), Closures1PhaseTHM::addWallFFMaterial(), Closures1PhaseBase::addWallFrictionFunctionMaterial(), Closures1PhaseTHM::addWallHTCMaterial(), ClosuresBase::addWallTemperatureFromAuxMaterial(), Closures1PhaseSimple::addWallTemperatureFromHeatFluxMaterial(), FlowBoundary1Phase::addWeakBC3Eqn(), ClosuresBase::addWeightedAverageMaterial(), ClosuresBase::addZeroMaterial(), Component2D::buildMesh(), FileMeshComponent::buildMesh(), Component1D::buildMesh(), HeatSourceBase::HeatSourceBase(), VolumeJunction1Phase::junctionVariableName(), and Simulation::setupInitialConditionsFromFile().
|
inlineinherited |
Build a name from a prefix, 2 numbers and possible suffix.
Definition at line 41 of file NamingInterface.h.
|
inlineinherited |
|
inlineinherited |
Build a name from strings.
Definition at line 66 of file NamingInterface.h.
|
inlineinherited |
Build a name from strings that is safe to use in input files (i.e.
can be exposed to users)
Definition at line 80 of file NamingInterface.h.
Referenced by HSBoundaryAmbientConvection::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), and HSBoundaryExternalAppHeatFlux::addMooseObjects().
|
inherited |
Gets the boundary names for this component.
Definition at line 151 of file Component1DConnection.C.
Referenced by FlowBoundary1Phase::addWeakBC3Eqn().
|
inherited |
Return a reference to a component via a parameter name.
T | the type of the component we are requesting |
name | The parameter name that has the component name |
Definition at line 506 of file Component.h.
|
inherited |
Return a reference to a component given its name.
T | the type of the component we are requesting |
cname | The name of the component |
Definition at line 514 of file Component.h.
|
inlineinherited |
Returns a list of names of components that are connected to this component.
Definition at line 63 of file Component1DConnection.h.
Referenced by Simulation::identifyLoops().
|
inlineinherited |
Gets the vector of connected subdomain names.
Definition at line 71 of file Component1DConnection.h.
|
inlineinherited |
Returns the vector of connections of this component.
Definition at line 56 of file Component1DConnection.h.
Referenced by GateValve1Phase::check(), Component1DBoundary::Component1DBoundary(), JunctionOneToOne1Phase::init(), and Component1DJunction::setupMesh().
|
virtualinherited |
Gets the coordinate system types for this component.
Definition at line 315 of file Component.C.
|
inlineinherited |
Returns a list of names of components that this component depends upon.
Definition at line 85 of file Component.h.
|
inherited |
Gets the element IDs corresponding to this component.
Definition at line 299 of file Component.C.
Referenced by HeatTransferFromHeatStructure3D1Phase::setupMesh().
|
inherited |
Gets an enum parameter.
This function takes the name of a MooseEnum parameter that is tied to an enum defined in THM. If the value is invalid, an error will be logged, and a negative integer will be cast into the enum type.
T | enum type |
[in] | param | name of the MooseEnum parameter |
Definition at line 539 of file Component.h.
|
inherited |
Gets the name of fluid properties used in all flow connections.
Definition at line 51 of file FlowBoundary.C.
|
virtualinherited |
Gets the list of boundary nodes connected to this component.
Definition at line 143 of file Component1DConnection.C.
|
virtualinherited |
Gets the subdomain names for this component.
Definition at line 307 of file Component.C.
Referenced by Closures1PhaseBase::addAverageWallTemperatureMaterial(), FlowModel::addCommonInitialConditions(), FlowModel::addCommonMooseObjects(), FlowChannelBase::addCommonObjects(), FlowModel::addCommonVariables(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatConductionModel::addHeatEquationRZ(), HeatConductionModel::addHeatEquationXYZ(), FlowChannel1Phase::addHydraulicDiameterMaterial(), FlowModelSinglePhase::addInitialConditions(), HeatConductionModel::addInitialConditions(), VolumeJunction1Phase::addJunctionIC(), VolumeJunction1Phase::addJunctionVariable(), HeatConductionModel::addMaterials(), HeatSourceVolumetric1Phase::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), FlowModelSinglePhase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), FlowChannelBase::addMooseObjects(), FunctorClosures::addMooseObjectsFlowChannel(), Closures1PhaseSimple::addMooseObjectsHeatTransfer(), FlowModelSinglePhase::addRDGAdvectionDGKernels(), FlowModelSinglePhase::addRDGMooseObjects(), Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial(), HSBoundaryExternalAppTemperature::addVariables(), FlowModelSinglePhase::addVariables(), HSBoundaryExternalAppConvection::addVariables(), HSBoundaryExternalAppHeatFlux::addVariables(), HeatConductionModel::addVariables(), FlowChannelBase::addVariables(), Closures1PhaseTHM::addWallFFMaterial(), Closures1PhaseBase::addWallFrictionFunctionMaterial(), Closures1PhaseTHM::addWallHTCMaterial(), ClosuresBase::addWallTemperatureFromAuxMaterial(), Closures1PhaseSimple::addWallTemperatureFromHeatFluxMaterial(), ClosuresBase::addWeightedAverageMaterial(), ClosuresBase::addZeroMaterial(), FileMeshPhysicsComponent::getBlocks(), FormLoss1PhaseBase::init(), FileMeshPhysicsComponent::init(), HeatTransferFromHeatStructure3D1Phase::init(), HeatTransferBase::init(), and Component1DConnection::init().
|
inherited |
Gets the THM problem.
Definition at line 135 of file Component.C.
Referenced by FlowChannelBase::addCommonObjects(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatTransferBase::addHeatedPerimeter(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1Phase::addHydraulicDiameterMaterial(), VolumeJunction1Phase::addJunctionIC(), VolumeJunction1Phase::addJunctionVariable(), FormLossFromFunction1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), InletFunction1Phase::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), SolidWall1Phase::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), FreeBoundary1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), Shaft::addMooseObjects(), TotalPower::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedMotor::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), HeatTransferBase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), HeatStructureBase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), FlowChannelBase::addMooseObjects(), TotalPowerBase::addVariables(), VolumeJunction1Phase::addVariables(), HeatTransferFromExternalAppTemperature1Phase::addVariables(), HeatTransferFromSpecifiedTemperature1Phase::addVariables(), TotalPower::addVariables(), HeatTransferFromTemperature1Phase::addVariables(), HSBoundaryExternalAppTemperature::addVariables(), Shaft::addVariables(), FormLossFromExternalApp1Phase::addVariables(), HeatTransferFromExternalAppHeatFlux1Phase::addVariables(), HSBoundaryExternalAppConvection::addVariables(), HeatTransferFromHeatStructure3D1Phase::addVariables(), HeatTransferFromHeatStructure1Phase::addVariables(), HSBoundaryExternalAppHeatFlux::addVariables(), FlowChannelBase::addVariables(), FlowBoundary1Phase::addWeakBC3Eqn(), FlowChannel1Phase::buildFlowModel(), HeatStructureInterface::buildModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), Shaft::check(), VolumeJunction1Phase::check(), FlowChannel1Phase::check(), HeatStructureInterface::check(), GeometricalComponent::getVariableFn(), FlowJunction1Phase::init(), FlowBoundary1Phase::init(), FlowJunction::init(), FlowBoundary::init(), FlowChannel1Phase::init(), Component1DConnection::init(), FlowChannelBase::init(), Component::problemIsTransient(), HeatStructure2DCouplerBase::setupMesh(), GateValve1Phase::setupMesh(), HSCoupler2D2DRadiation::setupMesh(), HSCoupler2D3D::setupMesh(), JunctionOneToOne1Phase::setupMesh(), HeatTransferFromHeatStructure1Phase::setupMesh(), VolumeJunction1Phase::setupMesh(), and HeatTransferFromHeatStructure3D1Phase::setupMesh().
|
inherited |
Check the existence and type of a component via a parameter name.
T | the type of the component we are requesting |
name | The parameter name that has the component name |
Definition at line 521 of file Component.h.
|
inherited |
Check the existence and type of a component given its name.
T | the type of the component we are requesting |
cname | The name of the component |
Definition at line 529 of file Component.h.
|
inherited |
Test if a parameter exists in the object's input parameters.
name | The name of the parameter |
Definition at line 499 of file Component.h.
|
overrideprotectedvirtualinherited |
Initializes the component.
The reason this function exists (as opposed to just having everything in the constructor) is because some initialization depends on all components existing, since many components couple to other components. Therefore, when deciding whether code should go into the constructor or this function, one should use the following reasoning: if an operation does not require the existence of other components, then put that operation in the constructor; otherwise, put it in this function.
Reimplemented from Component1DConnection.
Reimplemented in FlowBoundary1Phase.
Definition at line 26 of file FlowBoundary.C.
Referenced by FlowBoundary1Phase::init().
|
inlineprotectedvirtualinherited |
Perform secondary initialization, which relies on init() being called for all components.
Reimplemented in FlowChannelBase, HeatTransferBase, HeatTransferFromHeatStructure3D1Phase, HeatTransfer1PhaseBase, HeatTransferFromExternalAppTemperature1Phase, and Component1DJunction.
Definition at line 296 of file Component.h.
Referenced by Component::executeInitSecondary(), Component1DJunction::initSecondary(), HeatTransferFromHeatStructure3D1Phase::initSecondary(), HeatTransferBase::initSecondary(), and FlowChannelBase::initSecondary().
|
protectedinherited |
Runtime check to make sure that a parameter of specified type exists in the component's input parameters.
This is intended to help developers write code. The idea is to provide a useful message when developers make typos, etc. If this check fails, the code execution will be stopped.
T | The type of the parameter to be checked |
function_name | The name of the function calling this method |
param_name | The name of the parameter to be checked |
Definition at line 570 of file Component.h.
|
inlineinherited |
Logs an error for a component.
[in] | component_name | Name of the component |
Definition at line 47 of file LoggingInterface.h.
Referenced by Closures1PhaseSimple::checkFlowChannel(), Closures1PhaseSimple::checkHeatTransfer(), and Component::logError().
|
inlineinherited |
Logs a warning for a component.
[in] | component_name | Name of the component |
Definition at line 67 of file LoggingInterface.h.
Referenced by Component::logWarning().
|
inlineinherited |
Logs an error.
Definition at line 215 of file Component.h.
Referenced by Component1DConnection::addConnection(), HSBoundary::check(), HeatSourceBase::check(), Component1DJunction::check(), HeatStructure2DCoupler::check(), InletStagnationEnthalpyMomentum1Phase::check(), SupersonicInlet::check(), InletMassFlowRateTemperature1Phase::check(), InletVelocityTemperature1Phase::check(), HSBoundaryExternalAppHeatFlux::check(), InletDensityVelocity1Phase::check(), InletStagnationPressureTemperature1Phase::check(), Outlet1Phase::check(), HeatTransferFromExternalAppTemperature1Phase::check(), HeatStructure2DRadiationCouplerRZ::check(), GeneratedMeshComponent::check(), HeatStructure2DCouplerBase::check(), Shaft::check(), HSCoupler2D2DRadiation::check(), HSCoupler2D3D::check(), HeatTransferFromHeatStructure1Phase::check(), VolumeJunction1Phase::check(), HeatTransferFromHeatStructure3D1Phase::check(), FlowChannel1Phase::check(), HeatStructureInterface::check(), Component2D::check(), FlowChannelBase::check(), HSBoundary::checkAllComponent2DBoundariesAreExternal(), Component1DConnection::checkAllConnectionsHaveSame(), Component::checkComponentExistsByName(), Component::checkComponentOfTypeExistsByName(), Component::checkEqualSize(), Component::checkMutuallyExclusiveParameters(), Component1DConnection::checkNumberOfConnections(), Component::checkParameterValueLessThan(), Component1DConnection::checkSizeEqualsNumberOfConnections(), Component::checkSizeEqualsParameterValue(), Component::checkSizeEqualsValue(), Component::checkSizeGreaterThan(), Component::checkSizeLessThan(), ElbowPipe1Phase::ElbowPipe1Phase(), FreeBoundary::FreeBoundary(), GateValve::GateValve(), Component::getEnumParam(), HeatTransferFromHeatStructure3D1Phase::getFlowChannelAxisAlignment(), HeatGeneration::HeatGeneration(), HeatSourceVolumetric::HeatSourceVolumetric(), HeatStructureFromFile3D::HeatStructureFromFile3D(), HeatTransferFromHeatStructure3D1Phase::init(), FlowChannel1Phase::init(), Component1DConnection::init(), HeatTransfer1PhaseBase::initSecondary(), JunctionOneToOne::JunctionOneToOne(), LoggerTestComponent::LoggerTestComponent(), PrescribedReactorPower::PrescribedReactorPower(), Component1DConnection::setupMesh(), and SolidWall().
|
inlineinherited |
Logs a warning.
Definition at line 224 of file Component.h.
Referenced by GateValve1Phase::check(), LoggerTestComponent::LoggerTestComponent(), and VolumeJunction1Phase::VolumeJunction1Phase().
|
inherited |
Makes a function controllable if it is constant.
[in] | fn_name | name of the function |
[in] | control_name | name of control parameter |
[in] | param | name of controlled parameter |
Definition at line 141 of file Component.C.
Referenced by FlowModel::addCommonInitialConditions(), FlowChannelBase::addCommonObjects(), HeatTransferBase::addHeatedPerimeter(), FlowChannel1Phase::addHydraulicDiameterMaterial(), HSBoundarySpecifiedTemperature::addMooseObjects(), ShaftConnectedMotor::addMooseObjects(), Closures1PhaseSimple::addMooseObjectsHeatTransfer(), HeatTransferFromSpecifiedTemperature1Phase::addVariables(), and Closures1PhaseBase::addWallFrictionFunctionMaterial().
|
inherited |
Non-const reference to THM mesh, which can only be called before the end of mesh setup.
Definition at line 60 of file Component.C.
Referenced by GeometricalComponent::addElement(), GeometricalComponent::addElementEdge2(), GeometricalComponent::addElementEdge3(), GeometricalComponent::addElementQuad4(), GeometricalComponent::addElementQuad9(), Component::addNode(), Component::addNodeElement(), Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), Component2D::buildMesh(), FileMeshComponent::buildMesh(), Component1D::buildMesh(), Component::setSubdomainInfo(), Component1DBoundary::setupMesh(), Component1DJunction::setupMesh(), GeneratedMeshComponent::setupMesh(), VolumeJunction1Phase::setupMesh(), and FileMeshComponent::setupMesh().
|
inlineinherited |
Definition at line 54 of file Component.h.
|
protectedinherited |
Passes a parameter from this object's input parameters to another set of input parameters.
T | the type of the parameter to be passed |
name[in] | name the name of this object's parameter |
new_name[in] | new_name the name of the corresponding parameters in params |
params[in,out] | params the parameters to which the parameter will be passed |
Definition at line 54 of file THMObject.h.
|
protectedinherited |
Passes a parameter from this object's input parameters to another set of input parameters.
This version overloads the other by assuming that the parameter has the same name.
T | the type of the parameter to be passed |
name[in] | name the name of the parameter |
params[in,out] | params the parameters to which the parameter will be passed |
Definition at line 64 of file THMObject.h.
|
inlineinherited |
Whether the problem is transient.
Definition at line 252 of file Component.h.
Referenced by HeatConductionModel::addHeatEquationRZ(), HeatConductionModel::addHeatEquationXYZ(), and FlowModelSinglePhase::addMooseObjects().
|
protectedvirtualinherited |
Sets the next subdomain ID, name, and coordinate system.
[in] | subdomain_id | subdomain index |
[in] | subdomain_name | name of the new subdomain |
[in] | coord_system | type of coordinate system |
Definition at line 229 of file Component.C.
Referenced by Component2D::buildMesh(), FileMeshComponent::buildMesh(), Component1D::buildMesh(), and VolumeJunction1Phase::setupMesh().
|
overrideprotectedvirtualinherited |
Performs mesh setup such as creating mesh or naming mesh sets.
Reimplemented from Component1DConnection.
Definition at line 34 of file Component1DBoundary.C.
|
inherited |
Return a string for the setup status.
Definition at line 271 of file Component.C.
Referenced by Component::checkSetupStatus().
|
static |
Definition at line 15 of file SolidWall.C.
|
protectedinherited |
Boundary IDs of connected components.
Definition at line 141 of file Component1DConnection.h.
Referenced by Component1DConnection::setupMesh().
|
protectedinherited |
Boundary names of connected components.
Definition at line 143 of file Component1DConnection.h.
Referenced by GateValve1Phase::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), Component1DConnection::getBoundaryNames(), and Component1DConnection::setupMesh().
|
protectedinherited |
End type of the connected component.
Definition at line 29 of file Component1DBoundary.h.
Referenced by Component1DBoundary::Component1DBoundary().
|
protectedinherited |
Name of the connected component.
Definition at line 27 of file Component1DBoundary.h.
Referenced by FlowBoundary1Phase::check(), FlowBoundary::check(), Component1DBoundary::Component1DBoundary(), FlowBoundary1Phase::init(), and FlowBoundary::init().
|
protectedinherited |
Vector of connected component names.
Definition at line 152 of file Component1DConnection.h.
Referenced by Component1DConnection::addConnection(), FlowJunction1Phase::check(), FlowJunction::check(), Component1DConnection::check(), and Component1DConnection::getConnectedComponentNames().
|
protectedinherited |
Vector of subdomain names of the connected components.
Definition at line 154 of file Component1DConnection.h.
Referenced by Component1DConnection::getConnectedSubdomainNames(), and Component1DConnection::init().
|
protectedinherited |
Vector of connections of this component.
Definition at line 150 of file Component1DConnection.h.
Referenced by Component1DConnection::addConnection(), Component1DJunction::check(), Component1DConnection::checkNumberOfConnections(), Component1DConnection::checkSizeEqualsNumberOfConnections(), Component1DConnection::getConnections(), FlowJunction1Phase::init(), FlowJunction::init(), FlowBoundary::init(), Component1DConnection::init(), and Component1DConnection::setupMesh().
|
protectedinherited |
List of coordinate system for each subdomain.
Definition at line 464 of file Component.h.
Referenced by Component::getCoordSysTypes(), and Component::setSubdomainInfo().
|
protectedinherited |
Directions of connected components.
Definition at line 147 of file Component1DConnection.h.
Referenced by JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), and Component1DConnection::setupMesh().
|
protectedinherited |
Element.
Definition at line 32 of file Component1DBoundary.h.
Referenced by Component1DBoundary::setupMesh().
|
protectedinherited |
Element IDs of this component.
Definition at line 457 of file Component.h.
Referenced by GeometricalComponent::addElement(), GeometricalComponent::addElementEdge2(), GeometricalComponent::addElementEdge3(), GeometricalComponent::addElementQuad4(), GeometricalComponent::addElementQuad9(), Component::addNodeElement(), Component1D::buildMesh(), and Component::getElementIDs().
|
protectedinherited |
Boundary elements of connected components.
Definition at line 135 of file Component1DConnection.h.
Referenced by Component1DBoundary::setupMesh(), and Component1DConnection::setupMesh().
|
staticinherited |
Map of end type string to enum.
Definition at line 29 of file Component1DConnection.h.
Referenced by THM::stringToEnum().
|
protectedinherited |
The Factory associated with the MooseApp.
Definition at line 446 of file Component.h.
Referenced by FlowChannelBase::addCommonObjects(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatTransferBase::addHeatedPerimeter(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1Phase::addHydraulicDiameterMaterial(), HSBoundaryRadiation::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), Outlet1Phase::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), SolidWall1Phase::addMooseObjects(), InletFunction1Phase::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), FormLossFromFunction1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), FreeBoundary1Phase::addMooseObjects(), Shaft::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), ShaftConnectedMotor::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HeatTransferBase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), FlowChannelBase::addMooseObjects(), Component::addRelationshipManager(), FlowChannelBase::addVariables(), FlowBoundary1Phase::addWeakBC3Eqn(), FlowChannel1Phase::buildFlowModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), and VolumeJunction1Phase::buildVolumeJunctionUserObject().
|
protectedinherited |
Flow model.
Definition at line 36 of file FlowBoundary.h.
Referenced by InletDensityVelocity1Phase::check(), Outlet1Phase::check(), InletMassFlowRateTemperature1Phase::check(), InletStagnationPressureTemperature1Phase::check(), InletVelocityTemperature1Phase::check(), and FlowBoundary::init().
|
protectedinherited |
|
protectedinherited |
Fluid property user object name.
Definition at line 38 of file FlowBoundary.h.
Referenced by InletDensityVelocity1Phase::addMooseObjects(), InletFunction1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), FreeBoundary1Phase::addMooseObjects(), FlowBoundary::getFluidPropertiesName(), and FlowBoundary::init().
|
protectedinherited |
Name of the boundary this component attaches to.
Definition at line 40 of file Component1DBoundary.h.
Referenced by Component1DBoundary::Component1DBoundary().
|
protectedinherited |
Definition at line 73 of file LoggingInterface.h.
Referenced by LoggingInterface::logComponentError(), LoggingInterface::logComponentWarning(), LoggingInterface::logError(), and LoggingInterface::logWarning().
|
protectedinherited |
The THM mesh TODO: make _mesh private (applications need to switch to getters to avoid breaking)
Definition at line 452 of file Component.h.
Referenced by Component::addRelationshipManager(), Component::constMesh(), and Component::mesh().
|
protectedinherited |
Node ID.
Definition at line 36 of file Component1DBoundary.h.
Referenced by Component1DBoundary::setupMesh().
|
protectedinherited |
Node IDs of this component.
Definition at line 455 of file Component.h.
Referenced by Component::addNode(), Component1D::buildMesh(), Component::getNodeIDs(), GeneratedMeshComponent::setupMesh(), and FileMeshComponent::setupMesh().
|
protectedinherited |
Boundary node IDs from connected components.
Definition at line 139 of file Component1DConnection.h.
Referenced by Component1DConnection::getNodeIDs(), Component1DJunction::setupMesh(), Component1DBoundary::setupMesh(), and Component1DConnection::setupMesh().
|
protectedinherited |
Outward normal on this boundary.
Definition at line 38 of file Component1DBoundary.h.
Referenced by InletDensityVelocity1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), SolidWall1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), FlowBoundary1Phase::addWeakBC3Eqn(), and Component1DBoundary::setupMesh().
|
protectedinherited |
Outward normals associated with connected components.
Definition at line 145 of file Component1DConnection.h.
Referenced by GateValve1Phase::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), Component1DBoundary::setupMesh(), and Component1DConnection::setupMesh().
|
protectedinherited |
Pointer to a parent component (used in composed components)
Definition at line 438 of file Component.h.
Referenced by HeatStructureBase::addMooseObjects(), Component::cname(), Component::parent(), and Component::setSubdomainInfo().
|
protectedinherited |
Physical positions of connected components.
Definition at line 133 of file Component1DConnection.h.
Referenced by Component1DConnection::setupMesh().
|
protectedinherited |
Side ID.
Definition at line 34 of file Component1DBoundary.h.
Referenced by Component1DBoundary::setupMesh().
|
protectedinherited |
Boundary sides of connected components.
Definition at line 137 of file Component1DConnection.h.
Referenced by Component1DBoundary::setupMesh(), and Component1DConnection::setupMesh().
|
protectedinherited |
THM problem this component is part of TODO: make _sim private (applications need to switch to getters to avoid breaking).
Also, rename to "_thm_problem" at that point.
Definition at line 443 of file Component.h.
Referenced by Component::checkComponentExistsByName(), Component::checkComponentOfTypeExistsByName(), Component::getComponentByName(), Component::getTHMProblem(), Component::hasComponentByName(), and Component::makeFunctionControllableIfConstant().
|
protectedinherited |
List of subdomain IDs this components owns.
Definition at line 460 of file Component.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), and Component::setSubdomainInfo().
|
protectedinherited |
List of subdomain names this components owns.
Definition at line 462 of file Component.h.
Referenced by Component::getSubdomainNames(), and Component::setSubdomainInfo().
|
protectedinherited |
Definition at line 448 of file Component.h.