19 "This class is used to enforce integral of phi = boundary area * phi_0 "
20 "with a Lagrange multiplier approach.");
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVBoundaryIntegralValueConstraint)
MooseVariableFV< Real > & _var
const FaceInfo * _face_info
Holds information for the face we are currently examining.
This boundary object implements the residuals that enforce the constraint on the boundary.
FVBoundaryIntegralValueConstraint(const InputParameters ¶meters)
ADReal computeQpResidual() override final
static InputParameters validParams()
Base class for implementing constraints on boundaries for finite volume variables using scalar Lagran...
const PostprocessorValue & _phi0
The value that we want the average/point-value/etc. of the primal variable to be equal to.
static InputParameters validParams()
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.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.