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}},
69 if (
_face_type == FaceInfo::VarFaceNeighbors::ELEM ||
70 _face_type == FaceInfo::VarFaceNeighbors::BOTH)
72 if (
_face_type == FaceInfo::VarFaceNeighbors::NEIGHBOR ||
73 _face_type == FaceInfo::VarFaceNeighbors::BOTH)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
void computeJacobian() override
MooseVariableFV< Real > & _var
void computeResidual() override
void computeResidualAndJacobian() override
const FaceInfo * _face_info
FaceInfo::VarFaceNeighbors _face_type
const Elem & elem() const
const Elem & neighbor() const
static InputParameters validParams()
void addResidualAndJacobian(const ADReal &residual)
Process into either the system residual or Jacobian.
void computeJacobian() override
INSFVFluxKernel(const InputParameters ¶ms)
void computeResidual() override
void computeResidualAndJacobian() override
ADReal computeQpResidual() override final
virtual ADReal computeSegregatedContribution()
Compute the contribution which goes into the residual of the segregated system.
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 bool segregated() const =0
Bool of the Rhie Chow user object is used in monolithic/segregated approaches.
unsigned int number() const
void addResidualsAndJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)