19 params.
addRequiredParam<MaterialPropertyName>(
"coeff",
"diffusion coefficient");
20 params.
addParam<MaterialPropertyName>(
22 "The quantity that is diffusing. By default, the 'variable' solution value will be used.");
28 _coeff_elem(getADMaterialProperty<Real>(
"coeff")),
29 _coeff_neighbor(getNeighborADMaterialProperty<Real>(
"coeff")),
30 _diff_quant_elem(isParamValid(
"diffusing_quantity")
31 ? getADMaterialProperty<Real>(
"diffusing_quantity").get()
33 _diff_quant_neighbor(isParamValid(
"diffusing_quantity")
34 ? getNeighborADMaterialProperty<Real>(
"diffusing_quantity").get()
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FVOrthogonalDiffusion)
const FaceInfo * _face_info
This is holds meta-data for geometric information relevant to the current face including elem+neighbo...
This class computes the intercell diffusion flux by taking the difference between neighboring cell ce...
const MooseArray< ADReal > & _diff_quant_neighbor
static InputParameters validParams()
FVOrthogonalDiffusion(const InputParameters ¶meters)
const ADMaterialProperty< Real > & _coeff_elem
const MooseArray< ADReal > & _diff_quant_elem
const ADMaterialProperty< Real > & _coeff_neighbor
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Base class for FV flux kernels that need qp-indexed solution values on both sides of a face.
static InputParameters validParams()
void interpolate(InterpMethod m, T &result, const T2 &value1, const T3 &value2, const FaceInfo &fi, const bool one_is_elem)
Provides interpolation of face values for non-advection-specific purposes (although it can/will still...
@ Average
gc*elem+(1-gc)*neighbor