20 "Imposes an orthogonal diffusion boundary term with specified boundary function.");
22 "The value of the quantity of interest on the boundary.");
23 params.
addRequiredParam<MaterialPropertyName>(
"coeff",
"diffusion coefficient");
24 params.
addParam<MaterialPropertyName>(
26 "The quantity that is diffusing. By default, the 'variable' solution value will be used.");
32 _function(getFunction(
"function")),
33 _coeff_elem(getADMaterialProperty<
Real>(
"coeff")),
34 _coeff_neighbor(getNeighborADMaterialProperty<
Real>(
"coeff")),
35 _diff_quant_elem(isParamValid(
"diffusing_quantity")
36 ? getADMaterialProperty<
Real>(
"diffusing_quantity").
get()
38 _diff_quant_neighbor(isParamValid(
"diffusing_quantity")
39 ? getNeighborADMaterialProperty<
Real>(
"diffusing_quantity").
get()
51 const auto & interior_centroid =
const FaceInfo * _face_info
Holds information for the face we are currently examining.
FaceInfo::VarFaceNeighbors _face_type
The variable face type.
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
registerMooseObject("MooseApp", FVOrthogonalBoundaryDiffusion)
const Point & neighborCentroid() const
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
const Function & _function
This class computes a boundary diffusion flux by taking the difference between a provided boundary va...
const Point & elemCentroid() const
Returns the element centroids of the elements on the elem and neighbor sides of the face...
const MooseArray< ADReal > & _diff_quant_neighbor
FVOrthogonalBoundaryDiffusion(const InputParameters ¶meters)
const ADMaterialProperty< Real > & _coeff_neighbor
Diffusion coefficient on the neighbor.
Provides an interface for computing residual contributions from finite volume numerical fluxes comput...
const ADMaterialProperty< Real > & _coeff_elem
Diffusion coefficient on the element.
const MooseArray< ADReal > & _diff_quant_elem
ADReal computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
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...