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 
11 
12 
13 #ifndef cf3_physics_euler_euler2d_Functions_hpp
14 #define cf3_physics_euler_euler2d_Functions_hpp
15 
17 
18 namespace cf3 {
19 namespace physics {
20 namespace euler {
21 namespace euler2d {
22 
24 
26 void compute_convective_flux( const Data& p, const ColVector_NDIM& normal,
27  RowVector_NEQS& flux );
28 
30 void compute_convective_flux( const Data& p, const ColVector_NDIM& normal,
31  RowVector_NEQS& flux, Real& wave_speed );
32 
34 void compute_convective_wave_speed( const Data& p, const ColVector_NDIM& normal,
35  Real& wave_speed );
36 
38 void compute_convective_eigenvalues( const Data& p, const ColVector_NDIM& normal,
39  RowVector_NEQS& eigen_values );
40 
43  Matrix_NEQSxNEQS& right_eigenvectors );
44 
47  Matrix_NEQSxNEQS& left_eigenvectors );
48 
50 void compute_roe_average( const Data& left, const Data& right,
51  Data& roe );
52 
55 void compute_rusanov_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
56  RowVector_NEQS& flux, Real& wave_speed );
57 
60 void compute_roe_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
61  RowVector_NEQS& flux, Real& wave_speed );
62 
65 void compute_hlle_flux( const Data& left, const Data& right, const ColVector_NDIM& normal,
66  RowVector_NEQS& flux, Real& wave_speed );
67 
69 void compute_specific_entropy( const Data& p, Real& specific_entropy );
70 
73  Matrix_NEQSxNEQS& dcons_dprim );
74 
77  Matrix_NEQSxNEQS& dprim_dcons );
78 
80 
81 } // euler2d
82 } // euler
83 } // physics
84 } // cf3
85 
86 #endif // cf3_physics_euler_euler2d_Functions_hpp
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:57
void compute_convective_wave_speed(const Data &p, const ColVector_NDIM &normal, Real &wave_speed)
Maximum absolute wave speed.
Definition: Functions.cpp:40
boost::proto::terminal< SFOp< NormalOp > >::type const normal
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:95
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:164
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:73
MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
Definition: Types.hpp:23
Top-level namespace for coolfluid.
Definition: Action.cpp:18
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:122
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:17
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:107
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:46
void compute_jacobian_conservative_wrt_primitive(const Data &p, Matrix_NEQSxNEQS &dcons_dprim)
Calculate the Jacobian of the conserved variables with respect to the primitive variables.
Definition: Functions.cpp:209
MatrixTypes< NDIM, NEQS >::Matrix_NEQSxNEQS Matrix_NEQSxNEQS
Definition: Types.hpp:24
void compute_jacobian_primitive_wrt_conservative(const Data &p, Matrix_NEQSxNEQS &dprim_dcons)
Calculate the Jacobian of the primitive variables with respect to the conservative variables...
Definition: Functions.cpp:218
void compute_specific_entropy(const Data &p, Real &specific_entropy)
Compute the specific entropy from the primitive variables.
Definition: Functions.cpp:203
MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
Definition: Types.hpp:22
Send comments to:
COOLFluiD Web Admin