21 params.
addRequiredParam<MooseFunctorName>(
"h",
"The convective heat transfer coefficient");
22 params.
addClassDescription(
"Class describing a convective heat transfer between two domains.");
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);
const Moose::Functor< Real > & _temp_solid
The solid/wall temperature, we use the functor form to enable situations when the user wants to suppl...
LinearFVConvectiveHeatTransferBC(const InputParameters ¶meters)
Class constructor.
static const std::string T_solid
virtual Real computeBoundaryValueRHSContribution() const override
Moose::StateArg determineState() const
const Moose::Functor< Real > * _rhs_temperature
The temperature which will contribute to the right hand side.
const ElemInfo * neighborInfo() const
const Point & faceCentroid() const
const ElemInfo * elemInfo() const
virtual Real computeBoundaryValue() const override
static InputParameters validParams()
virtual Real computeBoundaryGradientMatrixContribution() const override
const Elem * neighborPtr() const
static const std::string T_fluid
virtual Real computeBoundaryNormalGradient() const override
FaceInfo::VarFaceNeighbors _current_face_type
const Point & normal() const
MooseLinearVariableFV< Real > & _var
const Elem * elemPtr() const
Class describing a convective heat transfer between two domains.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const FaceInfo * _current_face_info
virtual Real computeBoundaryValueMatrixContribution() const override
Real getElemValue(const ElemInfo &elem_info, const StateArg &state) const
virtual Real computeBoundaryGradientRHSContribution() const override
const Moose::Functor< Real > & _htc
The convective heat transfer coefficient.
registerMooseObject("NavierStokesApp", LinearFVConvectiveHeatTransferBC)
bool _var_is_fluid
Helper boolean to see if the variable we have is the fluid variable.
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false) const
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...
static InputParameters validParams()