Boundary condition for convective heat flux where temperature and heat transfer coefficient are given...
bool _T_infinity_use_neighbor
Whether the far-field temperature functor should be evaluated on neighbor elements.
const unsigned int invalid_uint
virtual ADReal computeQpResidual() override
static InputParameters validParams()
const ADMaterialProperty< Real > *const _htc
Convective heat transfer coefficient.
const Elem * _current_neighbor_elem
Neighbor of the current element's side (can be nullptr)
const ADMaterialProperty< Real > *const _T_infinity
Far-field temperature variable.
ADConvectiveHeatFluxBC(const InputParameters ¶meters)
DualNumber< Real, DNDerivativeType, true > ADReal
unsigned int _current_neighbor_side
Corresponding side on the neighbor.
virtual void initialSetup() override
Here we check if the functors are defined on primary side of the boundary.
const Moose::Functor< ADReal > *const _T_infinity_functor
Far-field temperature functor.
bool _htc_use_neighbor
Whether the heat transfer coefficient functor should be evaluated on neighbor elements.
const InputParameters & parameters() const
const Moose::Functor< ADReal > *const _htc_functor
Convective heat transfer coefficient as a functor.