69 std::unique_ptr<PiecewiseByBlockLambdaFunctor<ADReal>>
_rho_u;
ADReal _neighbor_residual
The neighbor residual.
static InputParameters uniqueParams()
Parameters of this object that should be added to the NSFV action that are unique to this object...
std::unique_ptr< PiecewiseByBlockLambdaFunctor< ADReal > > _rho_u
Our local momentum functor.
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal _ae
The a coefficient for the element.
void gatherRCData(const Elem &) override final
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
void computeJacobian() override
const Real _cs
Characteristic speed.
INSFVMomentumAdvection(const InputParameters ¶ms)
const bool _approximate_as
Whether to approximately calculate the 'a' coefficients.
const Moose::Functor< ADReal > & _rho
Density.
virtual const Moose::FunctorBase< ADReal > & epsilon() const
A virtual method that allows us to reuse all the code from free-flow for porous.
virtual ADReal computeQpResidual() override final
static std::vector< std::string > listOfCommonParams()
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
All objects that contribute to pressure-based (e.g.
void initialSetup() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
ADReal _an
The a coefficient for the neighbor.
ADReal _elem_residual
The element residual.
virtual bool hasMaterialTimeDerivative() const override
const Moose::ConstantFunctor< ADReal > _unity_functor
A unity functor used in the epsilon virtual method.
virtual void computeResidualsAndAData(const FaceInfo &fi)
Helper method that computes the 'a' coefficients and AD residuals.
void computeResidual() override