src/turb/turbke.f90 File Reference

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
turbke.f90 File Reference

Solving the for incompressible flows or slightly compressible flows for one time step. More...

## Functions/Subroutines
subroutine | turbke (nvar, nscal, ncepdp, ncesmp, icepdc, icetsm, itypsm, dt, rtp, rtpa, propce, tslagr, ckupdc, smacel, prdv2f)

## Detailed Description

Solving the for incompressible flows or slightly compressible flows for one time step.

## Function/Subroutine Documentation

subroutine turbke | ( | 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,*) | rtp,
|  | double precision, dimension(ncelet,*) | rtpa,
|  | double precision, dimension(ncelet,*) | propce,
|  | double precision, dimension(ncelet,*) | tslagr,
|  | double precision, dimension(ncepdp,6) | ckupdc,
|  | double precision, dimension(ncesmp,nvar) | smacel,
|  | double precision, dimension(ncelet) | prdv2f
| ) |  |

Parameters

  [in] | nvar | total number of variables
  [in] | nscal | total number of scalars
  [in] | ncepdp | number of cells with head loss
  [in] | ncesmp | number of cells with mass source term
  [in] | icepdc | index of the ncepdp cells with head loss
  [in] | icetsm | index of cells with mass source term
  [in] | itypsm | mass source type for the variables (cf. ustsma)
  [in] | dt | time step (per cell)
  [in,out] | rtp | calculated variables at cell centers (at the current time step)
  [in] | rtpa | calculated variables at cell centers (at the previous time step)
  [in] | propce | physical properties at cell centers
  [in] | tslagr | coupling term of the lagangian module
  [in] | ckupdc | work array for the head loss
  [in] | smacel | values of the variables associated to the mass source (for ivar=ipr, smacel is the mass flux)
  [in] | prdv2f | production term stored for the v2f