38 "variable",
"The name of the variable that this boundary condition applies to");
39 params.
addParam<
bool>(
"use_displaced_mesh",
41 "Whether or not this object should use the "
42 "displaced mesh for computation. Note that "
43 "in the case this is true but no "
44 "displacements are provided in the Mesh block "
45 "the undisplaced mesh will still be used.");
70 Moose::VarKindType::VAR_ANY,
71 Moose::VarFieldType::VAR_FIELD_STANDARD),
74 _var(*mooseVariableFV()),
75 _subproblem(*getCheckedPointerParam<
SubProblem *>(
"_subproblem")),
76 _fv_problem(*getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
77 _sys(changeSystem(parameters, _var)),
79 _assembly(_subproblem.assembly(_tid, _var.kind() ==
Moose::VAR_SOLVER ? _sys.number() : 0)),
80 _mesh(_subproblem.
mesh())
89 const bool correct_skewness,
95 return makeFace(*fi, limiter_type,
true, correct_skewness, state_limiter);
An interface for accessing Moose::Functors for systems that care about automatic differentiation,...
static InputParameters validParams()
A class for requiring an object to be boundary restricted.
static InputParameters validParams()
Interface for objects that need to use distributions.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
static InputParameters validParams()
SubProblem & _subproblem
Reference to SubProblem.
MooseVariableFV< Real > & _var
const FaceInfo * _face_info
Holds information for the face we are currently examining.
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi=nullptr, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
Determine the single sided face argument when evaluating a functor on a face.
FVBoundaryCondition(const InputParameters ¶meters)
Class constructor.
bool hasFaceSide(const FaceInfo &fi, bool fi_elem_side) const override
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.
This data structure is used to store geometric and variable related metadata about each cell face in ...
VarFaceNeighbors faceType(const std::pair< unsigned int, unsigned int > &var_sys) const
Returns which side(s) the given variable-system number pair is defined on for this face.
Interface for objects that need to use functions.
static InputParameters validParams()
Interface for notifications that the mesh has changed.
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
SystemBase & sys()
Get the system this variable is part of.
unsigned int number() const
Get variable number coming from libMesh.
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
This class provides variable solution values for other classes/objects to bind to when looping over f...
Interface for objects that need to get values of MooseVariables.
Interface class for classes which interact with Postprocessors.
Generic class for solving transient nonlinear problems.
virtual void haveADObjects(bool have_ad_objects)
Method for setting whether we have any ad objects.
Base class for a system (of equations)
unsigned int number() const
Gets the number of this system.
static InputParameters validParams()
Interface for objects that needs transient capabilities.
static InputParameters validParams()
Interface for objects that need to use UserObjects.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
A structure defining a "face" evaluation calling argument for Moose functors.
State argument for evaluating functors.