20 params.addClassDescription(
"Advects energy, e.g. rho*cp*T. A user may still override what " 21 "quantity is advected, but the default is rho*cp*T");
22 params.addParam<MooseFunctorName>(
30 if (!dynamic_cast<INSFVEnergyVariable *>(&
_var))
31 mooseError(
"PINSFVEnergyAdvection may only be used with a fluid temperature variable, " 32 "of variable type INSFVEnergyVariable.");
Moose::FV::InterpMethod _advected_interp_method
The interpolation method to use for the advected quantity.
const Moose::Functor< ADReal > & _adv_quant
The advected heat quantity.
const FaceInfo * _face_info
Moose::StateArg determineState() const
DualNumber< Real, DNDerivativeType, true > ADReal
INSFVEnergyAdvection(const InputParameters ¶ms)
virtual ADReal computeQpResidual() override
LimiterType limiterType(InterpMethod interp_method)
virtual bool isTransient() const=0
static const std::string enthalpy_density
registerMooseObject("NavierStokesApp", INSFVEnergyAdvection)
static InputParameters validParams()
static const std::string v
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
void mooseError(Args &&... args) const
ADRealVectorValue velocity() const
MooseVariableFV< Real > & _var
static InputParameters validParams()
Moose::FaceArg makeFace(const FaceInfo &fi, const Moose::FV::LimiterType limiter_type, const bool elem_is_upwind, const bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const