22 "Represents a heat transfer term between the fluid and a homogenized structure.");
24 "Name of the convective heat transfer coefficient.");
25 params.
addRequiredParam<
bool>(
"is_solid",
"Whether this kernel acts on the solid temperature.");
33 _h_solid_fluid(getFunctor<
Real>(
"h_solid_fluid")),
34 _temp_fluid(getTemperatureVariable(
NS::
T_fluid)),
35 _temp_solid(getTemperatureVariable(
NS::
T_solid)),
36 _is_solid(getParam<bool>(
"is_solid"))
48 vname,
"The variable supplied to ", vname,
" should be of type MooseLinearVariableFVReal!");
const ElemInfo * _current_elem_info
const Moose::Functor< Real > & _h_solid_fluid
MOOSE functor describing the heat transfer coefficient.
void paramError(const std::string ¶m, Args... args) const
static const std::string T_solid
const MooseLinearVariableFV< Real > & getTemperatureVariable(const std::string &vname)
Routine used to throw an error if the provided variable is not an MooseLinearVariableFV.
Moose::StateArg determineState() const
const Elem * elem() const
static InputParameters validParams()
virtual const MooseVariableFieldBase & getVariable(const THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) const override
LinearFVVolumetricHeatTransfer(const InputParameters ¶ms)
Class constructor.
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
virtual Real computeMatrixContribution() override
static const std::string T_fluid
virtual Real computeRightHandSideContribution() override
Kernel that adds contributions to the system matrix and right hand side based on heat transfer betwee...
registerMooseObject("NavierStokesApp", LinearFVVolumetricHeatTransfer)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const MooseLinearVariableFV< Real > & _temp_solid
Reference to the linear finite volume solid temperature variable.
Real getElemValue(const ElemInfo &elem_info, const StateArg &state) const
const MooseLinearVariableFV< Real > & _temp_fluid
Reference to the linear finite volume fluid temperature variable.
FEProblemBase & _fe_problem
Real _current_elem_volume
const bool _is_solid
Flag to help the kernel to decide if it is executed on a solid of a fluid.