21 params.
addClassDescription(
"Shows whether an element has any attached porosity jump faces");
27 :
AuxKernel(parameters), _eps(getFunctor<Real>(
NS::porosity))
30 mooseError(
"This AuxKernel only supports Elemental fields");
37 if (
const Elem *
const neighbor =
_current_elem->neighbor_ptr(s))
43 mooseAssert(fi,
"This should be non-null");
registerMooseObject("NavierStokesApp", HasPorosityJumpFace)
const Elem *const & _current_elem
static InputParameters validParams()
Shows whether an element has any attached porosity jump faces.
HasPorosityJumpFace(const InputParameters ¶meters)
Real computeValue() override
const Moose::Functor< Real > & _eps
The porosity.
static InputParameters validParams()
void mooseError(Args &&... args) const
const std::vector< const FaceInfo * > & faceInfo() const
Moose::StateArg determineState() const
bool elemHasFaceInfo(const Elem &elem, const Elem *const neighbor)
std::tuple< bool, T, T > isPorosityJumpFace(const Moose::FunctorBase< T > &porosity, const FaceInfo &fi, const Moose::StateArg &time)
Checks to see whether the porosity value jumps from one side to the other of the provided face.
static const std::string porosity