www.mooseframework.org
Air.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 AIR_H
8 #define AIR_H
9 
10 #include "NavierStokesMaterial.h"
11 
12 // Forward Declarations
13 class Air;
14 
15 template <>
16 InputParameters validParams<Air>();
17 
18 // Class for Air with constant properties
19 // TODO: Add thermal conductivity
20 class Air : public NavierStokesMaterial
21 {
22 public:
23  Air(const InputParameters & parameters);
24 
25 protected:
26  virtual void computeProperties();
27 
28  // The dynamic viscosity we will report back to the base class in computeProperties()
29  // This can be set in the input file, otherwise a default value for air at 300K will be
30  // used. Some tabulated values for air at different temperatures are given below:
31  //
32  // 100K, 0.6924e-5
33  // 150K, 1.0283e-5
34  // 200K, 1.3289e-5
35  // 250K, 1.4880e-5
36  // 300K, 1.9830e-5
37  // 350K, 2.0750e-5
38  // 400K, 2.2860e-5
39  // 450K, 2.4840e-5
40  // 500K, 2.6710e-5
41  // 550K, 2.8480e-5
42  // 600K, 3.0180e-5
43  Real _mu;
44 };
45 
46 #endif // AIR_H
Air(const InputParameters &parameters)
Definition: Air.C:26
InputParameters validParams< Air >()
Definition: Air.C:14
virtual void computeProperties()
Must be called after the child class computes dynamic_viscocity.
Definition: Air.C:32
Definition: Air.h:20
This is the base class all materials should use if you are trying to use the Navier-Stokes Kernels...
Real _mu
Definition: Air.h:43