My Project
programmer's documentation
|
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...
Functions/Subroutines | |
subroutine | covofi (nvar, nscal, ncepdp, ncesmp, nfbpcd, ncmast, iterns, iscal, itspdv, icepdc, icetsm, ifbpcd, ltmast, itypsm, itypcd, itypst, dt, tslagr, ckupdc, smacel, spcond, svcond, flxmst, viscf, viscb) |
This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a scalar quantity over a time step.
Please refer to the covofi section of the theory guide for more informations.
subroutine covofi | ( | integer | nvar, |
integer | nscal, | ||
integer | ncepdp, | ||
integer | ncesmp, | ||
integer | nfbpcd, | ||
integer | ncmast, | ||
integer | iterns, | ||
integer | iscal, | ||
integer | itspdv, | ||
integer, dimension(ncepdp) | icepdc, | ||
integer, dimension(ncesmp) | icetsm, | ||
integer, dimension(nfbpcd) | ifbpcd, | ||
integer, dimension(ncelet) | ltmast, | ||
integer, dimension(ncesmp,nvar) | itypsm, | ||
integer, dimension(nfbpcd,nvar) | itypcd, | ||
integer, dimension(ncelet,nvar) | itypst, | ||
double precision, dimension(ncelet) | dt, | ||
double precision, dimension(ncelet,*) | tslagr, | ||
double precision, dimension(6,ncepdp) | ckupdc, | ||
double precision, dimension(ncesmp,nvar) | smacel, | ||
double precision, dimension(nfbpcd,nvar) | spcond, | ||
double precision, dimension(ncelet,nvar) | svcond, | ||
double precision, dimension(ncelet) | flxmst, | ||
double precision, dimension(nfac) | viscf, | ||
double precision, dimension(nfabor) | viscb | ||
) |
[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] | nfbpcd | number of faces with condensation source terms |
[in] | ncmast | number of cells with condensation source terms |
[in] | iterns | Navier-Stokes iteration number |
[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] | ifbpcd | index of faces with condensation source terms |
[in] | ltmast | index of cells with condensation source terms |
[in] | itypsm | type of mass source term for the variables |
[in] | itypcd | type of surface condensation source term |
[in] | itypst | type of volume condensation source term |
[in] | dt | time step (per cell) |
[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] | spcond | variable value associated to the condensation source term (for ivar=ipr, spcond is the flow rate ) |
[in] | svcond | variable value associated to the condensation source term (for ivar=ipr, svcond is the flow rate ) |
[in] | flxmst | variable value associated to heat transfer flux associated to the metal mass condensation |
[in] | viscf | visc*surface/dist at internal faces |
[in] | viscb | visc*surface/dist at boundary faces |