51 virtual void init()
override;
52 virtual void check()
const override;
67 unsigned int i_region)
const;
void loadMaterial(InputParameters &pars, const std::string &par, const std::string &material_name)
Real getNumberOfUnits() const
Gets the number of units that heat structure represents.
void addConstantDensitySolidPropertiesMaterial(const UserObjectName &sp_name, const Real &T_ref, unsigned int i_region) const
Adds a ADConstantDensityThermalSolidPropertiesMaterial for a heat structure region.
std::vector< std::string > _material_names
Material names.
ExternalBoundaryType
External boundary type.
Real _num_rods
The number of rods represented by this heat structure.
const unsigned int & getIndexFromName(const std::string &name) const
Get index of the block from its name.
virtual const std::string & name() const
HeatStructureBase(const InputParameters ¶ms)
Interface class for heat structure components.
virtual Real getUnitPerimeter(const ExternalBoundaryType &side) const =0
Gets the perimeter of one unit of this heat structure on the specified side.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
virtual void check() const override
Check the component integrity.
virtual void addVariables() override
virtual bool usingSecondOrderMesh() const override
Check if second order mesh is being used by this geometrical component.
Base class for 2D generated heat structures.
unsigned int & _number_of_hs
std::map< std::string, unsigned int > _name_index
Map from block name to block index.
virtual void addMooseObjects() override
virtual void init() override
Initializes the component.