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

Solving the $ R_{ij} - \epsilon $ for incompressible flows or slightly compressible flows for one time step. More...

Functions/Subroutines

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

Detailed Description

Solving the $ R_{ij} - \epsilon $ for incompressible flows or slightly compressible flows for one time step.

Please refer to the $ R_{ij} - \epsilon $ model section of the theory guide for more informations, as well as the turrij section.

Function/Subroutine Documentation

◆ turrij()

subroutine turrij ( integer  nvar,
integer  nscal,
integer  ncepdp,
integer  ncesmp,
integer, dimension(ncepdp)  icepdc,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar), target  itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncelet,ntersl), target  tslagr,
double precision, dimension(6,ncepdp)  ckupdc,
double precision, dimension(ncesmp,nvar), target  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)