Go to the source code of this file.
◆ cs_turbulence_ke()
Solve the k-epsilon equations. 
Solve the  for incompressible flows or slightly compressible flows for one time step.
 for incompressible flows or slightly compressible flows for one time step.
- Parameters
- 
  
    | [in] | phase_id | turbulent phase id (-1 for single phase flow) |  | [in] | ncesmp | number of cells with mass source term |  | [in] | icetsm | index of cells with mass source term |  | [in] | itypsm | mass source type for the variables size: [nvar][ncesmp] |  | [in] | dt | time step (per cell) |  | [in] | smacel | values of the variables associated to the mass source (for the pressure variable, smacel is the mass flux) size: [nvar][ncesmp] |  | [out] | prdv2f | v2f production term |  
 
 
 
◆ cs_turbulence_ke_clip()
      
        
          | void cs_turbulence_ke_clip | ( | int | phase_id, | 
        
          |  |  | cs_lnum_t | n_cells, | 
        
          |  |  | int | iclip | 
        
          |  | ) |  |  | 
      
 
Clipping of the turbulent kinetic energy and turbulent dissipation. 
- Parameters
- 
  
    | [in] | phase_id | turbulent phase id (-1 for single phase flow) |  | [in] | n_cells | number of cells |  | [in] | iclip | indicator = 0 if viscl0 is used otherwise viscl is used. |  
 
 
 
◆ cs_turbulence_ke_mu_t()
      
        
          | void cs_turbulence_ke_mu_t | ( | int | phase_id | ) |  | 
      
 
Calculation of turbulent viscosity for the K-epsilon model. 
- Parameters
- 
  
    | [in] | phase_id | turbulent phase id (-1 for single phase flow) |  
 
 
 
◆ cs_turbulence_ke_q()
      
        
          | void cs_turbulence_ke_q | ( | int | phase_id, | 
        
          |  |  | cs_real_6_t | rij[] | 
        
          |  | ) |  |  | 
      
 
Calculation of non linear terms of the quadratic k-epsilon model (Baglietto et al.) 
- Parameters
- 
  
    | [in] | phase_id | turbulent phase id (-1 for single phase flow) |  | [out] | rij | non linear terms of quadratic Boussinesq approximation |  
 
 
 
◆ cs_turbulence_ke_q_mu_t()
      
        
          | void cs_turbulence_ke_q_mu_t | ( | int | phase_id | ) |  | 
      
 
Calculation of turbulent viscosity for the non-linear quadratic K-epsilon from Baglietto et al. (2005) 
- Parameters
- 
  
    | [in] | phase_id | turbulent phase id (-1 for single phase flow) |