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 
7 #ifndef cf3_physics_euler_euler1D_Data_hpp
8 #define cf3_physics_euler_euler1D_Data_hpp
9 
11 
12 namespace cf3 {
13 namespace physics {
14 namespace euler {
15 namespace euler1d {
16 
18 
19 struct Data
20 {
21  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
22 
25 
27 
28  Real gamma;
29  Real R;
30 
31 
32  Real rho;
33  Real u;
34  Real u2;
35  Real H;
36  Real c2;
37  Real c;
38  Real p;
39  Real T;
40  Real E;
41  Real M;
42 
45  void compute_from_conservative(const RowVector_NEQS& cons);
46 
49  void compute_from_primitive(const RowVector_NEQS& prim);
50 };
51 
53 
54 } // euler1D
55 } // euler
56 } // physics
57 } // cf3
58 
59 #endif // cf3_physics_euler_euler1D_Data_hpp
MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
Definition: Types.hpp:23
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ColVector_NDIM coords
< storing fixed-sized Eigen structures
Definition: Data.hpp:23
void compute_from_conservative(const RowVector_NEQS &cons)
Compute the data given conservative state.
Definition: Data.cpp:16
void compute_from_primitive(const RowVector_NEQS &prim)
Compute the data given primitive state.
Definition: Data.cpp:32
MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
Definition: Types.hpp:22
Real H
specific enthalpy
Definition: Data.hpp:35
Real c2
square of speed of sound, very commonly used
Definition: Data.hpp:36
Real u
velocity along XX
Definition: Data.hpp:33
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Real c
speed of sound
Definition: Data.hpp:37
Real E
specific total energy
Definition: Data.hpp:40
Real u2
velocity along XX squared
Definition: Data.hpp:34
Real gamma
specific heat ratio
Definition: Data.hpp:28
Send comments to:
COOLFluiD Web Admin