21 params.
addRequiredParam<MooseFunctorName>(
"h",
"The convective heat transfer coefficient");
22 params.
addClassDescription(
"Class describing a convective heat transfer between two domains.");
29 _temp_fluid(getFunctor<Real>(
NS::T_fluid)),
30 _temp_solid(getFunctor<Real>(
NS::T_solid)),
31 _htc(getFunctor<Real>(
"h")),
32 _var_is_fluid(
"wraps_" + _var.
name() == _temp_fluid.functorName() ||
33 "wraps_" + _var.
name() +
"_raw_value" == _temp_fluid.functorName())
66 const auto fluid_side_elem_info =
_var_is_fluid ? elem_info : neighbor_info;
71 fluid_side_elem_info->centroid()) >
104 return _htc(face, state);
120 return _htc(face, state) * (*_rhs_temperature)(face, state);
registerMooseObject("NavierStokesApp", LinearFVConvectiveHeatTransferBC)
const Point & normal() const
const Elem * neighborPtr() const
const ElemInfo * elemInfo() const
const ElemInfo * neighborInfo() const
const Elem * elemPtr() const
const Point & faceCentroid() const
static InputParameters validParams()
const FaceInfo * _current_face_info
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false) const
FaceInfo::VarFaceNeighbors _current_face_type
MooseLinearVariableFV< Real > & _var
Class describing a convective heat transfer between two domains.
const Moose::Functor< Real > * _rhs_temperature
The temperature which will contribute to the right hand side.
virtual Real computeBoundaryValue() const override
virtual Real computeBoundaryValueRHSContribution() const override
const Moose::Functor< Real > & _temp_solid
The solid/wall temperature, we use the functor form to enable situations when the user wants to suppl...
virtual Real computeBoundaryGradientRHSContribution() const override
virtual Real computeBoundaryGradientMatrixContribution() const override
const Moose::Functor< Real > & _temp_fluid
The fluid temperature, we use the functor form to enable situations when the user wants to supply a s...
const Moose::Functor< Real > & _htc
The convective heat transfer coefficient.
virtual Real computeBoundaryNormalGradient() const override
bool _var_is_fluid
Helper boolean to see if the variable we have is the fluid variable.
static InputParameters validParams()
virtual Real computeBoundaryValueMatrixContribution() const override
LinearFVConvectiveHeatTransferBC(const InputParameters ¶meters)
Class constructor.
Real getElemValue(const ElemInfo &elem_info, const StateArg &state) const
Moose::StateArg determineState() const
static const std::string T_fluid
static const std::string T_solid