22 "Adds a radiative heat transfer term, exchanged with an ambient/surrounding "
23 "environment, to the outer-surface radial node of a pipe wall.");
27 "Whether an explicit (previous value calculation) or implicit (current value) is used");
29 "The name of the user object for solid properties");
31 "Cross-sectional area of this wall layer [m^2]");
33 "perimeter",
"Perimeter of this wall node exposed to the radiative environment [m]");
34 params.
addRequiredParam<MooseFunctorName>(
"T_ambient",
"Ambient temperature functor [K]");
35 params.
addRequiredParam<MooseFunctorName>(
"emissivity",
"Emissivity functor");
36 params.
addParam<MooseFunctorName>(
"view_factor", 1.0,
"View factor functor");
38 "scale", 1.0,
"Functor by which to scale the radiative heat transfer term");
39 params.
addParam<Real>(
"stefan_boltzmann_constant",
41 "Stefan-Boltzmann constant");
50 _is_implicit(this->template getParam<bool>(
"is_implicit")),
51 _area(this->template getFunctor<
ADReal>(
"area")),
52 _perimeter(this->template getFunctor<
ADReal>(
"perimeter")),
53 _T_ambient(this->template getFunctor<
ADReal>(
"T_ambient")),
54 _emissivity(this->template getFunctor<
ADReal>(
"emissivity")),
55 _view_factor(this->template getFunctor<
ADReal>(
"view_factor")),
56 _scale(this->template getFunctor<
ADReal>(
"scale")),
57 _sigma(this->template getParam<Real>(
"stefan_boltzmann_constant"))
68 const auto A =
_area(arg, state);
79 const auto q_radiation =
82 return -q_radiation /
A /
rho / cp;
88 mooseError(
"computeQpJacobian() should not be called in AD mode");
registerMooseObject("ThermalHydraulicsApp", ADPipeOuterWallRadiationScalarKernel)
DualNumber< Real, DNDerivativeType, true > ADReal
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Outer wall radiative heat transfer kernel for the path-integrated incompressible conjugate heat trans...
const Moose::Functor< ADReal > & _scale
Functor by which to scale the radiative heat transfer term.
const ThermalSolidProperties & _sp
Solid properties object for the pipe wall.
ADPipeOuterWallRadiationScalarKernel(const InputParameters ¶meters)
const Real _sigma
Stefan-Boltzmann constant.
const Moose::Functor< ADReal > & _emissivity
Emissivity functor.
static InputParameters validParams()
const Moose::Functor< ADReal > & _view_factor
View factor functor.
const Moose::Functor< ADReal > & _area
Cross-sectional area of this wall layer.
const Moose::Functor< ADReal > & _perimeter
Perimeter of this wall node exposed to the radiative environment.
virtual ADReal computeQpResidual() override
const bool _is_implicit
Property state integration flag.
virtual Real computeQpJacobian() override
const Moose::Functor< ADReal > & _T_ambient
Ambient temperature functor.
const ADVariableValue & _u
static InputParameters validParams()
void mooseError(Args &&... args) const
Common class for solid properties that are a function of temperature.
const auto stefan_boltzmann_constant