19 params.
addRequiredParam<FunctionName>(
"function",
"The exact solution function.");
21 "Imposes the essential boundary condition $u=g(t,\\vec{x})$, where $g$ " 22 "is a (possibly) time and space-dependent MOOSE Function.");
37 mooseAssert(state.
state == 1,
"We cannot access values beyond the previous time step.");
FVFunctionDirichletBC(const InputParameters ¶meters)
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
Base class for finite volume Dirichlet boundaray conditions.
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVFunctionDirichletBC)
This data structure is used to store geometric and variable related metadata about each cell face in ...
static InputParameters validParams()
const Real & _t_old
Old time.
SolutionIterationType iteration_type
The solution iteration type, e.g. time or nonlinear.
ADReal boundaryValue(const FaceInfo &fi, const Moose::StateArg &state) const override
static InputParameters validParams()
Applies a Dirichlet boundary condition with a value prescribed by a function.
State argument for evaluating functors.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero...
unsigned int state
The state.
const Function & _function