21 "Base class for assembling transport equation for the temperature of a radial node of a pipe "
23 "conduction to the upstream/downstream nodes of the same radial layer and radial "
24 "conduction to the node on the other side of the wall.");
27 "Wall temperature of the upstream node, same radial layer. Takes a "
28 "scalar variable name");
31 "Wall temperature of the downstream node, same radial layer. Takes "
32 "a scalar variable name");
36 "Whether an explicit (previous value calculation) or implicit (current value) is used");
38 "The name of the user object for solid properties");
40 "Cross-sectional area of this wall layer [m^2]");
42 "interface_perimeter",
43 "Perimeter of the interface between the inner and outer wall nodes [m]");
46 "Radial conduction-path distance between the inner and outer wall nodes [m]");
48 "Axial length of this node's control volume [m]");
50 "upstream_spacing",
"Axial distance from this node to the upstream node [m]");
52 "downstream_spacing",
"Axial distance from this node to the downstream node [m]");
54 "upstream_area",
"Cross-sectional area of the upstream node's wall layer [m^2]");
56 "downstream_area",
"Cross-sectional area of the downstream node's wall layer [m^2]");
66 _Tdown(
ScalarCoupleable::adCoupledScalarValue(
"downstream_wall_temperature")),
67 _is_implicit(this->template getParam<bool>(
"is_implicit")),
68 _area(this->template getFunctor<
ADReal>(
"area")),
69 _interface_perimeter(this->template getFunctor<
ADReal>(
"interface_perimeter")),
70 _wall_thickness(this->template getFunctor<
ADReal>(
"wall_thickness")),
71 _length(this->template getFunctor<
ADReal>(
"length")),
72 _upstream_spacing(this->template getFunctor<
ADReal>(
"upstream_spacing")),
73 _downstream_spacing(this->template getFunctor<
ADReal>(
"downstream_spacing")),
74 _upstream_area(this->template getFunctor<
ADReal>(
"upstream_area")),
75 _downstream_area(this->template getFunctor<
ADReal>(
"downstream_area"))
86 const auto A =
_area(arg, state);
95 const auto k_up =
_sp.k_from_T(
_Tup[i]);
97 const auto k_down =
_sp.k_from_T(
_Tdown[i]);
113 return -(q_radial + q_axial + q_convective) / (
rho * cp *
A);
119 mooseError(
"computeQpJacobian() should not be called in AD mode");
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
const ADVariableValue & _Tdown
Coupled wall temperature of the downstream node (same radial layer)
virtual ADReal otherNodeTemperature() const =0
Temperature of the wall node on the other side of this layer's radial conduction path.
const Moose::Functor< ADReal > & _length
Axial length of this node's control volume.
virtual ADReal convectiveLinearHeatRate() const =0
Heat flux exchanged with the fluid or ambient environment on this node's interface to the fluid/envir...
const ThermalSolidProperties & _sp
Solid properties object for the pipe wall.
const Moose::Functor< ADReal > & _upstream_area
Cross-sectional area of the upstream node's wall layer.
const Moose::Functor< ADReal > & _downstream_spacing
Axial distance from this node to the downstream node.
const Moose::Functor< ADReal > & _interface_perimeter
Perimeter of the interface between the inner and outer wall nodes.
virtual ADReal computeQpResidual() override
const Moose::Functor< ADReal > & _wall_thickness
Radial conduction-path distance between the inner and outer wall nodes.
static InputParameters validParams()
virtual Real computeQpJacobian() override
const Moose::Functor< ADReal > & _downstream_area
Cross-sectional area of the downstream node's wall layer.
const bool _is_implicit
Property state integration flag.
const ADVariableValue & _Tup
Coupled wall temperature of the upstream node (same radial layer)
const Moose::Functor< ADReal > & _area
Cross-sectional area of this wall layer.
const Moose::Functor< ADReal > & _upstream_spacing
Axial distance from this node to the upstream node.
ADPipeWallTemperatureScalarKernelBase(const InputParameters ¶meters)
const ADVariableValue & _u
static InputParameters validParams()
void mooseError(Args &&... args) const
Common class for solid properties that are a function of temperature.