19 params.
addParam<MaterialPropertyName>(
"forward_rate",
"kf",
"Forward reaction rate coefficient.");
20 params.
addParam<MaterialPropertyName>(
21 "backward_rate",
"kb",
"Backward reaction rate coefficient.");
29 _kf(getADMaterialProperty<Real>(
"forward_rate")),
30 _kb(getNeighborADMaterialProperty<Real>(
"backward_rate"))
registerMooseObject("MooseApp", ADMatInterfaceReaction)
DualNumber< Real, DNDerivativeType, true > ADReal
ADInterfaceKernel and ADVectorInterfaceKernel is responsible for interfacing physics across subdomain...
const OutputTools< T >::VariableTestValue & _test_neighbor
Side neighbor test function.
const OutputTools< T >::VariableTestValue & _test
Side shape function.
static InputParameters validParams()
const ADTemplateVariableValue< T > & _neighbor_value
Coupled neighbor variable value.
const ADTemplateVariableValue< T > & _u
Holds the current solution at the current quadrature point on the face.
Implements a reaction to establish ReactionRate=k_f*u-k_b*v at interface.
static InputParameters validParams()
ADMatInterfaceReaction(const InputParameters ¶meters)
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
Compute residuals at quadrature points.
const ADMaterialProperty< Real > & _kf
Forward reaction rate coefficient.
const ADMaterialProperty< Real > & _kb
Backward reaction rate coefficient.
unsigned int _qp
Current quadrature point.
unsigned int _i
Index for test and trial functions.
const std::string & type() const
Get the type of this class.