Go to the source code of this file.
◆ cs_cf_cfl_compute()
Computation of the constraint for the CFL (compressible algorithm)
- Parameters
-
| [in] | wcf | compressible constraint |
◆ cs_cf_convective_mass_flux()
| void cs_cf_convective_mass_flux |
( |
int |
iterns | ) |
|
Update the convective mass flux before the velocity prediction step. It is the first step of the compressible algorithm at each time iteration.
This function solves the continuity equation in pressure formulation and then updates the density and the mass flux.
- Parameters
-
| [in] | iterns | Navier-Stokes iteration number |
◆ cs_compressible_pressure_ausm_mass_flux()
Compute the "mass flux" at the faces for the CFL restriction computation and the solving of the pressure (AUSM+up scheme)
- Parameters
-
| [in] | ctx | dispatch context |
| [in] | vel | velocity vector |
| [in] | crom | cell density |
| [in] | brom | density at boundary faces |
| [in] | p | thermodynamic pressure |
| [in] | bc_coeffs_v | BC structure for velocity vector |
| [in] | bc_coeffs_p | BC structure for pressure |
| [out] | imasfl | Internal faces mass flux |
| [out] | bmasfl | Boundary faces mass flux |