COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Data.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
11 
12 #ifndef cf3_physics_euler_euler2d_Data_hpp
13 #define cf3_physics_euler_euler2d_Data_hpp
14 
16 
17 namespace cf3 {
18 namespace physics {
19 namespace euler {
20 namespace euler2d {
21 
23 
24 struct Data
25 {
26  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
27 
30 
32 
33  Real gamma;
34  Real R;
35 
36 
37  Real rho;
39  Real U2;
40  Real H;
41  Real c2;
42  Real c;
43  Real p;
44  Real T;
45  Real E;
46  Real M;
47 
50  void compute_from_conservative(const RowVector_NEQS& cons);
51 
54  void compute_from_primitive(const RowVector_NEQS& prim);
55 };
56 
58 
59 } // euler2d
60 } // euler
61 } // physics
62 } // cf3
63 
64 #endif // cf3_physics_euler_euler2d_Data_hpp
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ColVector_NDIM coords
< storing fixed-sized Eigen structures
Definition: Data.hpp:28
void compute_from_conservative(const RowVector_NEQS &cons)
Compute the data given conservative state.
Definition: Data.cpp:17
Real U2
velocity squared
Definition: Data.hpp:39
void compute_from_primitive(const RowVector_NEQS &prim)
Compute the data given primitive state.
Definition: Data.cpp:34
ColVector_NDIM U
velocity
Definition: Data.hpp:38
Real H
specific enthalpy
Definition: Data.hpp:40
Real c2
square of speed of sound, very commonly used
Definition: Data.hpp:41
MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
Definition: Types.hpp:23
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Real c
speed of sound
Definition: Data.hpp:42
Real E
specific total energy
Definition: Data.hpp:45
Real gamma
specific heat ratio
Definition: Data.hpp:33
MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
Definition: Types.hpp:22
Send comments to:
COOLFluiD Web Admin