22 "Adds the time derivative term to the incompressible Navier-Stokes energy equation.");
26 "The time derivative of the specific enthalpy");
32 _rho(getFunctor<
ADReal>(
NS::density)),
33 _h_dot(getFunctor<
ADReal>(
NS::time_deriv(
NS::specific_enthalpy)))
36 paramError(
"variable",
"The supplied variable should be of INSFVEnergyVariable type.");
44 return _rho(elem_arg, state) *
_h_dot(elem_arg, state);
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSFVEnergyTimeDerivative)
MooseVariableFV< Real > & _var
const Elem *const & _current_elem
static InputParameters validParams()
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
INSFVEnergyTimeDerivative(const InputParameters ¶ms)
ADReal computeQpResidual() override
const Moose::Functor< ADReal > & _h_dot
The time derivative of the specific enthalpy.
static InputParameters validParams()
const Moose::Functor< ADReal > & _rho
the density
void paramError(const std::string ¶m, Args... args) const
Moose::StateArg determineState() const
static const std::string density
static const std::string specific_enthalpy
std::string time_deriv(const std::string &var)