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.");
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVFunctionDirichletBC)
Base class for finite volume Dirichlet boundaray conditions.
static InputParameters validParams()
Applies a Dirichlet boundary condition with a value prescribed by a function.
const Function & _function
static InputParameters validParams()
FVFunctionDirichletBC(const InputParameters ¶meters)
ADReal boundaryValue(const FaceInfo &fi, const Moose::StateArg &state) const override
This data structure is used to store geometric and variable related metadata about each cell face in ...
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
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,...
const Real & _t_old
Old time.
State argument for evaluating functors.
SolutionIterationType iteration_type
The solution iteration type, e.g. time or nonlinear.
unsigned int state
The state.