21 "Heat transfer coefficient function [W/(m^2-K)]");
24 "Couples boundaries of two 2D heat structures via a heat transfer coefficient");
40 logError(
"The primary and secondary boundaries must be aligned.");
48 for (
unsigned int i = 0; i < 2; i++)
52 const std::string class_name =
53 _is_cylindrical[i] ?
"HeatStructure2DCouplerRZBC" :
"HeatStructure2DCouplerBC";
59 params.
set<FunctionName>(
"heat_transfer_coefficient") =
60 getParam<FunctionName>(
"heat_transfer_coefficient");
static InputParameters validParams()
static InputParameters validParams()
virtual Point getPosition() const
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.
const std::vector< BoundaryName > _hs_boundaries
Primary and secondary heat structure boundaries.
THMProblem & getTHMProblem() const
Gets the THM problem.
virtual RealVectorValue getDirection() const
InputParameters getValidParams(const std::string &name) const
Builds mapping between two aligned subdomains/boundaries.
Couples boundaries of two 2D heat structures via a heat transfer coefficient.
virtual void addMooseObjects() override
virtual const std::string & name() const
bool meshesAreAligned() const
Returns true if the primary and secondary meshes are aligned.
virtual void addBoundaryCondition(const std::string &bc_name, const std::string &name, InputParameters ¶meters)
void logError(Args &&... args) const
Logs an error.
std::vector< bool > _is_cylindrical
Flag for each heat structure deriving from HeatStructureCylindricalBase.
HeatStructure2DCoupler(const InputParameters ¶meters)
static const std::string TEMPERATURE
std::vector< Real > _coupling_area_fractions
Area fractions by which to multiply coupling terms.
MeshAlignment _mesh_alignment
Mesh alignment.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Factory & _factory
The Factory associated with the MooseApp.
Base class for 2D generated heat structures.
virtual void addMooseObjects()
registerMooseObject("ThermalHydraulicsApp", HeatStructure2DCoupler)
const std::vector< std::string > _hs_names
Primary and secondary heat structure names.
virtual void check() const override
Check the component integrity.
Couples boundaries of two 2D heat structures.
virtual void check() const override
Check the component integrity.