53 mooseAssert(
_rc_uo.
segregated(),
"We should not get here if we are not segregated!");
60 auto process_residual = [
this](
const ADReal & residual,
const Elem & elem)
64 std::array<ADReal, 1>{{residual}},
65 std::array<dof_id_type, 1>{{dof_index}},
void addResidualsAndJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
unsigned int number() const
const Elem & elem() const
void computeResidualAndJacobian() override
const FaceInfo * _face_info
DualNumber< Real, DNDerivativeType, true > ADReal
virtual ADReal computeSegregatedContribution()
Compute the contribution which goes into the residual of the segregated system.
INSFVFluxKernel(const InputParameters ¶ms)
RhieChowInterpolatorBase & _rc_uo
The Rhie Chow user object that is responsible for generating face velocities for advection terms...
void computeJacobian() override
static InputParameters validParams()
virtual bool segregated() const =0
Bool of the Rhie Chow user object is used in monolithic/segregated approaches.
const Elem & neighbor() const
unsigned int number() const
All objects that contribute to pressure-based (e.g.
ADReal computeQpResidual() override final
FaceInfo::VarFaceNeighbors _face_type
void addResidualAndJacobian(const ADReal &residual)
Process into either the system residual or Jacobian.
static InputParameters validParams()
MooseVariableFV< Real > & _var
static InputParameters validParams()
void computeResidual() override
void scalingFactor(const std::vector< Real > &factor)