www.mooseframework.org
NSSUPGBase.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 NSSUPGBASE_H
8 #define NSSUPGBASE_H
9 
10 #include "NSKernel.h"
11 
12 // Forward Declarations
13 class NSSUPGBase;
14 
15 template <>
16 InputParameters validParams<NSSUPGBase>();
17 
23 class NSSUPGBase : public NSKernel
24 {
25 public:
26  NSSUPGBase(const InputParameters & parameters);
27 
28 protected:
29  // Material properties
30  const MaterialProperty<RealTensorValue> & _viscous_stress_tensor;
31  const MaterialProperty<Real> & _dynamic_viscosity;
32  const MaterialProperty<Real> & _thermal_conductivity;
33 
34  // SUPG-related material properties.
35  const MaterialProperty<Real> & _hsupg;
36  const MaterialProperty<Real> & _tauc;
37  const MaterialProperty<Real> & _taum;
38  const MaterialProperty<Real> & _taue;
39  const MaterialProperty<std::vector<Real>> & _strong_residuals;
40 
41  // Momentum equation inviscid flux matrices
42  const MaterialProperty<std::vector<RealTensorValue>> & _calA;
43 
44  // "velocity column" matrices
45  const MaterialProperty<std::vector<RealTensorValue>> & _calC;
46 
47  // Energy equation inviscid flux matrices
48  const MaterialProperty<std::vector<std::vector<RealTensorValue>>> & _calE;
49 
50  // "Old" (from previous timestep) coupled variable values.
51  // const VariableValue & _rho_old;
52  // const VariableValue & _rho_u_old;
53  // const VariableValue & _rho_v_old;
54  // const VariableValue & _rho_w_old;
55  // const VariableValue & _rho_e_old;
56 
57  // The derivative of "udot" wrt u for each of the momentum variables.
58  // This is always 1/dt unless you are using BDF2...
59  const VariableValue & _d_rhodot_du;
60  const VariableValue & _d_rhoudot_du;
61  const VariableValue & _d_rhovdot_du;
62  const VariableValue & _d_rhowdot_du;
63  const VariableValue & _d_rhoEdot_du;
64 
65  // Temperature is need to compute speed of sound
66  const VariableValue & _temperature;
67 
68  // Enthalpy aux variable
69  const VariableValue & _enthalpy;
70 };
71 
72 #endif // NSSUPGBASE_H
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition: NSKernel.h:27
const VariableValue & _temperature
Definition: NSSUPGBase.h:66
InputParameters validParams< NSSUPGBase >()
Definition: NSSUPGBase.C:17
const MaterialProperty< Real > & _dynamic_viscosity
Definition: NSSUPGBase.h:31
const VariableValue & _d_rhodot_du
Definition: NSSUPGBase.h:59
const VariableValue & _d_rhoudot_du
Definition: NSSUPGBase.h:60
const MaterialProperty< std::vector< RealTensorValue > > & _calC
Definition: NSSUPGBase.h:45
const VariableValue & _d_rhowdot_du
Definition: NSSUPGBase.h:62
const MaterialProperty< Real > & _thermal_conductivity
Definition: NSSUPGBase.h:32
const MaterialProperty< Real > & _taum
Definition: NSSUPGBase.h:37
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
Definition: NSSUPGBase.h:30
const MaterialProperty< std::vector< RealTensorValue > > & _calA
Definition: NSSUPGBase.h:42
const MaterialProperty< std::vector< Real > > & _strong_residuals
Definition: NSSUPGBase.h:39
NSSUPGBase(const InputParameters &parameters)
Definition: NSSUPGBase.C:26
const MaterialProperty< Real > & _tauc
Definition: NSSUPGBase.h:36
const VariableValue & _d_rhovdot_du
Definition: NSSUPGBase.h:61
const VariableValue & _enthalpy
Definition: NSSUPGBase.h:69
const MaterialProperty< Real > & _hsupg
Definition: NSSUPGBase.h:35
This class acts as a base class for stabilization kernels.
Definition: NSSUPGBase.h:23
const MaterialProperty< std::vector< std::vector< RealTensorValue > > > & _calE
Definition: NSSUPGBase.h:48
const VariableValue & _d_rhoEdot_du
Definition: NSSUPGBase.h:63
const MaterialProperty< Real > & _taue
Definition: NSSUPGBase.h:38