Go to the documentation of this file.
19 params.addClassDescription(
"Viscous flux terms in energy equation.");
24 :
NSKernel(parameters), _vst_derivs(*this)
35 return vec * _grad_test[_i][_qp];
55 Real phij = _phi[_j][_qp];
70 for (
unsigned int k = 0; k < LIBMESH_DIM; ++k)
72 Real intermediate_value = 0.0;
74 for (
unsigned ell = 0; ell < LIBMESH_DIM; ++ell)
76 (U(ell) / rho * (-tau(k, ell) * phij / rho +
_vst_derivs.
dtau(k, ell, 0)));
79 value += intermediate_value * _grad_test[_i][_qp](k);
94 const unsigned int m_local = m - 1;
96 for (
unsigned int k = 0; k < LIBMESH_DIM; ++k)
98 Real intermediate_value = tau(k, m_local) * phij / rho;
100 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
105 value += intermediate_value * _grad_test[_i][_qp](k);
virtual Real computeQpResidual()
bool isNSVariable(unsigned var)
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compres...
InputParameters validParams< NSKernel >()
NSEnergyViscousFlux(const InputParameters ¶meters)
Real dtau(unsigned k, unsigned ell, unsigned m)
The primary interface for computing viscous stress tensor derivatives.
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
const VariableValue & _rho_w
const VariableValue & _rho
NSViscStressTensorDerivs< NSEnergyViscousFlux > _vst_derivs
const VariableValue & _rho_u
const VariableValue & _v_vel
const VariableValue & _u_vel
const VariableValue & _rho_v
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
InputParameters validParams< NSEnergyViscousFlux >()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
registerMooseObject("NavierStokesApp", NSEnergyViscousFlux)
virtual Real computeQpJacobian()
const VariableValue & _w_vel
Viscous flux terms in energy equation.
unsigned mapVarNumber(unsigned var)