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_lineuler_lineuler2d_Data_hpp
8 #define cf3_physics_lineuler_lineuler2d_Data_hpp
9 
11 
12 namespace cf3 {
13 namespace physics {
14 namespace lineuler {
15 namespace lineuler2d {
16 
18 
19 struct Data
20 {
21  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
22 
25 
27 
28  Real gamma;
29 
30 
32 
34  Real rho0;
35  Real p0;
36  Real c0;
37 
43 
44  Real rho;
46  Real U2;
47  Real p;
48 
51  void compute_from_conservative(const RowVector_NEQS& cons);
52 
55  void compute_from_primitive(const RowVector_NEQS& prim);
56 };
57 
59 
60 } // lineuler2d
61 } // lineuler
62 } // physics
63 } // cf3
64 
65 #endif // cf3_physics_lineuler_lineuler2d_Data_hpp
MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
Definition: Types.hpp:22
MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
Definition: Types.hpp:23
void compute_from_primitive(const RowVector_NEQS &prim)
Compute the data given primitive state.
Definition: Data.cpp:28
void compute_from_conservative(const RowVector_NEQS &cons)
Compute the data given conservative state.
Definition: Data.cpp:17
Top-level namespace for coolfluid.
Definition: Action.cpp:18
ColVector_NDIM U
velocity
Definition: Data.hpp:45
Real gamma
specific heat ratio
Definition: Data.hpp:28
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ColVector_NDIM coords
< storing fixed-sized Eigen structures
Definition: Data.hpp:23
Send comments to:
COOLFluiD Web Admin