https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FVBoundaryIntegralValueConstraint.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
11
13
16{
19 "This class is used to enforce integral of phi = boundary area * phi_0 "
20 "with a Lagrange multiplier approach.");
21 return params;
22}
23
29
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 &parameters)
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.
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.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.