Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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 {
18  params.addClassDescription(
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 
25  const InputParameters & parameters)
27 {
28 }
29 
30 ADReal
32 {
34  determineState()) -
35  _phi0;
36 }
const FaceInfo * _face_info
Holds information for the face we are currently examining.
registerMooseObject("MooseApp", FVBoundaryIntegralValueConstraint)
FVBoundaryIntegralValueConstraint(const InputParameters &parameters)
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for implementing constraints on boundaries for finite volume variables using scalar Lagran...
MooseVariableFV< Real > & _var
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
This boundary object implements the residuals that enforce the constraint on the boundary.
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...
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.