18 params.
addClassDescription(
"Represents a divergence term. Note, this term does not contribute to "
19 "the system matrix, only takes the divergence of a face flux field "
20 "and adds it to the right hand side of the linear system.");
21 params.
addRequiredParam<MooseFunctorName>(
"face_flux",
"Functor for the face flux.");
registerMooseObject("NavierStokesApp", LinearFVDivergence)
Moose::FaceArg makeCDFace(const FaceInfo &fi, const bool correct_skewness=false) const
Kernel that adds contributions from an advection term discretized using the finite volume method to a...
Real _flux_rhs_contribution
The cached right hand side contribution.
virtual Real computeNeighborMatrixContribution() override
virtual Real computeBoundaryRHSContribution(const LinearFVBoundaryCondition &bc) override
LinearFVDivergence(const InputParameters ¶ms)
Class constructor.
virtual Real computeElemMatrixContribution() override
static InputParameters validParams()
const Moose::Functor< Real > & _face_flux
The functor for the face flux.
virtual Real computeBoundaryMatrixContribution(const LinearFVBoundaryCondition &bc) override
virtual Real computeNeighborRightHandSideContribution() override
virtual Real computeElemRightHandSideContribution() override
bool _cached_rhs_contribution
const FaceInfo * _current_face_info
static InputParameters validParams()
Moose::StateArg determineState() const