43 mooseAssert(
_var.
dofIndices().size() == 1,
"We're currently built to use CONSTANT MONOMIALS");
63 std::array<ADReal, 1>{{residual}},
64 std::array<dof_id_type, 1>{{dof_index}},
DualNumber< Real, DNDerivativeType, true > ADReal
const Real & elemVolume() const
static InputParameters validParams()
MooseVariableFV< Real > & _var
void computeResidualAndJacobian() override
static InputParameters validParams()
virtual ADReal computeSegregatedContribution()
Compute the contribution which goes into the residual of the segregated system.
INSFVElementalKernel(const InputParameters ¶ms)
void addResidualAndJacobian(const ADReal &residual, dof_id_type dof)
Process into either the system residual or Jacobian.
void computeResidual() override
void computeJacobian() override
All objects that contribute to pressure-based (e.g.
static InputParameters validParams()
RhieChowInterpolatorBase & _rc_uo
The Rhie Chow user object that is responsible for generating face velocities for advection terms.
void scalingFactor(const std::vector< Real > &factor)
unsigned int number() const
virtual const std::vector< dof_id_type > & dofIndices() const final
virtual bool segregated() const =0
Bool of the Rhie Chow user object is used in monolithic/segregated approaches.
void addJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
void accumulateTaggedLocalResidual()
void addResidualsAndJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
DenseVector< Number > _local_re