21 "This class computes the inviscid flux with pressure gradient in the momentum equation.");
30 _component(getParam<unsigned
int>(
"component")),
31 _pressure_derivs(*this)
119 unsigned int jlocal = 0;
152 Real hessian_sum = 0.0;
153 for (
unsigned int n = 0; n < 5; ++n)
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
const VariableValue & _w_vel
virtual Real computeQpJacobian()
Real get_grad(unsigned i)
The primary interfaces for computing pressure derivatives.
virtual Real computeQpResidual()
const VariablePhiGradient & _grad_phi
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableGradient & _grad_rho_w
Real pressureQpJacobianHelper(unsigned var_number)
unsigned _rhov_var_number
const VariableGradient & _grad_p
NSMomentumInviscidFluxWithGradP(const InputParameters ¶meters)
const VariableGradient & _grad_rho
const VariableTestValue & _test
unsigned _rhow_var_number
bool isNSVariable(unsigned var)
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compres...
Real get_hess(unsigned i, unsigned j)
static InputParameters validParams()
const VariableGradient & _grad_rho_u
registerMooseObject("NavierStokesApp", NSMomentumInviscidFluxWithGradP)
const VariableGradient & _grad_rho_v
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _u_vel
const VariableTestGradient & _grad_test
const VariableValue & _v_vel
unsigned _rho_et_var_number
static const std::string pressure
const VariableGradient & _grad_rho_et
const unsigned int _component
std::vector< const VariableGradient * > _gradU
NSPressureDerivs< NSMomentumInviscidFluxWithGradP > _pressure_derivs
static InputParameters validParams()
const VariablePhiValue & _phi
unsigned mapVarNumber(unsigned var)
unsigned _rhou_var_number
void ErrorVector unsigned int