24 "The inviscid flux (convective + pressure terms) for the momentum conservation equations.");
28 "0,1,2 depending on if we are solving the x,y,z component of the momentum equation");
34 _pressure(coupledValue(
NS::pressure)),
35 _component(getParam<unsigned
int>(
"component"))
84 const Real V2 = vel.norm_sq();
94 unsigned int m_local = m - 1;
97 const Real delta_kl = (
_component == m_local ? 1. : 0.);
registerMooseObject("NavierStokesApp", NSMomentumInviscidFlux)
void ErrorVector unsigned int
virtual Real gamma() const
const VariablePhiValue & _phi
const VariableTestGradient & _grad_test
void mooseError(Args &&... args) const
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
unsigned mapVarNumber(unsigned var)
bool isNSVariable(unsigned var)
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compres...
static InputParameters validParams()
const VariableValue & _u_vel
const VariableValue & _v_vel
const VariableValue & _w_vel
const IdealGasFluidProperties & _fp
The inviscid flux (convective + pressure terms) for the momentum conservation equations.
virtual Real computeQpResidual()
static InputParameters validParams()
const unsigned int _component
virtual Real computeQpJacobian()
Real computeJacobianHelper(unsigned int m)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _pressure
NSMomentumInviscidFlux(const InputParameters ¶meters)
static const std::string pressure