 Collaboration diagram for Compressible models options:
 Collaboration diagram for Compressible models options:| Modules | |
| Homogeneous two-phase compressible model options | |
| Common | |
| Enthalpic variables pointers | |
| Boundary conditions | |
| Data Types | |
| struct | cs_cf_model_t | 
| Compressible model general options descriptor.  More... | |
| Variables | |
| integer(c_int), pointer, save | ieos | 
| indicator of equation of state mapping cs_cf_model_t::ieos  More... | |
| integer(c_int), pointer, save | ithvar | 
| thermodynamic variables indicator for initialization mapping cs_cf_model_t::ithvar  More... | |
| integer(c_int), pointer, save | icfgrp | 
| indicator for thermodynamic variables initialization  More... | |
| integer, dimension(:), allocatable, target | ifbet | 
| imposed thermal flux indicator at the boundary (some boundary contributions of the total energy eq. have to be cancelled)  More... | |
| integer, dimension(:), allocatable, target | icvfli | 
| boundary convection flux indicator of a Rusanov or an analytical flux (some boundary contributions of the momentum eq. have to be cancelled)  More... | |
| real(c_double), pointer, save | psginf | 
| Stiffened gas limit pressure (Pa) for single phase model Equal to zero in perfect gas mapping cs_cf_model_t::psginf.  More... | |
| real(c_double), pointer, save | gammasg | 
| Stiffened gas polytropic coefficient (dimensionless) for single phase model mapping cs_cf_model_t::gammasg.  More... | |
| integer, save | ienerg | 
| specific total energy for compressible algorithm  More... | |
| integer, save | itempk | 
| temperature deduced from the specific total energy  More... | |
| int | ieos | 
| int | ithvar | 
| int | icfgrp | 
| double | psginf | 
| double | gammasg | 
\ defgroup compressible Compressible models options
| real(c_double), pointer, save gammasg | 
Stiffened gas polytropic coefficient (dimensionless) for single phase model mapping cs_cf_model_t::gammasg.
| gammasg | 
stiffened gas polytropic coefficient (dimensionless) for single phase model
| integer(c_int), pointer, save icfgrp | 
indicator for thermodynamic variables initialization
| icfgrp | 
indicator for hydrostatic balance in boundary conditions
In the cases where gravity is predominant, taking into account the hydrostatic pressure allows to get rid of perturbations which may appear near the horizontal walls when the flow is weakly convective.
Otherwise, when icfgrp=0, the pressure condition is calculated from the solution of the unidimensional Euler equations for a perfect gas near a wall, for the variables "normal velocity", "density" and "pressure":
Case of an expansion (M <= 0):
 
Case of a schock (M > 0):
 
with  , internal Mach number calculated with the variables taken in the cell.
, internal Mach number calculated with the variables taken in the cell. 
| integer, dimension(:), allocatable, target icvfli | 
boundary convection flux indicator of a Rusanov or an analytical flux (some boundary contributions of the momentum eq. have to be cancelled)
| integer, save ienerg | 
specific total energy for compressible algorithm
| integer(c_int), pointer, save ieos | 
indicator of equation of state mapping cs_cf_model_t::ieos
| ieos | 
indicator of equation of state
| integer, dimension(:), allocatable, target ifbet | 
imposed thermal flux indicator at the boundary (some boundary contributions of the total energy eq. have to be cancelled)
| integer, save itempk | 
temperature deduced from the specific total energy
| integer(c_int), pointer, save ithvar | 
thermodynamic variables indicator for initialization mapping cs_cf_model_t::ithvar
| ithvar | 
indicator for thermodynamic variables initialization
| real(c_double), pointer, save psginf | 
Stiffened gas limit pressure (Pa) for single phase model Equal to zero in perfect gas mapping cs_cf_model_t::psginf.
| psginf | 
stiffened gas limit pressure (zero in perfect gas) for single phase model in Pa