23 params.
addRequiredParam<UserObjectName>(
"solid_properties",
"Solid properties object");
25 "Reference element size [units vary]");
33 _ref_elem_size(getPostprocessorValue(
"ref_elem_size")),
55 const auto & sp = getUserObject<ThermalSolidProperties>(
"solid_properties");
56 const auto T_ref = getParam<Real>(
"T_ref");
57 const auto rho_ref = sp.rho_from_T(T_ref);
58 const auto cp_ref = sp.cp_from_T(T_ref);
registerMooseObject("ThermalHydraulicsApp", NormalizedHeatStructureResidualNorm)
static InputParameters validParams()
virtual PostprocessorValue getValue() const override
virtual void initialize() override
Computes a normalized residual norm for a heat structure.
Real _normalization
Normalization constant.
const PostprocessorValue & _ref_elem_size
Reference element size.
virtual Real getValue() const override
static InputParameters validParams()
NormalizedHeatStructureResidualNorm(const InputParameters ¶meters)
virtual void initialize() override
Real computeNormalization() const
Computes (but does not update) the normalization constant.
bool _initialized
Initialized.