19 params.
addClassDescription(
"Implements a source term proportional to the value of a coupled " 21 params.
addRequiredParam<MooseFunctorName>(
"v",
"The coupled functor which provides the force");
22 params.
addParam<
Real>(
"coef", 1.0,
"Coefficent multiplier for the coupled force term.");
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
const Moose::Functor< ADReal > & _v
The coupled functor applying the force.
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
Helper method to create an elemental argument for a functor that includes whether to perform skewness...
FVElemental is used for calculating residual contributions from volume integral terms of a PDE where ...
static InputParameters validParams()
const Elem *const & _current_elem
static InputParameters validParams()
Simple class to demonstrate off diagonal Jacobian contributions.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _coef
An optional coefficient multiplying the coupled force.
registerMooseObject("MooseApp", FVCoupledForce)
FVCoupledForce(const InputParameters ¶meters)