www.mooseframework.org
CNSFVMaterial.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 
8 #ifndef CNSFVMATERIAL_H
9 #define CNSFVMATERIAL_H
10 
11 #include "Material.h"
13 #include "SlopeLimitingBase.h"
14 
15 class CNSFVMaterial;
16 
17 template <>
18 InputParameters validParams<CNSFVMaterial>();
19 
42 class CNSFVMaterial : public Material
43 {
44 public:
45  CNSFVMaterial(const InputParameters & parameters);
46  virtual ~CNSFVMaterial();
47 
48 protected:
49  virtual void computeQpProperties();
50 
51  // piecewise constant conserved variables
52 
54  const VariableValue & _rhoc;
56  const VariableValue & _rhouc;
58  const VariableValue & _rhovc;
60  const VariableValue & _rhowc;
62  const VariableValue & _rhoec;
63 
64  // user objects
65 
70 
71  // derived variables at face center
72 
74  MaterialProperty<Real> & _rho;
76  MaterialProperty<Real> & _rhou;
78  MaterialProperty<Real> & _rhov;
80  MaterialProperty<Real> & _rhow;
82  MaterialProperty<Real> & _rhoe;
84  MaterialProperty<Real> & _vmag;
86  MaterialProperty<Real> & _pres;
88  MaterialProperty<Real> & _temp;
90  MaterialProperty<Real> & _enth;
92  MaterialProperty<Real> & _csou;
94  MaterialProperty<Real> & _mach;
96  MaterialProperty<Real> & _uadv;
98  MaterialProperty<Real> & _vadv;
100  MaterialProperty<Real> & _wadv;
102  MaterialProperty<Real> & _gamma;
103 };
104 
105 #endif
virtual void computeQpProperties()
Definition: CNSFVMaterial.C:69
MaterialProperty< Real > & _wadv
z-velocity
MaterialProperty< Real > & _rho
rho
Definition: CNSFVMaterial.h:74
MaterialProperty< Real > & _rhov
rhov
Definition: CNSFVMaterial.h:78
MaterialProperty< Real > & _csou
speed of sound
Definition: CNSFVMaterial.h:92
MaterialProperty< Real > & _pres
pressure
Definition: CNSFVMaterial.h:86
const VariableValue & _rhovc
y-component of momentum
Definition: CNSFVMaterial.h:58
MaterialProperty< Real > & _rhow
rhow
Definition: CNSFVMaterial.h:80
MaterialProperty< Real > & _rhoe
rhoe
Definition: CNSFVMaterial.h:82
MaterialProperty< Real > & _rhou
rhou
Definition: CNSFVMaterial.h:76
const VariableValue & _rhoec
total energy
Definition: CNSFVMaterial.h:62
virtual ~CNSFVMaterial()
Definition: CNSFVMaterial.C:66
const VariableValue & _rhouc
x-component of momentum
Definition: CNSFVMaterial.h:56
MaterialProperty< Real > & _gamma
gamma
A material kernel for the CNS equations.
Definition: CNSFVMaterial.h:42
MaterialProperty< Real > & _enth
specific total enthalpy
Definition: CNSFVMaterial.h:90
MaterialProperty< Real > & _vadv
y-velocity
Definition: CNSFVMaterial.h:98
Common class for single phase fluid properties.
CNSFVMaterial(const InputParameters &parameters)
Definition: CNSFVMaterial.C:39
const VariableValue & _rhowc
z-component pf momentum
Definition: CNSFVMaterial.h:60
MaterialProperty< Real > & _vmag
velocity magnitude
Definition: CNSFVMaterial.h:84
Base class for slope limiting to limit the slopes of cell average variables.
MaterialProperty< Real > & _mach
Mach number.
Definition: CNSFVMaterial.h:94
const SinglePhaseFluidProperties & _fp
fluid properties
Definition: CNSFVMaterial.h:69
InputParameters validParams< CNSFVMaterial >()
Definition: CNSFVMaterial.C:15
MaterialProperty< Real > & _temp
temperature
Definition: CNSFVMaterial.h:88
const VariableValue & _rhoc
density
Definition: CNSFVMaterial.h:54
MaterialProperty< Real > & _uadv
x-velocity
Definition: CNSFVMaterial.h:96
const SlopeLimitingBase & _lslope
slope limiting
Definition: CNSFVMaterial.h:67