29 _speed(getFunctor<Real>(
NS::speed)),
30 _rho(getFunctor<Real>(
NS::density)),
31 _mu(getFunctor<Real>(
NS::
mu)),
37 "The variable must be a non-vector, non-array finite-volume/finite-element variable.");
40 mooseError(
"This AuxKernel only supports Elemental fields");
registerMooseObject("NavierStokesApp", ReynoldsNumberFunctorAux)
const MooseArray< Point > & _q_point
const Elem *const & _current_elem
MooseVariableField< ComputeValueType > & _var
const QBase *const & _qrule
static InputParameters validParams()
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
void paramError(const std::string ¶m, Args... args) const
void mooseError(Args &&... args) const
Computes rho*u*L/mu where L is the maximum element dimension.
ReynoldsNumberFunctorAux(const InputParameters ¶meters)
const Moose::Functor< Real > & _rho
The fluid density.
Real computeValue() override
const Moose::Functor< Real > & _speed
The fluid speed.
const bool _use_qp_arg
Whether to use a quadrature-based argument to evaluate the functors.
const Moose::Functor< Real > & _mu
The fluid dynamic viscosity.
static InputParameters validParams()
Moose::StateArg determineState() const
static const std::string density
static const std::string mu
static const std::string speed