51 virtual void init()
override;
52 virtual void check()
const override;
63 const UserObjectName & sp_name,
75 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.
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.
void addAverageElementSizePostprocessor(const SubdomainName &block)
Adds a PP for the average element size on a block.
const std::string & name() const
virtual Convergence * getNonlinearConvergence() const override
Gets the Component's nonlinear Convergence object if it has one.
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
void addResidualNormPostprocessor(const SubdomainName &block, const UserObjectName &sp_name, Real T_ref)
Adds a residual norm PP for a block.
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.