8.1
general documentation
cs_turbulence_sa.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_turbulence_sa.h:

Go to the source code of this file.

Functions

void cs_turbulence_sa (cs_lnum_t ncesmp, cs_lnum_t icetsm[], int itypsm[], const cs_real_t dt[], cs_real_t smacel[], const int b_face_type[])
 Solve the $ \tilde{\nu} $ equations. More...
 
void cs_turbulence_sa_mu_t (void)
 Calculation of turbulent viscosity for the Spalart-Allmaras model. More...
 

Function Documentation

◆ cs_turbulence_sa()

void cs_turbulence_sa ( cs_lnum_t  ncesmp,
cs_lnum_t  icetsm[],
int  itypsm[],
const cs_real_t  dt[],
cs_real_t  smacel[],
const int  b_face_type[] 
)

Solve the $ \tilde{\nu} $ equations.

Solve the equation of $ \tilde{\nu} $, which is the scalar quantity defined by the Spalart-Allmaras model 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]
[in]b_face_typeboundary face types

omega² = vort and the trace of the velocity gradient = tr_gr_u are available The explicit part is stored in st_exp The implicit part is stored in st_imp !

◆ cs_turbulence_sa_mu_t()

void cs_turbulence_sa_mu_t ( void  )

Calculation of turbulent viscosity for the Spalart-Allmaras model.