A base class for flow channels. More...
#include <FlowChannelBase.h>
Public Types | |
enum | EConvHeatTransGeom { PIPE, ROD_BUNDLE, HEX_ROD_BUNDLE } |
Type of convective heat transfer geometry. More... | |
enum | EPipeType { STRAIGHT, CURVED, DOWNCOMER } |
Pipe type. More... | |
enum | EPipeLocation { INTERIOR, EDGE, CORNER } |
Pipe location. More... | |
enum | EComponentSetupStatus { CREATED, MESH_PREPARED, INITIALIZED_PRIMARY, INITIALIZED_SECONDARY, CHECKED } |
Component setup status type. More... | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
FlowChannelBase (const InputParameters ¶ms) | |
virtual void | addVariables () override |
virtual void | addMooseObjects () override |
virtual const Real & | getGravityAngle () const |
Gets the gravity angle for this component. More... | |
const UserObjectName & | getFluidPropertiesName () const |
Gets the name of the fluid properties user object for this component. More... | |
virtual const THM::FlowModelID & | getFlowModelID () const =0 |
Gets the flow model ID. More... | |
virtual std::shared_ptr< const FlowModel > | getFlowModel () const |
const FunctionName & | getAreaFunctionName () const |
Get the name of the function describing the flow channel area. More... | |
virtual FunctionName | createAreaFunctionAndGetName () |
Creates the area function if needed and then stores the name. More... | |
EConvHeatTransGeom | getHeatTransferGeometry () const |
Gets heat transfer geometry. More... | |
EPipeLocation | getPipeLocation () const |
Gets the pipe location. More... | |
std::vector< std::string > | getHeatTransferNames () const |
Gets the names of all connected heat transfer components. More... | |
bool | getTemperatureMode () const |
Gets temperature mode flag. More... | |
unsigned int | getNumberOfHeatTransferConnections () const |
Gets the number of heat transfer connections. More... | |
std::vector< VariableName > | getHeatedPerimeterNames () const |
Gets heated perimeter names for connected heat transfers. More... | |
std::vector< VariableName > | getWallTemperatureNames () const |
Gets wall temperature names for connected heat transfers. More... | |
std::vector< MaterialPropertyName > | getWallTemperatureMatNames () const |
std::vector< MaterialPropertyName > | getWallHeatFluxNames () const |
Gets wall heat flux names for connected heat transfers. More... | |
void | addHeatTransferName (const std::string &ht_name) const |
Adds the name of a heat transfer component to the flow channel's list. More... | |
std::string | getHeatTransferNamesSuffix (const std::string &ht_name) const |
Gets suffix to add to heat-transfer-related names in a heat transfer component. More... | |
std::vector< std::shared_ptr< ClosuresBase > > | getClosuresObjects () const |
Get the used closures object(s) More... | |
virtual void | buildMesh () override |
unsigned int | getNodesetID () const |
Gets the 1D component nodeset ID. More... | |
const BoundaryName & | getNodesetName () const |
Gets the 1D component nodeset name. More... | |
virtual const std::vector< Connection > & | getConnections (Component1DConnection::EEndType end_type) const |
Gets the vector of connections of an end type 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... | |
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 > & | getNodeIDs () const |
Gets the node IDs corresponding to this component. 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 * | 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 &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... | |
virtual Point | getPosition () const |
virtual RealVectorValue | getDirection () const |
virtual Real | getRotation () const |
virtual Real | getNumElems () const |
virtual Real | getLength () const |
Real | computeAxialCoordinate (const Point &p) const |
Real | computeRadialCoordinate (const Point &p) const |
unsigned int | getAxialSectionIndex (const Point &p) const |
unsigned int | getAxialElementIndex (const Point &p_center) const |
Point | computeRealPointFromReferencePoint (const Point &p) const |
Computes point in 3-D space from a point in reference space. More... | |
Point | computeReferencePointFromRealPoint (const Point &p) const |
Computes point in reference space from a point in 3-D space. More... | |
MooseEnum | getAlignmentAxis () const |
Gets an axis MooseEnum for the axis the component is aligned with. More... | |
std::vector< Real > | getElementBoundaryCoordinates () const |
Gets the element boundary coordinates for the aligned axis. More... | |
Real | getGravityMagnitude () const |
Gets gravity magnitude. More... | |
Static Public Member Functions | |
static MooseEnum | getConvHeatTransGeometry (const std::string &name) |
Gets a MooseEnum for convective heat transfer geometry type. More... | |
static MooseEnum | getPipeType (const std::string &name) |
Gets a MooseEnum for pipe type. More... | |
static MooseEnum | getPipeLocation (const std::string &name) |
Gets a MooseEnum for pipe location. More... | |
static InputParameters | validParams () |
static std::string | deduceFunctorName (const std::string &name, const InputParameters ¶ms) |
static Point | computeRealPointFromReferencePoint (const Point &p, const RealVectorValue &position, const RealTensorValue &R, const RealTensorValue &Rx) |
Computes point in 3-D space from a point in reference space. More... | |
static Point | computeReferencePointFromRealPoint (const Point &p, const RealVectorValue &position, const RealTensorValue &R_inv, const RealTensorValue &Rx_inv) |
Computes point in reference space from a point in 3-D space. More... | |
static MooseEnum | getAlignmentAxis (const RealVectorValue &dir) |
Gets an axis MooseEnum for the axis the component is aligned with. More... | |
static std::vector< Real > | getElementBoundaryCoordinates (const RealVectorValue &position, const RealVectorValue &orientation, const Real &rotation, const std::vector< Real > &lengths, const std::vector< unsigned int > &n_elems) |
Gets the element boundary coordinates for the aligned axis. More... | |
static RealTensorValue | computeDirectionTransformationTensor (const RealVectorValue &dir) |
Computes the direction transformation tensor. More... | |
static RealTensorValue | computeXRotationTransformationTensor (const Real &rotation) |
Computes the rotation transformation tensor. More... | |
Public Attributes | |
const ConsoleStream | _console |
Static Public Attributes | |
static const std::map< std::string, EConvHeatTransGeom > | _heat_transfer_geom_to_enum |
Map of convective heat transfer geometry type to enum. More... | |
static const std::map< std::string, EPipeType > | _pipe_type_to_enum |
Map of pipe type to enum. More... | |
static const std::map< std::string, EPipeLocation > | _pipe_location_to_enum |
Map of pipe location to enum. More... | |
Protected Member Functions | |
virtual std::shared_ptr< FlowModel > | buildFlowModel ()=0 |
virtual void | init () override |
Initializes the component. More... | |
virtual void | initSecondary () override |
Perform secondary initialization, which relies on init() being called for all components. More... | |
virtual void | check () const override |
Check the component integrity. More... | |
virtual void | addCommonObjects () |
Adds objects which are common for single- and two-phase flow. More... | |
virtual void | getHeatTransferVariableNames () |
Populates heat connection variable names lists. More... | |
virtual bool | usingSecondOrderMesh () const override |
Check if second order mesh is being used by this geometrical component. More... | |
virtual void | setupMesh () override |
Performs mesh setup such as creating mesh or naming mesh sets. More... | |
Elem * | addElement (libMesh::ElemType elem_type, const std::vector< dof_id_type > &node_ids) |
Elem * | addElementEdge2 (dof_id_type node0, dof_id_type node1) |
Elem * | addElementEdge3 (dof_id_type node0, dof_id_type node1, dof_id_type node2) |
Elem * | addElementQuad4 (dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3) |
Elem * | addElementQuad9 (dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3, dof_id_type node4, dof_id_type node5, dof_id_type node6, dof_id_type node7, dof_id_type node8) |
const FunctionName & | getVariableFn (const FunctionName &fn_param_name) |
Makes a constant function parameter controllable and returns its name. 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 | |
std::shared_ptr< FlowModel > | _flow_model |
The flow model used by this flow channel. More... | |
const UserObjectName & | _fp_name |
Name of fluid properties user object. More... | |
const Real | _gravity_angle |
Angle between orientation vector and gravity vector, in degrees. More... | |
FunctionName | _area_function |
Function describing the flow channel area. More... | |
std::vector< std::shared_ptr< ClosuresBase > > | _closures_objects |
Closures object(s) More... | |
const bool & | _pipe_pars_transferred |
const Real & | _roughness |
Roughness of flow channel surface, [m]. More... | |
EConvHeatTransGeom | _HT_geometry |
Convective Heat transfer geometry. More... | |
EPipeLocation | _pipe_location |
Pipe location within the bundle. More... | |
const Real & | _PoD |
Pitch to diameter ratio for parallel bundle heat transfer. More... | |
bool | _has_PoD |
True if user provides PoD. More... | |
bool | _temperature_mode |
True if there is one or more sources specified by wall temperature. More... | |
std::vector< std::string > | _heat_transfer_names |
Names of the heat transfer components connected to this component. More... | |
unsigned int | _n_heat_transfer_connections |
Number of connected heat transfer components. More... | |
std::vector< MaterialPropertyName > | _Hw_1phase_names |
1-phase wall heat transfer coefficient names for connected heat transfers More... | |
std::vector< MaterialPropertyName > | _Hw_liquid_names |
liquid wall heat transfer coefficient names for connected heat transfers More... | |
std::vector< MaterialPropertyName > | _Hw_vapor_names |
vapor wall heat transfer coefficient names for connected heat transfers More... | |
std::vector< VariableName > | _P_hf_names |
heated perimeter names for connected heat transfers More... | |
std::vector< VariableName > | _T_wall_names |
wall temperature auxvariable names for connected heat transfers More... | |
std::vector< MaterialPropertyName > | _T_wall_mat_names |
wall temperature material names for connected heat transfers More... | |
std::vector< MaterialPropertyName > | _q_wall_names |
wall heat flux names for connected heat transfers More... | |
std::map< Component1DConnection::EEndType, std::vector< Connection > > | _connections |
Map of end type to a list of connections. More... | |
const std::vector< std::string > & | _axial_region_names |
Axial region names. More... | |
std::vector< Real > | _node_locations |
Node locations along the main axis. 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 |
const Point & | _position |
Start position of axis in 3-D space. More... | |
const RealVectorValue & | _dir_unnormalized |
Unnormalized direction of axis from start position to end position. More... | |
const RealVectorValue | _dir |
Normalized direction of axis from start position to end position. More... | |
const Real & | _rotation |
Angle of rotation about the x-axis. More... | |
std::vector< Real > | _lengths |
Length of each axial section. More... | |
Real | _length |
Total axial length. More... | |
const std::vector< unsigned int > & | _n_elems |
Number of elements in each axial section. More... | |
const unsigned int | _n_elem |
Total number of axial elements. More... | |
const unsigned int | _n_sections |
Number of axial sections. More... | |
std::vector< Real > | _section_end |
Axial coordinate of the end of each axial section using the line 'position' as the origin. More... | |
std::vector< Real > | _x_centers |
Center axial coordinate of each axial element. More... | |
const RealTensorValue | _R |
Direction transformation tensor. More... | |
const RealTensorValue | _Rx |
Rotational transformation tensor about x-axis. More... | |
const RealTensorValue | _R_inv |
Inverse direction transformation tensor. More... | |
const RealTensorValue | _Rx_inv |
Inverse rotational transformation tensor about x-axis. More... | |
const std::string | _moose_object_name_dlsi |
Name of the MOOSE object. More... | |
const RealVectorValue & | _gravity_vector |
Gravitational acceleration vector. More... | |
const Real | _gravity_magnitude |
Gravitational acceleration magnitude. More... | |
const bool | _gravity_is_zero |
Gravitational acceleration magnitude is zero? More... | |
const RealVectorValue | _gravity_direction |
Gravitational acceleration unit direction. More... | |
A base class for flow channels.
A flow channel is defined by its position, direction, length and area.
Definition at line 22 of file FlowChannelBase.h.
|
inherited |
Component setup status type.
Definition at line 36 of file Component.h.
Type of convective heat transfer geometry.
Enumerator | |
---|---|
PIPE | pipe geometry |
ROD_BUNDLE | square array rod bundle geometry |
HEX_ROD_BUNDLE | hexagonal array rod bundle geometry |
Definition at line 28 of file FlowChannelBase.h.
Pipe location.
Enumerator | |
---|---|
INTERIOR | |
EDGE | |
CORNER |
Definition at line 42 of file FlowChannelBase.h.
Pipe type.
Enumerator | |
---|---|
STRAIGHT | |
CURVED | |
DOWNCOMER |
Definition at line 35 of file FlowChannelBase.h.
FlowChannelBase::FlowChannelBase | ( | const InputParameters & | params | ) |
Definition at line 113 of file FlowChannelBase.C.
|
protectedvirtual |
Adds objects which are common for single- and two-phase flow.
Definition at line 238 of file FlowChannelBase.C.
Referenced by addMooseObjects().
|
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().
|
protectedinherited |
Definition at line 27 of file GeometricalComponent.C.
Referenced by FileMeshComponent::buildMesh().
|
protectedinherited |
Definition at line 36 of file GeometricalComponent.C.
Referenced by Component1D::buildMesh().
|
protectedinherited |
Definition at line 44 of file GeometricalComponent.C.
Referenced by Component1D::buildMesh().
|
protectedinherited |
Definition at line 52 of file GeometricalComponent.C.
Referenced by Component2D::build2DMesh().
|
protectedinherited |
Definition at line 63 of file GeometricalComponent.C.
Referenced by Component2D::build2DMesh2ndOrder().
void FlowChannelBase::addHeatTransferName | ( | const std::string & | ht_name | ) | const |
Adds the name of a heat transfer component to the flow channel's list.
This function is called from a heat transfer component to add its name to the flow channel's list, so that the flow channel can communicate with it, such as for determining variable names used in averages of heat transfer variables.
[in] | ht_name | name of the heat transfer component |
Definition at line 331 of file FlowChannelBase.C.
Referenced by HeatTransferFromHeatStructure3D1Phase::init(), and HeatTransferBase::init().
|
overridevirtual |
Reimplemented from Component.
Reimplemented in FlowChannel1PhaseBase.
Definition at line 279 of file FlowChannelBase.C.
Referenced by FlowChannel1PhaseBase::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().
|
overridevirtual |
Reimplemented from Component.
Definition at line 215 of file FlowChannelBase.C.
|
protectedpure virtual |
Implemented in FlowChannel1PhaseBase.
Referenced by init().
|
overridevirtualinherited |
Implements GeneratedMeshComponent.
Definition at line 34 of file Component1D.C.
|
overrideprotectedvirtual |
Check the component integrity.
Reimplemented from GeneratedMeshComponent.
Reimplemented in FlowChannel1PhaseBase.
Definition at line 195 of file FlowChannelBase.C.
Referenced by FlowChannel1PhaseBase::check().
|
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 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 getAreaFunctionName(), Component2D::getBoundaryArea(), FileMeshComponent::getBoundaryInfo(), Component2D::getBoundaryInfo(), Component1DConnection::getBoundaryNames(), Component1D::getConnections(), Component::getCoordSysTypes(), Component::getElementIDs(), Component2D::getExternalBoundaryName(), Component2D::getExternalBoundaryType(), getFlowModel(), FlowBoundary::getFluidPropertiesName(), FlowJunction::getFluidPropertiesName(), HeatTransferBase::getFluidPropertiesName(), HeatTransferBase::getHeatedPerimeterName(), getHeatTransferNames(), 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 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 |
Definition at line 107 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue(), DiscreteLineSegmentInterface::getAxialElementIndex(), and DiscreteLineSegmentInterface::getAxialSectionIndex().
|
staticinherited |
Computes the direction transformation tensor.
[in] | dir | Direction vector |
Definition at line 82 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
inherited |
Definition at line 125 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue().
|
inherited |
Computes point in 3-D space from a point in reference space.
[in] | p | Point in reference space |
Definition at line 163 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterface::getElementBoundaryCoordinates(), and GeneratedMeshComponent::setupMesh().
|
staticinherited |
Computes point in 3-D space from a point in reference space.
[in] | p | Point in reference space |
Definition at line 154 of file DiscreteLineSegmentInterface.C.
|
inherited |
Computes point in reference space from a point in 3-D space.
[in] | p | Point in 3-D space |
Definition at line 178 of file DiscreteLineSegmentInterface.C.
|
staticinherited |
Computes point in reference space from a point in 3-D space.
[in] | p | Point in 3-D space |
Definition at line 169 of file DiscreteLineSegmentInterface.C.
|
staticinherited |
Computes the rotation transformation tensor.
[in] | rotation | Rotation about the x-axis, in degrees |
Definition at line 97 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
inherited |
Connect with control logic.
Definition at line 98 of file Component.C.
Referenced by HeatSourceFromTotalPower::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), TotalPower::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), Closures1PhaseTHM::addWallFFMaterial(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::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().
|
virtual |
Creates the area function if needed and then stores the name.
Definition at line 151 of file FlowChannelBase.C.
Referenced by init().
|
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(), addCommonObjects(), Simulation::addComponentScalarIC(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), Simulation::addConstantIC(), Simulation::addConstantScalarIC(), FlowModel1PhaseBase::addDensityAux(), FlowModelSinglePhase::addDensityIC(), FlowModelGasMix::addDensityIC(), FlowModel1PhaseBase::addEnergyGravityKernel(), FlowModelSinglePhase::addFluidPropertiesMaterials(), FlowModelGasMix::addFluidPropertiesMaterials(), FlowModel1PhaseBase::addFunctionIC(), Simulation::addFunctionIC(), HeatTransferBase::addHeatedPerimeter(), HeatConductionModel::addHeatEquationRZ(), HeatConductionModel::addHeatEquationXYZ(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), FlowModelGasMix::addMassDiffusionEnergyDGKernel(), FlowModelGasMix::addMassDiffusionSpeciesDGKernel(), FlowModelGasMix::addMassFractionAux(), HeatConductionModel::addMaterials(), FlowModel1PhaseBase::addMomentumAreaGradientKernel(), FlowModel1PhaseBase::addMomentumFrictionKernel(), FlowModel1PhaseBase::addMomentumGravityKernel(), FormLossFromFunction1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), Shaft::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), HeatTransferBase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), addMooseObjects(), FunctorClosures::addMooseObjectsFlowChannel(), Closures1PhaseSimple::addMooseObjectsHeatTransfer(), FlowModelSinglePhase::addPressureAux(), FlowModelGasMix::addPressureAux(), FlowModelSinglePhase::addRDGAdvectionDGKernels(), FlowModelGasMix::addRDGAdvectionDGKernels(), FlowModel1PhaseBase::addRhoAIC(), FlowModelSinglePhase::addRhoEAIC(), FlowModelGasMix::addRhoEAIC(), FlowModel1PhaseBase::addRhoUAIC(), FlowModelSinglePhase::addSlopeReconstructionMaterial(), FlowModelGasMix::addSlopeReconstructionMaterial(), FlowModel1PhaseBase::addSpecificInternalEnergyAux(), FlowModel1PhaseBase::addSpecificInternalEnergyIC(), FlowModel1PhaseBase::addSpecificTotalEnthalpyAux(), FlowModel1PhaseBase::addSpecificTotalEnthalpyIC(), FlowModel1PhaseBase::addSpecificVolumeAux(), FlowModel1PhaseBase::addSpecificVolumeIC(), FlowModelSinglePhase::addTemperatureAux(), FlowModelGasMix::addTemperatureAux(), Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial(), FlowModel1PhaseBase::addTimeDerivativeKernelIfTransient(), addVariables(), FlowModel1PhaseBase::addVelocityAux(), FlowModel1PhaseBase::addVelocityIC(), VolumeJunction1Phase::addVolumeJunctionIC(), Closures1PhaseTHM::addWallFFMaterial(), Closures1PhaseBase::addWallFrictionFunctionMaterial(), Closures1PhaseTHM::addWallHTCMaterial(), ClosuresBase::addWallTemperatureFromAuxMaterial(), Closures1PhaseSimple::addWallTemperatureFromHeatFluxMaterial(), FlowBoundary1Phase::addWeakBCs(), FlowBoundaryGasMix::addWeakBCs(), ClosuresBase::addWeightedAverageMaterial(), FlowModelGasMix::addXiRhoAIC(), ClosuresBase::addZeroMaterial(), Component2D::buildMesh(), FileMeshComponent::buildMesh(), Component1D::buildMesh(), HeatSourceBase::HeatSourceBase(), 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 an axis MooseEnum for the axis the component is aligned with.
If the axis does not align with the x, y, or z axis, then an invalid MooseEnum is returned.
Definition at line 198 of file DiscreteLineSegmentInterface.C.
Referenced by CoupledHeatTransferAction::addUserObjects(), CoupledHeatTransferAction::CoupledHeatTransferAction(), and DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
staticinherited |
Gets an axis MooseEnum for the axis the component is aligned with.
If the axis does not align with the x, y, or z axis, then an invalid MooseEnum is returned.
Definition at line 184 of file DiscreteLineSegmentInterface.C.
const FunctionName & FlowChannelBase::getAreaFunctionName | ( | ) | const |
Get the name of the function describing the flow channel area.
Definition at line 143 of file FlowChannelBase.C.
Referenced by FlowModel::addCommonInitialConditions(), and HeatTransferBase::init().
|
inherited |
Definition at line 143 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue().
|
inherited |
Definition at line 132 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue().
|
inline |
Get the used closures object(s)
Definition at line 185 of file FlowChannelBase.h.
Referenced by HeatTransferFromHeatStructure3D1Phase::init(), and HeatTransferBase::init().
|
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.
|
virtualinherited |
Gets the vector of connections of an end type for this component.
[in] | end_type | end type for the connections to get |
Definition at line 156 of file Component1D.C.
Referenced by Component1DJunction::setupMesh(), and Component1DConnection::setupMesh().
|
static |
Gets a MooseEnum for convective heat transfer geometry type.
[in] | name | default value |
Definition at line 30 of file FlowChannelBase.C.
Referenced by validParams().
|
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.
|
inlinevirtualinherited |
Definition at line 28 of file DiscreteLineSegmentInterface.h.
Referenced by HeatConductionModel::addHeatEquationRZ(), HeatStructure2DCoupler::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::getFlowChannelAxisAlignment(), and Component1DConnection::setupMesh().
|
inherited |
Gets the element boundary coordinates for the aligned axis.
Definition at line 254 of file DiscreteLineSegmentInterface.C.
Referenced by CoupledHeatTransferAction::addUserObjects().
|
staticinherited |
Gets the element boundary coordinates for the aligned axis.
[in] | position | Start position of axis in 3-D space |
[in] | orientation | Direction of axis from start position to end position |
[in] | rotation | Angle of rotation about the x-axis, in degrees |
[in] | lengths | Length of each axial section |
[in] | n_elems | Number of elements in each axial section |
Definition at line 204 of file DiscreteLineSegmentInterface.C.
|
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.
|
virtual |
Definition at line 135 of file FlowChannelBase.C.
Referenced by TestSetupStatusComponent::init(), FlowJunction::init(), and FlowBoundary::init().
|
pure virtual |
Gets the flow model ID.
Implemented in FlowChannel1Phase, and FlowChannelGasMix.
Referenced by Simulation::identifyLoops(), FlowBoundary::init(), FlowJunction::init(), and HeatTransferBase::init().
|
inline |
Gets the name of the fluid properties user object for this component.
Definition at line 68 of file FlowChannelBase.h.
Referenced by FlowBoundary::init(), FlowJunction::init(), and HeatTransferBase::init().
|
inlinevirtual |
Gets the gravity angle for this component.
Definition at line 63 of file FlowChannelBase.h.
|
inlineinherited |
Gets gravity magnitude.
Definition at line 26 of file GravityInterface.h.
|
inline |
Gets heated perimeter names for connected heat transfers.
Definition at line 142 of file FlowChannelBase.h.
Referenced by Closures1PhaseBase::addAverageWallTemperatureMaterial(), and Closures1PhaseSimple::addMooseObjectsFlowChannel().
|
inline |
Gets heat transfer geometry.
Definition at line 117 of file FlowChannelBase.h.
Referenced by Closures1PhaseTHM::addWallFFMaterial(), and Closures1PhaseTHM::addWallHTCMaterial().
std::vector< std::string > FlowChannelBase::getHeatTransferNames | ( | ) | const |
Gets the names of all connected heat transfer components.
Definition at line 384 of file FlowChannelBase.C.
std::string FlowChannelBase::getHeatTransferNamesSuffix | ( | const std::string & | ht_name | ) | const |
Gets suffix to add to heat-transfer-related names in a heat transfer component.
This function is called from a heat transfer component to determine how to name its variables. If the flow channel has only one heat transfer coefficient, for example, then no suffix is returned. This function must be called after all of the heat transfer component names have been added to the flow channel's list (via addHeatTransferName()
).
[in] | ht_name | name of the heat transfer component |
Definition at line 353 of file FlowChannelBase.C.
Referenced by HeatTransfer1PhaseBase::initSecondary(), HeatTransferFromHeatStructure3D1Phase::initSecondary(), and HeatTransferBase::initSecondary().
|
protectedvirtual |
Populates heat connection variable names lists.
Reimplemented in FlowChannel1PhaseBase.
Definition at line 338 of file FlowChannelBase.C.
Referenced by addVariables(), and FlowChannel1PhaseBase::getHeatTransferVariableNames().
|
inlinevirtualinherited |
Definition at line 32 of file DiscreteLineSegmentInterface.h.
Referenced by HeatTransferFromHeatStructure1Phase::check(), and HeatTransferFromHeatStructure3D1Phase::init().
|
inherited |
Gets the node IDs corresponding to this component.
Definition at line 291 of file Component.C.
|
inherited |
Gets the 1D component nodeset ID.
Definition at line 140 of file Component1D.C.
|
inherited |
Gets the 1D component nodeset name.
Definition at line 148 of file Component1D.C.
Referenced by HeatTransferFromHeatStructure1Phase::getChannelSideName().
|
inline |
Gets the number of heat transfer connections.
Definition at line 137 of file FlowChannelBase.h.
Referenced by Closures1PhaseSimple::addMooseObjectsFlowChannel(), WallTemperature1PhaseClosures::addMooseObjectsFlowChannel(), Closures1PhaseNone::addMooseObjectsFlowChannel(), and Closures1PhaseTHM::addMooseObjectsFlowChannel().
|
inlinevirtualinherited |
Definition at line 31 of file DiscreteLineSegmentInterface.h.
Referenced by HeatTransferFromHeatStructure1Phase::check(), and HeatTransferFromHeatStructure3D1Phase::init().
|
static |
Gets a MooseEnum for pipe location.
[in] | name | default value |
Definition at line 42 of file FlowChannelBase.C.
Referenced by Closures1PhaseTHM::addWallFFMaterial().
|
inline |
Gets the pipe location.
Definition at line 122 of file FlowChannelBase.h.
Referenced by validParams().
|
static |
Gets a MooseEnum for pipe type.
[in] | name | default value |
Definition at line 36 of file FlowChannelBase.C.
|
inlinevirtualinherited |
Definition at line 27 of file DiscreteLineSegmentInterface.h.
Referenced by HeatConductionModel::addHeatEquationRZ(), HeatSourceFromTotalPower::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), and HeatTransferFromHeatStructure3D1Phase::addMooseObjects().
|
inlinevirtualinherited |
Definition at line 29 of file DiscreteLineSegmentInterface.h.
|
virtualinherited |
Gets the subdomain names for this component.
Definition at line 307 of file Component.C.
Referenced by Closures1PhaseBase::addAverageWallTemperatureMaterial(), FlowModel::addCommonInitialConditions(), FlowModel::addCommonMooseObjects(), addCommonObjects(), FlowModel::addCommonVariables(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), FlowModel1PhaseBase::addDensityAux(), FlowModelSinglePhase::addDensityIC(), FlowModelGasMix::addDensityIC(), FlowModel1PhaseBase::addEnergyGravityKernel(), FlowModelSinglePhase::addFluidPropertiesMaterials(), FlowModelGasMix::addFluidPropertiesMaterials(), FlowModel1PhaseBase::addFunctionIC(), HeatConductionModel::addHeatEquationRZ(), HeatConductionModel::addHeatEquationXYZ(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), HeatConductionModel::addInitialConditions(), VolumeJunction1Phase::addJunctionIC(), VolumeJunction1Phase::addJunctionVariable(), FlowModelGasMix::addMassDiffusionEnergyDGKernel(), FlowModelGasMix::addMassDiffusionSpeciesDGKernel(), FlowModelGasMix::addMassFractionAux(), HeatConductionModel::addMaterials(), FlowModel1PhaseBase::addMomentumAreaGradientKernel(), FlowModel1PhaseBase::addMomentumFrictionKernel(), FlowModel1PhaseBase::addMomentumGravityKernel(), HeatSourceVolumetric1Phase::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), addMooseObjects(), FunctorClosures::addMooseObjectsFlowChannel(), Closures1PhaseSimple::addMooseObjectsHeatTransfer(), FlowModelSinglePhase::addPressureAux(), FlowModelGasMix::addPressureAux(), FlowModelSinglePhase::addRDGAdvectionDGKernels(), FlowModelGasMix::addRDGAdvectionDGKernels(), FlowModel1PhaseBase::addRhoAIC(), FlowModelSinglePhase::addRhoEAIC(), FlowModelGasMix::addRhoEAIC(), FlowModel1PhaseBase::addRhoUAIC(), FlowModelSinglePhase::addSlopeReconstructionMaterial(), FlowModelGasMix::addSlopeReconstructionMaterial(), FlowModel1PhaseBase::addSpecificInternalEnergyAux(), FlowModel1PhaseBase::addSpecificInternalEnergyIC(), FlowModel1PhaseBase::addSpecificTotalEnthalpyAux(), FlowModel1PhaseBase::addSpecificTotalEnthalpyIC(), FlowModel1PhaseBase::addSpecificVolumeAux(), FlowModel1PhaseBase::addSpecificVolumeIC(), FlowModelSinglePhase::addTemperatureAux(), FlowModelGasMix::addTemperatureAux(), Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial(), FlowModel1PhaseBase::addTimeDerivativeKernelIfTransient(), HSBoundaryExternalAppTemperature::addVariables(), HSBoundaryExternalAppConvection::addVariables(), FlowModel1PhaseBase::addVariables(), FlowModelGasMix::addVariables(), HSBoundaryExternalAppHeatFlux::addVariables(), HeatConductionModel::addVariables(), addVariables(), FlowModel1PhaseBase::addVelocityAux(), FlowModel1PhaseBase::addVelocityIC(), VolumeJunction1Phase::addVolumeJunctionIC(), Closures1PhaseTHM::addWallFFMaterial(), Closures1PhaseBase::addWallFrictionFunctionMaterial(), Closures1PhaseTHM::addWallHTCMaterial(), ClosuresBase::addWallTemperatureFromAuxMaterial(), Closures1PhaseSimple::addWallTemperatureFromHeatFluxMaterial(), ClosuresBase::addWeightedAverageMaterial(), FlowModelGasMix::addXiRhoAIC(), ClosuresBase::addZeroMaterial(), FileMeshPhysicsComponent::getBlocks(), FormLoss1PhaseBase::init(), FileMeshPhysicsComponent::init(), HeatTransferFromHeatStructure3D1Phase::init(), HeatTransferBase::init(), and Component1DConnection::init().
|
inline |
Gets temperature mode flag.
Definition at line 132 of file FlowChannelBase.h.
Referenced by Closures1PhaseSimple::addMooseObjectsFlowChannel(), WallTemperature1PhaseClosures::addMooseObjectsFlowChannel(), Closures1PhaseNone::addMooseObjectsFlowChannel(), and Closures1PhaseTHM::addMooseObjectsFlowChannel().
|
inherited |
Gets the THM problem.
Definition at line 135 of file Component.C.
Referenced by addCommonObjects(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatTransferBase::addHeatedPerimeter(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), VolumeJunction1Phase::addJunctionIC(), VolumeJunction1Phase::addJunctionVariable(), FormLossFromFunction1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), InletFunction1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), Outlet1Phase::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), SolidWall1Phase::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), FreeBoundary1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), Shaft::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedMotor::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), SolidWallGasMix::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), HeatStructureBase::addMooseObjects(), HeatTransferBase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), addMooseObjects(), Shaft::addVariables(), HSBoundaryExternalAppTemperature::addVariables(), FormLossFromExternalApp1Phase::addVariables(), HeatTransferFromSpecifiedTemperature1Phase::addVariables(), TotalPowerBase::addVariables(), HeatTransferFromExternalAppTemperature1Phase::addVariables(), TotalPower::addVariables(), HeatTransferFromTemperature1Phase::addVariables(), HeatTransferFromExternalAppHeatFlux1Phase::addVariables(), HSBoundaryExternalAppConvection::addVariables(), HeatTransferFromHeatStructure3D1Phase::addVariables(), HeatTransferFromHeatStructure1Phase::addVariables(), HSBoundaryExternalAppHeatFlux::addVariables(), addVariables(), VolumeJunction1Phase::addVolumeJunctionIC(), FlowBoundary1Phase::addWeakBCs(), FlowBoundaryGasMix::addWeakBCs(), FlowChannel1PhaseBase::buildFlowModel(), HeatStructureInterface::buildModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), Shaft::check(), VolumeJunction1Phase::check(), FlowChannel1PhaseBase::check(), HeatStructureInterface::check(), FlowChannel1Phase::checkFluidProperties(), FlowChannelGasMix::checkFluidProperties(), GeometricalComponent::getVariableFn(), FlowJunction1Phase::init(), FlowBoundary1PhaseBase::init(), FlowBoundary::init(), FlowJunction::init(), Component1DConnection::init(), init(), Component::problemIsTransient(), HeatStructure2DCouplerBase::setupMesh(), GateValve1Phase::setupMesh(), HSCoupler2D3D::setupMesh(), HSCoupler2D2DRadiation::setupMesh(), HeatTransferFromHeatStructure1Phase::setupMesh(), JunctionOneToOne1Phase::setupMesh(), VolumeJunction1Phase::setupMesh(), and HeatTransferFromHeatStructure3D1Phase::setupMesh().
|
protectedinherited |
Makes a constant function parameter controllable and returns its name.
[in] | fn_param_name | FunctionName parameter |
Definition at line 79 of file GeometricalComponent.C.
|
inline |
Gets wall heat flux names for connected heat transfers.
Definition at line 153 of file FlowChannelBase.h.
Referenced by Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial().
|
inline |
Definition at line 148 of file FlowChannelBase.h.
|
inline |
Gets wall temperature names for connected heat transfers.
Definition at line 147 of file FlowChannelBase.h.
Referenced by Closures1PhaseBase::addAverageWallTemperatureMaterial(), Closures1PhaseTHM::addTemperatureWallFromHeatFluxMaterial(), Closures1PhaseTHM::addWallHTCMaterial(), and ClosuresBase::addWallTemperatureFromAuxMaterial().
|
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.
|
overrideprotectedvirtual |
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 Component.
Reimplemented in FlowChannel1PhaseBase.
Definition at line 158 of file FlowChannelBase.C.
Referenced by FlowChannel1PhaseBase::init().
|
overrideprotectedvirtual |
Perform secondary initialization, which relies on init() being called for all components.
Reimplemented from Component.
Definition at line 176 of file FlowChannelBase.C.
|
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(), InletMassFlowRateTemperature1Phase::check(), InletVelocityTemperature1Phase::check(), HeatStructure2DCoupler::check(), HSBoundaryExternalAppHeatFlux::check(), InletDensityVelocity1Phase::check(), InletStagnationEnthalpyMomentum1Phase::check(), InletStagnationPressureTemperature1Phase::check(), Outlet1Phase::check(), SupersonicInlet::check(), HeatStructure2DRadiationCouplerRZ::check(), HeatTransferFromExternalAppTemperature1Phase::check(), GeneratedMeshComponent::check(), HeatStructure2DCouplerBase::check(), Shaft::check(), HSCoupler2D2DRadiation::check(), HSCoupler2D3D::check(), HeatTransferFromHeatStructure1Phase::check(), VolumeJunction1Phase::check(), HeatTransferFromHeatStructure3D1Phase::check(), FlowChannel1PhaseBase::check(), HeatStructureInterface::check(), Component2D::check(), check(), HSBoundary::checkAllComponent2DBoundariesAreExternal(), Component1DConnection::checkAllConnectionsHaveSame(), Component::checkComponentExistsByName(), Component::checkComponentOfTypeExistsByName(), Component::checkEqualSize(), FlowChannel1Phase::checkFluidProperties(), FlowChannelGasMix::checkFluidProperties(), 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(), Component1DConnection::init(), HeatTransfer1PhaseBase::initSecondary(), JunctionOneToOne::JunctionOneToOne(), LoggerTestComponent::LoggerTestComponent(), PrescribedReactorPower::PrescribedReactorPower(), Component1DConnection::setupMesh(), and SolidWall::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(), addCommonObjects(), HeatTransferBase::addHeatedPerimeter(), FlowChannel1PhaseBase::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 FlowModel1PhaseBase::addTimeDerivativeKernelIfTransient().
|
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 Component.
Reimplemented in HeatStructureCylindricalBase.
Definition at line 38 of file GeneratedMeshComponent.C.
Referenced by HeatStructureCylindricalBase::setupMesh().
|
inherited |
Return a string for the setup status.
Definition at line 271 of file Component.C.
Referenced by Component::checkSetupStatus().
|
overrideprotectedvirtualinherited |
Check if second order mesh is being used by this geometrical component.
Implements GeneratedMeshComponent.
Definition at line 134 of file Component1D.C.
Referenced by Component1D::buildMesh().
|
static |
Definition at line 70 of file FlowChannelBase.C.
Referenced by FlowChannel1PhaseBase::validParams().
|
protected |
Function describing the flow channel area.
Definition at line 216 of file FlowChannelBase.h.
Referenced by addCommonObjects(), getAreaFunctionName(), and init().
|
protectedinherited |
Axial region names.
Definition at line 39 of file GeneratedMeshComponent.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), Component2D::buildMesh(), Component1D::buildMesh(), and GeneratedMeshComponent::GeneratedMeshComponent().
|
protected |
Closures object(s)
Definition at line 219 of file FlowChannelBase.h.
Referenced by addMooseObjects(), check(), getClosuresObjects(), and init().
|
protectedinherited |
Map of end type to a list of connections.
Definition at line 78 of file Component1D.h.
Referenced by Component1D::buildMesh(), and Component1D::getConnections().
|
protectedinherited |
List of coordinate system for each subdomain.
Definition at line 464 of file Component.h.
Referenced by Component::getCoordSysTypes(), and Component::setSubdomainInfo().
|
protectedinherited |
Normalized direction of axis from start position to end position.
Definition at line 95 of file DiscreteLineSegmentInterface.h.
Referenced by Component1D::buildMesh(), DiscreteLineSegmentInterface::computeAxialCoordinate(), DiscreteLineSegmentInterface::computeRadialCoordinate(), DiscreteLineSegmentInterface::getAlignmentAxis(), DiscreteLineSegmentInterface::getDirection(), and DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
protectedinherited |
Unnormalized direction of axis from start position to end position.
Definition at line 93 of file DiscreteLineSegmentInterface.h.
|
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 |
The Factory associated with the MooseApp.
Definition at line 446 of file Component.h.
Referenced by addCommonObjects(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatTransferBase::addHeatedPerimeter(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), FormLossFromFunction1Phase::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), SolidWall1Phase::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletFunction1Phase::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), Shaft::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), FreeBoundary1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), SolidWallGasMix::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), ShaftConnectedCompressor1Phase::addMooseObjects(), HeatTransferFromExternalAppHeatFlux1Phase::addMooseObjects(), FormLoss1PhaseBase::addMooseObjects(), ShaftConnectedMotor::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), HSBoundaryExternalAppConvection::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HeatTransferBase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), addMooseObjects(), Component::addRelationshipManager(), addVariables(), VolumeJunction1Phase::addVolumeJunctionIC(), FlowBoundary1Phase::addWeakBCs(), FlowBoundaryGasMix::addWeakBCs(), FlowChannel1PhaseBase::buildFlowModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), and VolumeJunction1Phase::buildVolumeJunctionUserObject().
|
protected |
The flow model used by this flow channel.
Definition at line 207 of file FlowChannelBase.h.
Referenced by addMooseObjects(), addVariables(), getFlowModel(), and init().
|
protected |
Name of fluid properties user object.
Definition at line 210 of file FlowChannelBase.h.
Referenced by FlowChannel1Phase::checkFluidProperties(), FlowChannelGasMix::checkFluidProperties(), and getFluidPropertiesName().
|
protected |
Angle between orientation vector and gravity vector, in degrees.
Definition at line 213 of file FlowChannelBase.h.
Referenced by getGravityAngle().
|
protectedinherited |
Gravitational acceleration unit direction.
Definition at line 36 of file GravityInterface.h.
|
protectedinherited |
Gravitational acceleration magnitude is zero?
Definition at line 34 of file GravityInterface.h.
|
protectedinherited |
Gravitational acceleration magnitude.
Definition at line 32 of file GravityInterface.h.
Referenced by GravityInterface::getGravityMagnitude().
|
protectedinherited |
Gravitational acceleration vector.
Definition at line 30 of file GravityInterface.h.
|
protected |
True if user provides PoD.
Definition at line 233 of file FlowChannelBase.h.
|
static |
Map of convective heat transfer geometry type to enum.
Definition at line 49 of file FlowChannelBase.h.
Referenced by getConvHeatTransGeometry(), and THM::stringToEnum().
|
mutableprotected |
Names of the heat transfer components connected to this component.
Definition at line 238 of file FlowChannelBase.h.
Referenced by addHeatTransferName(), FlowChannel1PhaseBase::check(), check(), getHeatTransferNames(), getHeatTransferNamesSuffix(), FlowChannel1PhaseBase::getHeatTransferVariableNames(), getHeatTransferVariableNames(), and initSecondary().
|
protected |
Convective Heat transfer geometry.
Definition at line 227 of file FlowChannelBase.h.
Referenced by getHeatTransferGeometry().
|
protected |
1-phase wall heat transfer coefficient names for connected heat transfers
Definition at line 243 of file FlowChannelBase.h.
|
protected |
liquid wall heat transfer coefficient names for connected heat transfers
Definition at line 245 of file FlowChannelBase.h.
|
protected |
vapor wall heat transfer coefficient names for connected heat transfers
Definition at line 247 of file FlowChannelBase.h.
|
protectedinherited |
Total axial length.
Definition at line 102 of file DiscreteLineSegmentInterface.h.
Referenced by Component2D::buildMesh(), Component1D::buildMesh(), DiscreteLineSegmentInterface::computeAxialCoordinate(), ElbowPipe1Phase::ElbowPipe1Phase(), DiscreteLineSegmentInterface::getLength(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protectedinherited |
Length of each axial section.
Definition at line 100 of file DiscreteLineSegmentInterface.h.
Referenced by Component2D::buildMesh(), DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), ElbowPipe1Phase::ElbowPipe1Phase(), GeneratedMeshComponent::generateNodeLocations(), and DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
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 |
Name of the MOOSE object.
Definition at line 128 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::computeAxialCoordinate().
|
protectedinherited |
Total number of axial elements.
Definition at line 107 of file DiscreteLineSegmentInterface.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), Component1D::buildMesh(), GeneratedMeshComponent::generateNodeLocations(), DiscreteLineSegmentInterface::getAxialElementIndex(), and DiscreteLineSegmentInterface::getNumElems().
|
protectedinherited |
Number of elements in each axial section.
Definition at line 105 of file DiscreteLineSegmentInterface.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), Component1D::buildMesh(), DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), GeneratedMeshComponent::generateNodeLocations(), and DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
mutableprotected |
Number of connected heat transfer components.
Definition at line 240 of file FlowChannelBase.h.
Referenced by addHeatTransferName(), addMooseObjects(), addVariables(), getHeatTransferNamesSuffix(), FlowChannel1PhaseBase::getHeatTransferVariableNames(), getHeatTransferVariableNames(), and getNumberOfHeatTransferConnections().
|
protectedinherited |
Number of axial sections.
Definition at line 110 of file DiscreteLineSegmentInterface.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), Component2D::buildMesh(), Component2D::check(), DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), GeneratedMeshComponent::generateNodeLocations(), and DiscreteLineSegmentInterface::getAxialSectionIndex().
|
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 |
Node locations along the main axis.
Definition at line 42 of file GeneratedMeshComponent.h.
Referenced by Component2D::build2DMesh(), Component2D::build2DMesh2ndOrder(), ElbowPipe1Phase::buildMeshNodes(), Component1D::buildMeshNodes(), GeneratedMeshComponent::generateNodeLocations(), and GeneratedMeshComponent::placeLocalNodeLocations().
|
protected |
heated perimeter names for connected heat transfers
Definition at line 249 of file FlowChannelBase.h.
Referenced by addMooseObjects(), addVariables(), getHeatedPerimeterNames(), and getHeatTransferVariableNames().
|
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().
|
protected |
Pipe location within the bundle.
Definition at line 229 of file FlowChannelBase.h.
Referenced by getPipeLocation().
|
static |
Map of pipe location to enum.
Definition at line 53 of file FlowChannelBase.h.
Referenced by getPipeLocation(), and THM::stringToEnum().
|
protected |
Definition at line 221 of file FlowChannelBase.h.
Referenced by addCommonObjects(), and FlowChannel1PhaseBase::addMooseObjects().
|
static |
Map of pipe type to enum.
Definition at line 51 of file FlowChannelBase.h.
Referenced by getPipeType(), and THM::stringToEnum().
|
protected |
Pitch to diameter ratio for parallel bundle heat transfer.
Definition at line 231 of file FlowChannelBase.h.
|
protectedinherited |
Start position of axis in 3-D space.
Definition at line 91 of file DiscreteLineSegmentInterface.h.
Referenced by Component1D::buildMesh(), DiscreteLineSegmentInterface::computeAxialCoordinate(), DiscreteLineSegmentInterface::computeRadialCoordinate(), DiscreteLineSegmentInterface::computeRealPointFromReferencePoint(), DiscreteLineSegmentInterface::computeReferencePointFromRealPoint(), DiscreteLineSegmentInterface::getElementBoundaryCoordinates(), and DiscreteLineSegmentInterface::getPosition().
|
protected |
wall heat flux names for connected heat transfers
Definition at line 255 of file FlowChannelBase.h.
Referenced by addMooseObjects(), getHeatTransferVariableNames(), and getWallHeatFluxNames().
|
protectedinherited |
Direction transformation tensor.
Definition at line 118 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::computeRealPointFromReferencePoint().
|
protectedinherited |
Inverse direction transformation tensor.
Definition at line 123 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::computeReferencePointFromRealPoint().
|
protectedinherited |
Angle of rotation about the x-axis.
Definition at line 97 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::getElementBoundaryCoordinates(), and DiscreteLineSegmentInterface::getRotation().
|
protected |
Roughness of flow channel surface, [m].
Definition at line 224 of file FlowChannelBase.h.
|
protectedinherited |
Rotational transformation tensor about x-axis.
Definition at line 120 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::computeRealPointFromReferencePoint().
|
protectedinherited |
Inverse rotational transformation tensor about x-axis.
Definition at line 125 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::computeReferencePointFromRealPoint().
|
protectedinherited |
Axial coordinate of the end of each axial section using the line 'position' as the origin.
Definition at line 112 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), and DiscreteLineSegmentInterface::getAxialSectionIndex().
|
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().
|
protected |
wall temperature material names for connected heat transfers
Definition at line 253 of file FlowChannelBase.h.
Referenced by getHeatTransferVariableNames(), and getWallTemperatureMatNames().
|
protected |
wall temperature auxvariable names for connected heat transfers
Definition at line 251 of file FlowChannelBase.h.
Referenced by getHeatTransferVariableNames(), and getWallTemperatureNames().
|
protected |
True if there is one or more sources specified by wall temperature.
Definition at line 236 of file FlowChannelBase.h.
Referenced by addMooseObjects(), check(), getTemperatureMode(), and initSecondary().
|
protectedinherited |
Center axial coordinate of each axial element.
Definition at line 115 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), and DiscreteLineSegmentInterface::getAxialElementIndex().
|
protectedinherited |
Definition at line 448 of file Component.h.