![]() |
Code_Saturne
CFD tool
|
Update the convective mass flux before the Navier Stokes equations (prediction and correction steps). More...
Functions/Subroutines | |
subroutine | predfl (nvar, nscal, ncesmp, icetsm, dt, rtp, rtpa, propce, propfa, propfb, smacel) |
Update the convective mass flux before the Navier Stokes equations (prediction and correction steps).
This function computes a potential solving the equation:
This potential is then used to update the mass flux as follows:
subroutine predfl | ( | integer | nvar, |
integer | nscal, | ||
integer | ncesmp, | ||
integer, dimension(ncesmp) | icetsm, | ||
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(ncesmp,nvar) | smacel | ||
) |
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | ncesmp | number of cells with mass source term |
[in] | icetsm | index of cells with mass source term |
[in] | dt | time step (per cell) |
[in] | rtp,rtpa | calculated variables at cell centers (at current and previous time steps) |
[in] | propce | physical properties at cell centers |
[in,out] | propfa | physical properties at interior face centers |
[in,out] | propfb | physical properties at boundary face centers |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ![]() |