www.mooseframework.org
NSMomentumViscousFlux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef NSMOMENTUMVISCOUSFLUX_H
8 #define NSMOMENTUMVISCOUSFLUX_H
9 
10 #include "NSKernel.h"
12 
13 // ForwardDeclarations
15 
16 template <>
17 InputParameters validParams<NSMomentumViscousFlux>();
18 
24 {
25 public:
26  NSMomentumViscousFlux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual();
30  virtual Real computeQpJacobian();
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
32 
33  // Required parameter
34  const unsigned int _component;
35 
36  // An object for computing viscous stress tensor derivatives.
37  // Constructed via a reference to ourself
39 
40  // Declare ourselves friend to the helper class.
41  template <class U>
43 };
44 
45 #endif // NSMOMENTUMVISCOUSFLUX_H
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition: NSKernel.h:27
const unsigned int _component
NSMomentumViscousFlux(const InputParameters &parameters)
virtual Real computeQpResidual()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
NSViscStressTensorDerivs< NSMomentumViscousFlux > _vst_derivs
Derived instance of the NSViscousFluxBase class for the momentum equations.
InputParameters validParams< NSMomentumViscousFlux >()
virtual Real computeQpJacobian()