COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Typedefs | Enumerations | Functions
cf3::physics::lineuler::lineuler2d 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_absolute_flux_jacobian (const Data &p, const ColVector_NDIM &normal, Matrix_NEQSxNEQS &absolute_flux_jacobian)
 Absolute flux jacobian projected on a given normal. More...
 
void compute_cir_flux (const Data &left, const Data &right, const ColVector_NDIM &normal, RowVector_NEQS &flux, Real &wave_speed)
 CIR (Courant Isaacson Rees) Flux Splitting Upwind scheme for linear hyperbolic system Riemann solver F = 0.5 ( FL + FR ) - 0.5 |A| ( UR - UL ) More...
 
void cons_to_char (const RowVector_NEQS &conservative, const ColVector_NDIM &characteristic_normal, const Real &c0, RowVector_NEQS &characteristic)
 
void char_to_cons (const RowVector_NEQS &characteristic, const ColVector_NDIM &characteristic_normal, const Real &c0, RowVector_NEQS &conservative)
 

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 char_to_cons ( const RowVector_NEQS characteristic,
const ColVector_NDIM characteristic_normal,
const Real &  c0,
RowVector_NEQS conservative 
)

Definition at line 176 of file Functions.cpp.

void compute_absolute_flux_jacobian ( const Data p,
const ColVector_NDIM normal,
Matrix_NEQSxNEQS absolute_flux_jacobian 
)

Absolute flux jacobian projected on a given normal.

Definition at line 107 of file Functions.cpp.

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

CIR (Courant Isaacson Rees) Flux Splitting Upwind scheme for linear hyperbolic system Riemann solver F = 0.5 ( FL + FR ) - 0.5 |A| ( UR - UL )

Note
Use this to solve the Riemann problem

Definition at line 133 of file Functions.cpp.

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 53 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 33 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 79 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 65 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 47 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
Bad choice for Linearized Euler, since the exact CIR scheme is cheap too.

Definition at line 95 of file Functions.cpp.

void cons_to_char ( const RowVector_NEQS conservative,
const ColVector_NDIM characteristic_normal,
const Real &  c0,
RowVector_NEQS characteristic 
)

Definition at line 152 of file Functions.cpp.

Send comments to:
COOLFluiD Web Admin