18 params.
addClassDescription(
"Computes the residual coming from the divergence of a vector field" 19 "that can be represented as a functor.");
21 "vector_field",
"The name of the vector field whose divergence is added to the residual.");
36 return -1.0 * (vector *
_normal);
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
const FaceInfo * _face_info
This is holds meta-data for geometric information relevant to the current face including elem+neighbo...
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
RealVectorValue _normal
This is the outward unit normal vector for the face the kernel is currently operating on...
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVDivergence)
static InputParameters validParams()
LimiterType limiterType(InterpMethod interp_method)
Return the limiter type associated with the supplied interpolation method.
const Moose::Functor< ADRealVectorValue > & _vector_field
The vector field whose divergence is added to the residual.
FVDivergence(const InputParameters ¶ms)
FVDivergence implements a standard divergence term:
FVFluxKernel is used for calculating residual contributions from numerical fluxes from surface integr...
Moose::FaceArg makeFace(const FaceInfo &fi, const Moose::FV::LimiterType limiter_type, const bool elem_is_upwind, const bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
Create a functor face argument from provided component arguments.
static InputParameters validParams()