COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Typedefs | Enumerations | Functions
cf3::physics::euler::euler2d Namespace Reference

Classes

struct  Data
 

Typedefs

typedef MatrixTypes< NDIM, NEQS >::RowVector_NEQS RowVector_NEQS
 
typedef MatrixTypes< NDIM, NEQS >::ColVector_NDIM ColVector_NDIM
 
typedef MatrixTypes< NDIM, NEQS >::Matrix_NEQSxNEQS Matrix_NEQSxNEQS
 
typedef MatrixTypes< NDIM, NEQS >::Matrix_NDIMxNEQS Matrix_NDIMxNEQS
 
typedef MatrixTypes< NDIM, NEQS >::Matrix_NDIMxNDIM Matrix_NDIMxNDIM
 

Enumerations

enum  { NEQS =4 }
 
enum  { NDIM =2 }
 

Functions

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. More...
 
void compute_convective_flux (const Data &p, const ColVector_NDIM &normal, RowVector_NEQS &flux)
 Convective flux in conservative form. More...
 
void compute_convective_wave_speed (const Data &p, const ColVector_NDIM &normal, Real &wave_speed)
 Maximum absolute wave speed. More...
 
void compute_convective_eigenvalues (const Data &p, const ColVector_NDIM &normal, RowVector_NEQS &eigen_values)
 Eigenvalues or wave speeds projected on a given normal. More...
 
void compute_convective_right_eigenvectors (const Data &p, const ColVector_NDIM &normal, Matrix_NEQSxNEQS &right_eigenvectors)
 Right eigenvectors projected on a given normal. More...
 
void compute_convective_left_eigenvectors (const Data &p, const ColVector_NDIM &normal, Matrix_NEQSxNEQS &left_eigenvectors)
 Left eigenvectors projected on a given normal. More...
 
void compute_rusanov_flux (const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
 Rusanov Approximate Riemann solver. More...
 
void compute_roe_average (const Data &left, const Data &right, Data &roe)
 Linearize a left and right state using the Roe average. More...
 
void compute_roe_flux (const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
 Roe Approximate Riemann solver. More...
 
void compute_hlle_flux (const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
 HLLE Approximate Riemann solver. More...
 
void compute_specific_entropy (const Data &p, Real &specific_entropy)
 Compute the specific entropy from the primitive variables. More...
 
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. More...
 
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. More...
 

Typedef Documentation

Definition at line 23 of file Types.hpp.

Definition at line 26 of file Types.hpp.

Definition at line 25 of file Types.hpp.

Definition at line 24 of file Types.hpp.

Definition at line 22 of file Types.hpp.

Enumeration Type Documentation

anonymous enum
Enumerator
NEQS 

Definition at line 19 of file Types.hpp.

anonymous enum
Enumerator
NDIM 

Definition at line 20 of file Types.hpp.

Function Documentation

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 at line 46 of file Functions.cpp.

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 at line 17 of file Functions.cpp.

void compute_convective_flux ( const Data p,
const ColVector_NDIM normal,
RowVector_NEQS flux 
)

Convective flux in conservative form.

Definition at line 29 of file Functions.cpp.

void compute_convective_left_eigenvectors ( const Data p,
const ColVector_NDIM normal,
Matrix_NEQSxNEQS left_eigenvectors 
)

Left eigenvectors projected on a given normal.

Definition at line 73 of file Functions.cpp.

void compute_convective_right_eigenvectors ( const Data p,
const ColVector_NDIM normal,
Matrix_NEQSxNEQS right_eigenvectors 
)

Right eigenvectors projected on a given normal.

Definition at line 57 of file Functions.cpp.

void compute_convective_wave_speed ( const Data p,
const ColVector_NDIM normal,
Real &  wave_speed 
)

Maximum absolute wave speed.

Definition at line 40 of file Functions.cpp.

void compute_hlle_flux ( const Data left,
const Data right,
const ColVector_NDIM normal,
RowVector_NEQS flux,
Real &  wave_speed 
)

HLLE Approximate Riemann solver.

Note
Performs reasonably well, and reasonably performant

Definition at line 164 of file Functions.cpp.

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 at line 209 of file Functions.cpp.

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 at line 218 of file Functions.cpp.

void compute_roe_average ( const Data left,
const Data right,
Data roe 
)

Linearize a left and right state using the Roe average.

Definition at line 107 of file Functions.cpp.

void compute_roe_flux ( const Data left,
const Data right,
const ColVector_NDIM normal,
RowVector_NEQS flux,
Real &  wave_speed 
)

Roe Approximate Riemann solver.

Note
Performs very well, but computationally expensive

Definition at line 122 of file Functions.cpp.

void compute_rusanov_flux ( const Data left,
const Data right,
const ColVector_NDIM normal,
RowVector_NEQS flux,
Real &  wave_speed 
)

Rusanov Approximate Riemann solver.

Note
Very fast, but very dissipative

Definition at line 95 of file Functions.cpp.

void compute_specific_entropy ( const Data p,
Real &  specific_entropy 
)

Compute the specific entropy from the primitive variables.

Definition at line 203 of file Functions.cpp.

Send comments to:
COOLFluiD Web Admin