20 "Implements a momentum source/sink term proportional to the divergence of the mesh velocity");
23 "add_to_a",
true,
"Whether to add this object's contribution to the Rhie-Chow coefficients");
30 _add_to_a(getParam<bool>(
"add_to_a"))
registerMooseObject("NavierStokesApp", INSFVMomentumMeshAdvection)
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
Implements a source/sink term for this object's variable/advected-quantity proportional to the diverg...
static InputParameters validParams()
ADReal advQuantCoeff(const Moose::ElemArg &elem_arg, const Moose::StateArg &state) const
Implements a momentum source/sink term proportional to the divergence of the mesh velocity.
static InputParameters validParams()
const bool _add_to_a
Whether to add this object's contribution to the Rhie-Chow coefficients.
INSFVMomentumMeshAdvection(const InputParameters ¶meters)
virtual void gatherRCData(const Elem &elem) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
All objects that contribute to pressure-based (e.g.
const unsigned int _index
index x|y|z
static InputParameters validParams()
RhieChowInterpolatorBase & _rc_uo
The Rhie Chow user object that is responsible for generating face velocities for advection terms.
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.
Moose::StateArg determineState() const