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()
static InputParameters validParams()
const MooseArray< ADReal > & _diff_quant_elem
const FaceInfo * _face_info
This is holds meta-data for geometric information relevant to the current face including elem+neighbo...
registerMooseObject("MooseApp", FVOrthogonalDiffusion)
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
This class computes the intercell diffusion flux by taking the difference between neighboring cell ce...
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
FVOrthogonalDiffusion(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADMaterialProperty< Real > & _coeff_elem
const MooseArray< ADReal > & _diff_quant_neighbor
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
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...
FVFluxKernel is used for calculating residual contributions from numerical fluxes from surface integr...
const ADMaterialProperty< Real > & _coeff_neighbor