|
Code_Saturne
CFD tool
|
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, propfa, propfb, tslagr, coefa, coefb, ckupdc, smacel, prdv2f) |
Solving the
for incompressible flows or slightly compressible flows for one time step.
| 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(nfac,*) | propfa, | ||
| double precision, dimension(ndimfb,*) | propfb, | ||
| double precision, dimension(ncelet,*) | tslagr, | ||
| double precision, dimension(ndimfb,*) | coefa, | ||
| double precision, dimension(ndimfb,*) | coefb, | ||
| double precision, dimension(ncepdp,6) | ckupdc, | ||
| double precision, dimension(ncesmp,nvar) | smacel, | ||
| double precision, dimension(ncelet) | prdv2f | ||
| ) |
| [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] | propfa | physical properties at interior face centers |
| [in] | propfb | physical properties at boundary face centers |
| [in] | tslagr | coupling term of the lagangian module |
| [in] | coefa,coefb | boundary conditions |
| [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 |

1.8.13