22 "A factor for multiplying the function. This could be useful for flipping "
23 "the sign of the function for example based off the normal");
24 params.
addRequiredParam<FunctionName>(
"function",
"The value of the flux crossing the boundary.");
29 :
FVFluxBC(parameters), _function(getFunction(
"function")), _factor(getParam<Real>(
"factor"))
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVFunctionNeumannBC)
const FaceInfo * _face_info
Holds information for the face we are currently examining.
Provides an interface for computing residual contributions from finite volume numerical fluxes comput...
static InputParameters validParams()
Neumann boundary (== fixed inflow) condition for finite volume scheme.
const Function & _function
virtual ADReal computeQpResidual() override
static InputParameters validParams()
FVFunctionNeumannBC(const InputParameters ¶meters)
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,...