This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a scalar quantity over a time step.
More...
|
subroutine | covofi (nvar, nscal, ncepdp, ncesmp, iscal, itspdv, icepdc, icetsm, itypsm, dt, rtp, rtpa, propce, tslagr, ckupdc, smacel, viscf, viscb, smbrs, rovsdt) |
|
This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a scalar quantity over a time step.
subroutine covofi |
( |
integer |
nvar, |
|
|
integer |
nscal, |
|
|
integer |
ncepdp, |
|
|
integer |
ncesmp, |
|
|
integer |
iscal, |
|
|
integer |
itspdv, |
|
|
integer, dimension(ncepdp) |
icepdc, |
|
|
integer, dimension(ncesmp) |
icetsm, |
|
|
integer, dimension(ncesmp,nvar) |
itypsm, |
|
|
double precision, dimension(ncelet) |
dt, |
|
|
double precision, dimension(ncelet,nflown:nvar) |
rtp, |
|
|
double precision, dimension(ncelet,nflown:nvar) |
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(nfac) |
viscf, |
|
|
double precision, dimension(nfabor) |
viscb, |
|
|
double precision, dimension(ncelet) |
smbrs, |
|
|
double precision, dimension(ncelet) |
rovsdt |
|
) |
| |
- 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] | iscal | scalar number |
[in] | itspdv | indicator to compute production/dissipation terms for a variance:
|
[in] | icepdc | index of cells with head loss |
[in] | icetsm | index of cells with mass source term |
[in] | itypsm | type of mass source term for the variables |
[in] | dt | time step (per cell) |
[in,out] | rtp,rtpa | calculated variables at cell centers (at current and previous time steps) |
[in] | propce | physical properties at cell centers |
[in] | tslagr | coupling term for the Lagrangian module |
[in] | ckupdc | work array for the head loss |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ) |
[in] | frcxt | external forces making hydrostatic pressure |
[in] | dfrcxt | variation of the external forces |
[in] | making | the hydrostatic pressure |
[in] | tpucou | non scalar time step in case of velocity pressure coupling |
[in] | trav | right hand side for the normalizing the residual |
[in] | viscf | visc*surface/dist aux faces internes |
[in] | viscb | visc*surface/dist aux faces de bord |
[in] | smbrs | tableau de travail |
[in] | rovsdt | tableau de travail |