#include <Component2D.h>
Public Types | |
enum | ExternalBoundaryType { ExternalBoundaryType::INNER = 0, ExternalBoundaryType::OUTER = 1, ExternalBoundaryType::START = 2, ExternalBoundaryType::END = 3 } |
External boundary type. More... | |
enum | EComponentSetupStatus { CREATED, MESH_PREPARED, INITIALIZED_PRIMARY, INITIALIZED_SECONDARY, CHECKED } |
Component setup status type. More... | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
Component2D (const InputParameters ¶ms) | |
virtual void | buildMesh () override |
const Real & | getTotalWidth () const |
Gets the total width of all transverse regions. More... | |
unsigned int | getNumRegions () const |
Gets the number of transverse regions. More... | |
bool | hasBlock (const std::string &name) const |
Returns true if there is a transverse region of a given name. More... | |
const std::vector< std::string > & | getNames () const |
Gets the names of the transverse regions. More... | |
const std::vector< Real > & | getVolumes () const |
Gets the volumes of the transverse regions. More... | |
bool | isBoundaryInVector (const BoundaryName &boundary_name, const std::vector< BoundaryName > &boundary_name_vector) const |
Returns true if the supplied boundary is in the given vector. More... | |
bool | hasBoundary (const BoundaryName &boundary_name) const |
Returns true if this component has the supplied boundary. More... | |
bool | hasExternalBoundary (const BoundaryName &boundary_name) const |
Returns true if this component has the supplied external boundary. More... | |
const std::vector< std::tuple< dof_id_type, unsigned short int > > & | getBoundaryInfo (const BoundaryName &boundary_name) const |
Gets boundary info associated with the component boundary. More... | |
const std::vector< std::tuple< dof_id_type, unsigned short int > > & | getBoundaryInfo (const ExternalBoundaryType &boundary_type) const |
Gets boundary info associated with a external boundary type. More... | |
ExternalBoundaryType | getExternalBoundaryType (const BoundaryName &boundary_name) const |
Gets the external boundary type of the given boundary. More... | |
Real | getAxialOffset () const |
Gets the axial offset for the mesh. More... | |
const BoundaryName & | getExternalBoundaryName (const ExternalBoundaryType &boundary_type) const |
Gets the name of an external boundary by type. More... | |
const Real & | getBoundaryArea (const BoundaryName &boundary_name) const |
Gets the area for a boundary. More... | |
virtual Real | computeRadialBoundaryArea (const Real &length, const Real &y) const =0 |
Computes the area of a radial boundary. More... | |
virtual Real | computeAxialBoundaryArea (const Real &y_min, const Real &y_max) const =0 |
Computes the area of an axial boundary. 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 > & | 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... | |
Static Public Member Functions | |
static InputParameters | validParams () |
static MooseEnum | getExternalBoundaryTypeMooseEnum (const std::string &default_value="") |
Gets the MooseEnum corresponding to ExternalBoundaryType. More... | |
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, ExternalBoundaryType > | _external_boundary_type_to_enum |
map of external boundary type string to enum More... | |
Protected Member Functions | |
virtual void | check () const override |
Check the component integrity. More... | |
void | build2DMesh () |
Builds a 2D, first-order mesh. More... | |
void | build2DMesh2ndOrder () |
Builds a 2D, second-order mesh. More... | |
virtual void | setupMesh () override |
Performs mesh setup such as creating mesh or naming mesh sets. More... | |
virtual bool | usingSecondOrderMesh () const =0 |
Check if second order mesh is being used by this geometrical component. 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... | |
virtual void | init () |
Initializes the component. 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 | |
unsigned int | _n_regions |
Number of transverse regions. More... | |
std::vector< std::string > | _names |
Names of each transverse region. More... | |
std::vector< Real > | _width |
Width of each transverse region. More... | |
Real | _total_width |
Total width of all transverse regions. More... | |
std::vector< Real > | _volume |
Volume of each transverse region. More... | |
std::vector< unsigned int > | _n_part_elems |
Number of elements in each transverse region. More... | |
unsigned int | _total_elem_number |
Total number of transverse elements. More... | |
unsigned int | _outer_bc_id |
BC ID of the component (outer) More... | |
unsigned int | _inner_bc_id |
BC ID of the component (inner) More... | |
unsigned int | _start_bc_id |
BC ID of the component (start) More... | |
unsigned int | _end_bc_id |
BC ID of the component (end) More... | |
std::vector< unsigned int > | _interior_axial_per_radial_section_bc_id |
BC ID of the interior axial boundaries (per radial section) of the component. More... | |
std::vector< unsigned int > | _axial_outer_bc_id |
BC ID of the axial regions of the outer boundary of the component. More... | |
std::vector< unsigned int > | _axial_inner_bc_id |
BC ID of the axial regions of the inner boundary of the component. More... | |
std::vector< unsigned int > | _radial_start_bc_id |
BC ID of the radial regions of the start boundary of the component. More... | |
std::vector< unsigned int > | _radial_end_bc_id |
BC ID of the radial regions of the end boundary of the component. More... | |
std::vector< unsigned int > | _inner_radial_bc_id |
BC ID of the inner radial boundary regions of the component. More... | |
BoundaryName | _boundary_name_outer |
Boundary name of the outer side of the component. More... | |
BoundaryName | _boundary_name_inner |
Boundary name of the inner side of the component. More... | |
BoundaryName | _boundary_name_start |
Boundary name of the start side of the component. More... | |
BoundaryName | _boundary_name_end |
Boundary name of the end side of the component. More... | |
std::vector< BoundaryName > | _boundary_names_interior_axial_per_radial_section |
Boundary names of the interior axial boundaries (per radial section) of the component. More... | |
std::vector< BoundaryName > | _boundary_names_axial_outer |
Boundary names of the axial regions of the outer side of the component. More... | |
std::vector< BoundaryName > | _boundary_names_axial_inner |
Boundary names of the axial regions of the inner side of the component. More... | |
std::vector< BoundaryName > | _boundary_names_radial_start |
Boundary names of the radial regions of the start side of the component. More... | |
std::vector< BoundaryName > | _boundary_names_radial_end |
Boundary names of the radial regions of the end side of the component. More... | |
std::vector< BoundaryName > | _boundary_names_inner_radial |
Boundary names of the inner radial boundary regions of the component. More... | |
std::map< BoundaryName, Real > | _boundary_name_to_area |
Map of boundary name to boundary area. More... | |
std::map< BoundaryName, std::vector< std::tuple< dof_id_type, unsigned short int > > > | _boundary_info |
Map of boundary name to list of tuples of element and side IDs for that boundary. More... | |
Real | _axial_offset |
Distance by which to offset the mesh from the component axis. 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... | |
Definition at line 14 of file Component2D.h.
|
inherited |
Component setup status type.
Definition at line 36 of file Component.h.
|
strong |
External boundary type.
Enumerator | |
---|---|
INNER | |
OUTER | |
START | |
END |
Definition at line 18 of file Component2D.h.
Component2D::Component2D | ( | const InputParameters & | params | ) |
Definition at line 41 of file Component2D.C.
|
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 build2DMesh().
|
protectedinherited |
Definition at line 63 of file GeometricalComponent.C.
Referenced by build2DMesh2ndOrder().
|
inlinevirtualinherited |
Reimplemented in FlowChannelBase, FileMeshPhysicsComponent, JunctionOneToOne1Phase, HSBoundaryExternalAppHeatFlux, HeatStructureFromFile3D, HeatTransferFromHeatStructure1Phase, HeatStructureBase, HeatTransferBase, HeatTransferFromHeatStructure3D1Phase, HSCoupler2D2DRadiation, HSCoupler2D3D, SimpleTurbine1Phase, FlowChannel1PhaseBase, FormLoss1PhaseBase, HeatTransferFromExternalAppHeatFlux1Phase, HSBoundaryExternalAppConvection, ShaftConnectedCompressor1Phase, ShaftConnectedMotor, ShaftConnectedPump1Phase, ShaftConnectedTurbine1Phase, SolidWallGasMix, 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 build2DMesh(), 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.
|
protected |
Builds a 2D, first-order mesh.
Definition at line 65 of file Component2D.C.
Referenced by buildMesh().
|
protected |
Builds a 2D, second-order mesh.
Definition at line 211 of file Component2D.C.
Referenced by buildMesh().
|
overridevirtual |
Implements GeneratedMeshComponent.
Definition at line 341 of file Component2D.C.
|
overrideprotectedvirtual |
Check the component integrity.
Reimplemented from GeneratedMeshComponent.
Reimplemented in HeatStructureBase, HeatStructurePlate, and HeatStructureCylindrical.
Definition at line 47 of file Component2D.C.
Referenced by HeatStructureBase::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 FlowChannelBase::getAreaFunctionName(), getBoundaryArea(), FileMeshComponent::getBoundaryInfo(), getBoundaryInfo(), Component1DConnection::getBoundaryNames(), Component1D::getConnections(), Component::getCoordSysTypes(), Component::getElementIDs(), getExternalBoundaryName(), 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(), hasBoundary(), 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().
|
pure virtual |
Computes the area of an axial boundary.
[in] | y_min | Minimum transverse position of the surface, which ranges from 0 (inner) to total width (outer). |
[in] | y_max | Maximum transverse position of the surface, which ranges from 0 (inner) to total width (outer). |
Implemented in HeatStructureCylindricalBase, and HeatStructurePlate.
Referenced by buildMesh().
|
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().
|
pure virtual |
Computes the area of a radial boundary.
[in] | length | Length of the radial boundary |
[in] | y | Transverse position of the surface, which ranges from 0 (inner) to total width (outer). |
Implemented in HeatStructureCylindricalBase, and HeatStructurePlate.
Referenced by buildMesh().
|
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(), InletStagnationPressureTemperature1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), TotalPower::addMooseObjects(), GateValve1Phase::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), Closures1PhaseTHM::addWallFFMaterial(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::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(), 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(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HeatTransferBase::addMooseObjects(), HSCoupler2D2DRadiation::addMooseObjects(), SimpleTurbine1Phase::addMooseObjects(), HSCoupler2D3D::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), FlowChannelBase::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(), FlowChannelBase::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(), 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.
|
inherited |
Definition at line 143 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue().
|
inline |
Gets the axial offset for the mesh.
Definition at line 110 of file Component2D.h.
|
inherited |
Definition at line 132 of file DiscreteLineSegmentInterface.C.
Referenced by DiscreteLineSegmentInterfaceTestAux::computeValue().
const Real & Component2D::getBoundaryArea | ( | const BoundaryName & | boundary_name | ) | const |
Gets the area for a boundary.
Definition at line 570 of file Component2D.C.
Referenced by HeatStructure2DCouplerBase::init().
const std::vector< std::tuple< dof_id_type, unsigned short int > > & Component2D::getBoundaryInfo | ( | const BoundaryName & | boundary_name | ) | const |
Gets boundary info associated with the component boundary.
[in] | boundary | Boundary name of a component boundary |
boundary
Definition at line 519 of file Component2D.C.
Referenced by getBoundaryInfo(), HeatStructure2DCouplerBase::setupMesh(), and HeatTransferFromHeatStructure1Phase::setupMesh().
const std::vector< std::tuple< dof_id_type, unsigned short int > > & Component2D::getBoundaryInfo | ( | const ExternalBoundaryType & | boundary_type | ) | const |
Gets boundary info associated with a external boundary type.
[in] | boundary_type | The external boundary type |
Definition at line 530 of file Component2D.C.
|
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 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.
const BoundaryName & Component2D::getExternalBoundaryName | ( | const ExternalBoundaryType & | boundary_type | ) | const |
Gets the name of an external boundary by type.
[in] | boundary_type | The external boundary type |
Definition at line 550 of file Component2D.C.
Referenced by HSBoundaryInterface::getHSBoundaryName().
Component2D::ExternalBoundaryType Component2D::getExternalBoundaryType | ( | const BoundaryName & | boundary_name | ) | const |
Gets the external boundary type of the given boundary.
An error is thrown if the supplied boundary name does not exist in this component or if the boundary is interior.
[in] | boundary_name | Boundary name for which to get boundary type |
Definition at line 496 of file Component2D.C.
Referenced by HSBoundary::check(), and HeatStructure2DCouplerBase::init().
|
static |
Gets the MooseEnum corresponding to ExternalBoundaryType.
[in] | default_value | Default value; omit to have no default |
Definition at line 21 of file Component2D.C.
Referenced by HSBoundaryInterface::validParams().
|
inlinevirtualinherited |
Definition at line 32 of file DiscreteLineSegmentInterface.h.
Referenced by HeatTransferFromHeatStructure1Phase::check(), and HeatTransferFromHeatStructure3D1Phase::init().
|
inline |
Gets the names of the transverse regions.
Definition at line 50 of file Component2D.h.
Referenced by HeatStructureBase::addConstantDensitySolidPropertiesMaterial().
|
inherited |
Gets the node IDs corresponding to this component.
Definition at line 291 of file Component.C.
|
inlinevirtualinherited |
Definition at line 31 of file DiscreteLineSegmentInterface.h.
Referenced by HeatTransferFromHeatStructure1Phase::check(), and HeatTransferFromHeatStructure3D1Phase::init().
|
inline |
Gets the number of transverse regions.
Definition at line 38 of file Component2D.h.
|
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(), FlowChannelBase::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(), FlowChannelBase::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(), FlowChannelBase::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().
|
inherited |
Gets the THM problem.
Definition at line 135 of file Component.C.
Referenced by FlowChannelBase::addCommonObjects(), HeatStructureBase::addConstantDensitySolidPropertiesMaterial(), HeatTransferBase::addHeatedPerimeter(), HeatTransferFromTemperature1Phase::addHeatTransferKernels(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), VolumeJunction1Phase::addJunctionIC(), VolumeJunction1Phase::addJunctionVariable(), FormLossFromFunction1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), HSBoundaryHeatFlux::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), SolidWall1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), InletFunction1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), Outlet1Phase::addMooseObjects(), GateValve1Phase::addMooseObjects(), HeatSourceVolumetric1Phase::addMooseObjects(), HSBoundaryExternalAppTemperature::addMooseObjects(), Shaft::addMooseObjects(), FormLossFromExternalApp1Phase::addMooseObjects(), HeatTransferFromSpecifiedTemperature1Phase::addMooseObjects(), TotalPower::addMooseObjects(), VolumeJunction1Phase::addMooseObjects(), FreeBoundary1Phase::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(), FlowChannelBase::addMooseObjects(), HeatTransferFromExternalAppTemperature1Phase::addVariables(), FormLossFromExternalApp1Phase::addVariables(), TotalPower::addVariables(), TotalPowerBase::addVariables(), HeatTransferFromTemperature1Phase::addVariables(), HSBoundaryExternalAppTemperature::addVariables(), HeatTransferFromSpecifiedTemperature1Phase::addVariables(), Shaft::addVariables(), HeatTransferFromExternalAppHeatFlux1Phase::addVariables(), HSBoundaryExternalAppConvection::addVariables(), HeatTransferFromHeatStructure3D1Phase::addVariables(), HeatTransferFromHeatStructure1Phase::addVariables(), HSBoundaryExternalAppHeatFlux::addVariables(), FlowChannelBase::addVariables(), VolumeJunction1Phase::addVolumeJunctionIC(), FlowBoundary1Phase::addWeakBCs(), FlowBoundaryGasMix::addWeakBCs(), FlowChannel1PhaseBase::buildFlowModel(), HeatStructureInterface::buildModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), VolumeJunction1Phase::buildVolumeJunctionUserObject(), Shaft::check(), VolumeJunction1Phase::check(), FlowChannel1PhaseBase::check(), HeatStructureInterface::check(), FlowChannelGasMix::checkFluidProperties(), FlowChannel1Phase::checkFluidProperties(), GeometricalComponent::getVariableFn(), FlowJunction1Phase::init(), FlowBoundary1PhaseBase::init(), FlowBoundary::init(), FlowJunction::init(), Component1DConnection::init(), FlowChannelBase::init(), Component::problemIsTransient(), HeatStructure2DCouplerBase::setupMesh(), GateValve1Phase::setupMesh(), HSCoupler2D3D::setupMesh(), HSCoupler2D2DRadiation::setupMesh(), JunctionOneToOne1Phase::setupMesh(), HeatTransferFromHeatStructure1Phase::setupMesh(), VolumeJunction1Phase::setupMesh(), and HeatTransferFromHeatStructure3D1Phase::setupMesh().
|
inline |
Gets the total width of all transverse regions.
Definition at line 33 of file Component2D.h.
Referenced by buildMesh().
|
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 the volumes of the transverse regions.
Definition at line 55 of file Component2D.h.
bool Component2D::hasBlock | ( | const std::string & | name | ) | const |
Returns true if there is a transverse region of a given name.
name | The name of the transverse region |
Definition at line 59 of file Component2D.C.
Referenced by HeatSourceBase::check().
bool Component2D::hasBoundary | ( | const BoundaryName & | boundary_name | ) | const |
Returns true if this component has the supplied boundary.
[in] | boundary_name | Boundary name to check |
Definition at line 473 of file Component2D.C.
Referenced by HeatStructure2DRadiationCouplerRZ::check(), HeatStructure2DCouplerBase::check(), getExternalBoundaryType(), HeatStructure2DCouplerBase::init(), and HeatStructure2DCouplerBase::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.
bool Component2D::hasExternalBoundary | ( | const BoundaryName & | boundary_name | ) | const |
Returns true if this component has the supplied external boundary.
[in] | boundary_name | Boundary name to check |
Definition at line 483 of file Component2D.C.
Referenced by HSBoundary::check(), and hasBoundary().
|
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.
|
inlineprotectedvirtualinherited |
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 in FlowChannelBase, Component1DConnection, HeatTransferBase, HeatStructureBase, FlowChannel1PhaseBase, HeatTransferFromHeatStructure3D1Phase, HeatStructureFromFile3D, HeatTransfer1PhaseBase, FileMeshPhysicsComponent, FlowBoundary, FlowJunction, Shaft, HeatStructure2DCouplerBase, JunctionOneToOne1Phase, FlowBoundary1PhaseBase, HeatSourceFromTotalPower, HeatStructure2DRadiationCouplerRZ, FlowJunction1Phase, TestSetupStatusComponent, and FormLoss1PhaseBase.
Definition at line 290 of file Component.h.
Referenced by Component::executeInit(), FormLoss1PhaseBase::init(), HeatSourceFromTotalPower::init(), HeatStructure2DCouplerBase::init(), Shaft::init(), FileMeshPhysicsComponent::init(), HeatStructureFromFile3D::init(), HeatTransferFromHeatStructure3D1Phase::init(), HeatStructureBase::init(), HeatTransferBase::init(), Component1DConnection::init(), and FlowChannelBase::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.
bool Component2D::isBoundaryInVector | ( | const BoundaryName & | boundary_name, |
const std::vector< BoundaryName > & | boundary_name_vector | ||
) | const |
Returns true if the supplied boundary is in the given vector.
Definition at line 465 of file Component2D.C.
Referenced by getExternalBoundaryType(), hasBoundary(), and hasExternalBoundary().
|
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(), SupersonicInlet::check(), HSBoundaryExternalAppHeatFlux::check(), Outlet1Phase::check(), HeatStructure2DCoupler::check(), InletStagnationEnthalpyMomentum1Phase::check(), InletMassFlowRateTemperature1Phase::check(), InletVelocityTemperature1Phase::check(), InletDensityVelocity1Phase::check(), InletStagnationPressureTemperature1Phase::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(), check(), FlowChannelBase::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(), FlowChannelBase::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(), build2DMesh(), build2DMesh2ndOrder(), buildMesh(), FileMeshComponent::buildMesh(), Component1D::buildMesh(), Component::setSubdomainInfo(), Component1DJunction::setupMesh(), Component1DBoundary::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 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().
|
protectedpure virtualinherited |
Check if second order mesh is being used by this geometrical component.
Implemented in Component1D, and HeatStructureBase.
Referenced by buildMesh(), GeneratedMeshComponent::check(), and GeneratedMeshComponent::computeNumberOfNodes().
|
static |
Definition at line 35 of file Component2D.C.
Referenced by HeatStructureBase::validParams().
|
protected |
BC ID of the axial regions of the inner boundary of the component.
Definition at line 184 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
mutableprotected |
Distance by which to offset the mesh from the component axis.
Definition at line 220 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), getAxialOffset(), and HeatStructureCylindricalBase::setupMesh().
|
protected |
BC ID of the axial regions of the outer boundary of the component.
Definition at line 182 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protectedinherited |
Axial region names.
Definition at line 39 of file GeneratedMeshComponent.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), Component1D::buildMesh(), and GeneratedMeshComponent::GeneratedMeshComponent().
|
protected |
Map of boundary name to list of tuples of element and side IDs for that boundary.
Definition at line 217 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and getBoundaryInfo().
|
protected |
Boundary name of the end side of the component.
Definition at line 199 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getBoundaryInfo(), getExternalBoundaryName(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary name of the inner side of the component.
Definition at line 195 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getBoundaryInfo(), getExternalBoundaryName(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary name of the outer side of the component.
Definition at line 193 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getBoundaryInfo(), getExternalBoundaryName(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary name of the start side of the component.
Definition at line 197 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getBoundaryInfo(), getExternalBoundaryName(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Map of boundary name to boundary area.
Definition at line 214 of file Component2D.h.
Referenced by buildMesh(), and getBoundaryArea().
|
protected |
Boundary names of the axial regions of the inner side of the component.
Definition at line 205 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary names of the axial regions of the outer side of the component.
Definition at line 203 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary names of the inner radial boundary regions of the component.
Definition at line 211 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), and hasBoundary().
|
protected |
Boundary names of the interior axial boundaries (per radial section) of the component.
Definition at line 201 of file Component2D.h.
Referenced by build2DMesh(), buildMesh(), and hasBoundary().
|
protected |
Boundary names of the radial regions of the end side of the component.
Definition at line 209 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getExternalBoundaryType(), and hasExternalBoundary().
|
protected |
Boundary names of the radial regions of the start side of the component.
Definition at line 207 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getExternalBoundaryType(), and hasExternalBoundary().
|
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().
|
protected |
BC ID of the component (end)
Definition at line 178 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
static |
map of external boundary type string to enum
Definition at line 234 of file Component2D.h.
Referenced by getExternalBoundaryTypeMooseEnum(), and 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(), FlowChannel1PhaseBase::addHydraulicDiameterMaterial(), FormLossFromFunction1Phase::addMooseObjects(), InletMassFlowRateTemperature1Phase::addMooseObjects(), HSBoundaryRadiation::addMooseObjects(), HSBoundarySpecifiedTemperature::addMooseObjects(), HeatStructure2DCoupler::addMooseObjects(), InletFunction1Phase::addMooseObjects(), HeatStructure2DRadiationCouplerRZ::addMooseObjects(), InletDensityVelocity1Phase::addMooseObjects(), InletStagnationPressureTemperature1Phase::addMooseObjects(), Outlet1Phase::addMooseObjects(), HSBoundaryAmbientConvection::addMooseObjects(), HeatTransferFromHeatFlux1Phase::addMooseObjects(), SolidWall1Phase::addMooseObjects(), InletVelocityTemperature1Phase::addMooseObjects(), HeatSourceFromPowerDensity::addMooseObjects(), HeatSourceFromTotalPower::addMooseObjects(), HSBoundaryHeatFlux::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(), HeatTransferBase::addMooseObjects(), HeatTransferFromHeatStructure3D1Phase::addMooseObjects(), HeatTransferFromHeatStructure1Phase::addMooseObjects(), HSBoundaryExternalAppHeatFlux::addMooseObjects(), JunctionOneToOne1Phase::addMooseObjects(), FlowChannelBase::addMooseObjects(), Component::addRelationshipManager(), FlowChannelBase::addVariables(), VolumeJunction1Phase::addVolumeJunctionIC(), FlowBoundary1Phase::addWeakBCs(), FlowBoundaryGasMix::addWeakBCs(), FlowChannel1PhaseBase::buildFlowModel(), Pump1Phase::buildVolumeJunctionUserObject(), JunctionParallelChannels1Phase::buildVolumeJunctionUserObject(), SimpleTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), and VolumeJunction1Phase::buildVolumeJunctionUserObject().
|
protected |
BC ID of the component (inner)
Definition at line 174 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protected |
BC ID of the inner radial boundary regions of the component.
Definition at line 190 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protected |
BC ID of the interior axial boundaries (per radial section) of the component.
Definition at line 180 of file Component2D.h.
Referenced by build2DMesh(), and buildMesh().
|
protectedinherited |
Total axial length.
Definition at line 102 of file DiscreteLineSegmentInterface.h.
Referenced by 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 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 build2DMesh(), 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 build2DMesh(), build2DMesh2ndOrder(), Component1D::buildMesh(), DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), GeneratedMeshComponent::generateNodeLocations(), and DiscreteLineSegmentInterface::getElementBoundaryCoordinates().
|
protected |
Number of elements in each transverse region.
Definition at line 167 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protected |
Number of transverse regions.
Definition at line 157 of file Component2D.h.
Referenced by HeatStructureBase::addMooseObjects(), build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getNumRegions(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protectedinherited |
Number of axial sections.
Definition at line 110 of file DiscreteLineSegmentInterface.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), check(), DiscreteLineSegmentInterface::DiscreteLineSegmentInterface(), GeneratedMeshComponent::generateNodeLocations(), and DiscreteLineSegmentInterface::getAxialSectionIndex().
|
protected |
Names of each transverse region.
Definition at line 159 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), getNames(), hasBlock(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
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 build2DMesh(), build2DMesh2ndOrder(), ElbowPipe1Phase::buildMeshNodes(), Component1D::buildMeshNodes(), GeneratedMeshComponent::generateNodeLocations(), and GeneratedMeshComponent::placeLocalNodeLocations().
|
protected |
BC ID of the component (outer)
Definition at line 172 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
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 |
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().
|
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().
|
protected |
BC ID of the radial regions of the end boundary of the component.
Definition at line 188 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protected |
BC ID of the radial regions of the start boundary of the component.
Definition at line 186 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protectedinherited |
Angle of rotation about the x-axis.
Definition at line 97 of file DiscreteLineSegmentInterface.h.
Referenced by DiscreteLineSegmentInterface::getElementBoundaryCoordinates(), and DiscreteLineSegmentInterface::getRotation().
|
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().
|
protected |
BC ID of the component (start)
Definition at line 176 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), and buildMesh().
|
protectedinherited |
List of subdomain IDs this components owns.
Definition at line 460 of file Component.h.
Referenced by build2DMesh(), 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 |
Total number of transverse elements.
Definition at line 169 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protected |
Total width of all transverse regions.
Definition at line 163 of file Component2D.h.
Referenced by getTotalWidth(), HeatStructureCylindricalBase::getUnitPerimeter(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protected |
Volume of each transverse region.
Definition at line 165 of file Component2D.h.
Referenced by getVolumes(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
protected |
Width of each transverse region.
Definition at line 161 of file Component2D.h.
Referenced by build2DMesh(), build2DMesh2ndOrder(), buildMesh(), HeatStructureCylindrical::HeatStructureCylindrical(), and HeatStructurePlate::HeatStructurePlate().
|
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.