COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions.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 
10 
11 #ifndef cf3_physics_euler_euler1D_Functions_hpp
12 #define cf3_physics_euler_euler1D_Functions_hpp
13 
15 
16 namespace cf3 {
17 namespace physics {
18 namespace euler {
19 namespace euler1d {
20 
22 
24 void compute_convective_flux( const Data& p, const ColVector_NDIM& normal,
25  RowVector_NEQS& flux );
26 
28 void compute_convective_flux( const Data& p, const ColVector_NDIM& normal,
29  RowVector_NEQS& flux, Real& wave_speed );
30 
32 void compute_convective_wave_speed( const Data& p, const ColVector_NDIM& normal,
33  Real& wave_speed );
34 
36 void compute_convective_eigenvalues( const Data& p, const ColVector_NDIM& normal,
37  RowVector_NEQS& eigen_values );
38 
41  Matrix_NEQSxNEQS& right_eigenvectors );
42 
45  Matrix_NEQSxNEQS& left_eigenvectors );
46 
48 void compute_roe_average( const Data& left, const Data& right,
49  Data& roe );
50 
53 void compute_rusanov_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
54  RowVector_NEQS& flux, Real& wave_speed );
55 
58 void compute_roe_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
59  RowVector_NEQS& flux, Real& wave_speed );
60 
63 void compute_hlle_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
64  RowVector_NEQS& flux, Real& wave_speed );
65 
67 
68 } // euler1D
69 } // euler
70 } // physics
71 } // cf3
72 
73 #endif // cf3_physics_euler_euler1D_Functions_hpp
boost::proto::terminal< SFOp< NormalOp > >::type const normal
MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
Definition: Types.hpp:23
void compute_roe_average(const Data &left, const Data &right, Data &roe)
Linearize a left and right state using the Roe average.
Definition: Functions.cpp:94
void compute_roe_flux(const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
Roe Approximate Riemann solver.
Definition: Functions.cpp:110
void compute_convective_flux(const Data &p, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
Convective flux in conservative form, and maximum absolute wave speed.
Definition: Functions.cpp:18
void compute_convective_eigenvalues(const Data &p, const ColVector_NDIM &normal, RowVector_NEQS &eigen_values)
Eigenvalues or wave speeds projected on a given normal.
Definition: Functions.cpp:45
MatrixTypes< NDIM, NEQS >::Matrix_NEQSxNEQS Matrix_NEQSxNEQS
Definition: Types.hpp:24
MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
Definition: Types.hpp:22
void compute_convective_right_eigenvectors(const Data &p, const ColVector_NDIM &normal, Matrix_NEQSxNEQS &right_eigenvectors)
Right eigenvectors projected on a given normal.
Definition: Functions.cpp:55
void compute_convective_wave_speed(const Data &p, const ColVector_NDIM &normal, Real &wave_speed)
Maximum absolute wave speed.
Definition: Functions.cpp:39
Top-level namespace for coolfluid.
Definition: Action.cpp:18
void compute_rusanov_flux(const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
Rusanov Approximate Riemann solver.
Definition: Functions.cpp:82
void compute_convective_left_eigenvectors(const Data &p, const ColVector_NDIM &normal, Matrix_NEQSxNEQS &left_eigenvectors)
Left eigenvectors projected on a given normal.
Definition: Functions.cpp:64
void compute_hlle_flux(const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
HLLE Approximate Riemann solver.
Definition: Functions.cpp:159
Send comments to:
COOLFluiD Web Admin