22 "Assembles transport equation for the temperature of the outer-surface radial node of a pipe "
24 "convectively coupled to a secondary-side flowing fluid, such as the shell side of a "
28 "Mass flow rate of the secondary-side fluid. Takes a "
29 "scalar variable name");
32 "Temperature of the inner-surface wall node, on the other side of this "
33 "layer's radial conduction path. Takes a scalar variable name");
36 "Secondary-side fluid temperature adjacent to this wall node. Takes a "
37 "scalar variable name");
39 "upstream_fluid_temperature",
41 "Secondary-side fluid temperature adjacent to the upstream wall node. Takes a scalar "
44 "downstream_fluid_temperature",
46 "Secondary-side fluid temperature adjacent to the downstream wall node. Takes a scalar "
50 "Wetted perimeter of the secondary-side flow channel adjacent to this node [m]");
52 "heat_transfer_coefficient",
53 "Heat transfer coefficient of the secondary-side fluid [W/(m^2-K)]");
55 "use_fluid_node_temp",
57 "Whether to use fluid node temperature for wall heat transfer or a segment-averaged value.");
69 _Tfdown(
ScalarCoupleable::adCoupledScalarValue(
"downstream_fluid_temperature")),
70 _wetted_perimeter(this->template getFunctor<
ADReal>(
"wetted_perimeter")),
71 _h(this->template getFunctor<
ADReal>(
"heat_transfer_coefficient"))
82 const auto Tin = 1.0 / 2.0 * (1 -
_m[i] / sqrt(
_m[i] *
_m[i] + 1.0e-08)) *
_Tfdown[i] +
83 1.0 / 2.0 * (1 +
_m[i] / sqrt(
_m[i] *
_m[i] + 1.0e-08)) *
_Tfup[i];
86 const bool node_bulk = getParam<bool>(
"use_fluid_node_temp");
96 mooseError(
"convectiveJacobian() should not be called in AD mode");
registerMooseObject("ThermalHydraulicsApp", ADPipeOuterWallCoupledConvectiveTemperatureScalarKernel)
DualNumber< Real, DNDerivativeType, true > ADReal
Outer wall path-integrated incompressible conjugate heat transfer kernel with a coupled secondary sid...
virtual ADReal convectiveLinearHeatRate() const override
Heat flux exchanged with the fluid or ambient environment on this node's interface to the fluid/envir...
const ADVariableValue & _Tfup
Coupled secondary-side fluid temperature adjacent to the upstream wall node.
virtual Real convectiveJacobian() const override
Derivative of convectiveLinearHeatRate() with respect to this node's own temperature.
const Moose::Functor< ADReal > & _wetted_perimeter
Wetted perimeter of the secondary-side flow channel adjacent to this wall node.
const Moose::Functor< ADReal > & _h
Secondary-side heat transfer coefficient.
const ADVariableValue & _Tf
Coupled secondary-side fluid temperature adjacent to this wall node.
const ADVariableValue & _Tfdown
Coupled secondary-side fluid temperature adjacent to the downstream wall node.
static InputParameters validParams()
const ADVariableValue & _m
Coupled mass flow rate of the secondary-side fluid.
ADPipeOuterWallCoupledConvectiveTemperatureScalarKernel(const InputParameters ¶meters)
Base class for path-integrated incompressible conjugate heat transfer kernels.
static InputParameters validParams()
const bool _is_implicit
Property state integration flag.
const ADVariableValue & _u
void mooseError(Args &&... args) const