19 "Adds a boundary condition which calculates the face values and face gradients assuming one " 20 "or two term expansions from the cell centroid. This kernel is only compatible " 21 "with advection-diffusion problems.");
23 "use_two_term_expansion",
25 "If an approximate linear expansion should be used to compute the face value.");
32 _two_term_expansion(getParam<bool>(
"use_two_term_expansion"))
53 return boundary_value;
61 Real normal_gradient = 0.0;
71 return normal_gradient;
85 Real contribution = 0.0;
RealVectorValue computeCellToFaceVector() const
Computes the vector connecting the cell and boundary face centers.
Real computeCellToFaceDistance() const
Compute the distance between the cell center and the face.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
const ElemInfo * neighborInfo() const
const ElemInfo * elemInfo() const
Base class for boundary conditions that are valid for advection diffusion problems.
FaceInfo::VarFaceNeighbors _current_face_type
Face ownership information for the current face.
const Point & normal() const
Returns the unit normal vector for the face oriented outward from the face's elem element...
MooseLinearVariableFV< Real > & _var
Reference to the linear finite volume variable object.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const FaceInfo * _current_face_info
Pointer to the face info we are operating on right now.
Real getElemValue(const ElemInfo &elem_info, const StateArg &state) const
Get the solution value for the provided element and seed the derivative for the corresponding dof ind...
const VectorValue< Real > gradSln(const ElemInfo &elem_info) const
Get the variable gradient at a cell center.
void computeCellGradients()
Switch to request cell gradient computations.
static InputParameters validParams()