My Project
programmer's documentation
Functions/Subroutines
turbkw.f90 File Reference

Solving the $ k - \omega $ SST for incompressible flows or slightly compressible flows for one time step. More...

Functions/Subroutines

subroutine turbkw (nvar, nscal, ncepdp, ncesmp, icepdc, icetsm, itypsm, dt, tslagr, ckupdc, smacel)
 

Detailed Description

Solving the $ k - \omega $ SST for incompressible flows or slightly compressible flows for one time step.

Function/Subroutine Documentation

◆ turbkw()

subroutine turbkw ( integer  nvar,
integer  nscal,
integer  ncepdp,
integer  ncesmp,
integer, dimension(ncepdp)  icepdc,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncelet,*)  tslagr,
double precision, dimension(6,ncepdp)  ckupdc,
double precision, dimension(ncesmp,nvar smacel 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]ncepdpnumber of cells with head loss
[in]ncesmpnumber of cells with mass source term
[in]icepdcindex of the ncepdp cells with head loss
[in]icetsmindex of cells with mass source term
[in]itypsmmass source type for the variables (cf. cs_user_mass_source_terms)
[in]dttime step (per cell)
[in]tslagrcoupling term of the lagangian module
[in]ckupdcwork array for the head loss
[in]smacelvalues of the variables associated to the mass source (for ivar=ipr, smacel is the mass flux)