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