21 "Adds the time derivative term to the incompressible Navier-Stokes momentum equation.");
38 const Real
a = residual.derivatives()[dof_number];
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSFVMomentumTimeDerivative)
Real elementVolume(const Elem *elem) const
MooseVariableFV< Real > & _var
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
const unsigned int _index
index x|y|z
RhieChowInterpolatorBase & _rc_uo
The Rhie Chow user object that is responsible for generating face velocities for advection terms.
INSFVMomentumTimeDerivative(const InputParameters ¶ms)
const Moose::Functor< ADReal > & _rho
The density.
void gatherRCData(const Elem &) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
static InputParameters validParams()
All navier-stokes momentum time derivative terms should inherit from this class.
static InputParameters validParams()
void addResidualAndJacobian(const ADReal &residual, dof_id_type dof)
Process into either the system residual or Jacobian.
const bool _contribute_to_rc_coeffs
Whether to contribute to RC coefficients.
unsigned int number() const
DotType dot(const ElemArg &elem, const StateArg &state) const
virtual void addToA(const libMesh::Elem *elem, unsigned int component, const ADReal &value)=0
API for momentum residual objects that have on-diagonals for velocity call.
unsigned int number() const
Moose::StateArg determineState() const
static const std::string density