8.0
general documentation
Loading...
Searching...
No Matches
cs_turbulence_ke.h File Reference
#include "cs_defs.h"
Include dependency graph for cs_turbulence_ke.h:

Go to the source code of this file.

Functions

void cs_turbulence_ke (cs_lnum_t ncesmp, cs_lnum_t icetsm[], int itypsm[], const cs_real_t *dt, cs_real_t smacel[], cs_real_t *prdv2f)
 Solve the k-epsilon equations.
void cs_turbulence_ke_clip (cs_lnum_t n_cells, int iclip)
 Clipping of the turbulent kinetic energy and turbulent dissipation.
void cs_turbulence_ke_q_mu_t (void)
 Calculation of turbulent viscosity for the non-linear quadratic K-epsilon from Baglietto et al. (2005)
void cs_turbulence_ke_q (cs_real_6_t rij[])
 Calculation of non linear terms of the quadratic k-epsilon model (Baglietto et al.)

Function Documentation

◆ cs_turbulence_ke()

void cs_turbulence_ke ( cs_lnum_t ncesmp,
cs_lnum_t icetsm[],
int itypsm[],
const cs_real_t * dt,
cs_real_t smacel[],
cs_real_t * prdv2f )

Solve the k-epsilon equations.

Solve the $ k - \varepsilon $ for incompressible flows or slightly compressible flows for one time step.

Parameters
[in]ncesmpnumber of cells with mass source term
[in]icetsmindex of cells with mass source term
[in]itypsmmass source type for the variables size: [nvar][ncesmp]
[in]dttime step (per cell)
[in]smacelvalues of the variables associated to the mass source (for the pressure variable, smacel is the mass flux) size: [nvar][ncesmp]
[out]prdv2fv2f production term

◆ cs_turbulence_ke_clip()

void cs_turbulence_ke_clip ( cs_lnum_t n_cells,
int iclip )

Clipping of the turbulent kinetic energy and turbulent dissipation.

Parameters
[in]n_cellsnumber of cells
[in]iclipindicator = 0 if viscl0 is used otherwise viscl is used.

◆ cs_turbulence_ke_q()

void cs_turbulence_ke_q ( cs_real_6_t rij[])

Calculation of non linear terms of the quadratic k-epsilon model (Baglietto et al.)

Parameters
[out]rijnon linear terms of quadratic Boussinesq approximation

◆ cs_turbulence_ke_q_mu_t()

void cs_turbulence_ke_q_mu_t ( void )

Calculation of turbulent viscosity for the non-linear quadratic K-epsilon from Baglietto et al. (2005)