My Project
programmer's documentation
Functions/Subroutines
covofv.f90 File Reference

This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a vectorial quantity over a time step. More...

Functions/Subroutines

subroutine covofv (nvar, nscal, ncepdp, ncesmp, iterns, iscal, icepdc, icetsm, itypsm, dt, ckupdc, smacel, viscf, viscb)
 

Detailed Description

This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a vectorial quantity over a time step.

Function/Subroutine Documentation

◆ covofv()

subroutine covofv ( integer  nvar,
integer  nscal,
integer  ncepdp,
integer  ncesmp,
integer  iterns,
integer  iscal,
integer, dimension(ncepdp)  icepdc,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(6,ncepdp)  ckupdc,
double precision, dimension(ncesmp,nvar smacel,
double precision, dimension(nfac)  viscf,
double precision, dimension(nfabor)  viscb 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]ncepdpnumber of cells with head loss
[in]ncesmpnumber of cells with mass source term
[in]iternsNavier-Stokes iteration number
[in]iscalscalar number
[in]icepdcindex of cells with head loss
[in]icetsmindex of cells with mass source term
[in]itypsmtype of mass source term for the variables
[in]dttime step (per cell)
[in]ckupdcwork array for the head loss
[in]smacelvariable value associated to the mass source term (for ivar=ipr, smacel is the mass flux $ \Gamma^n $)
[in]viscfvisc*surface/dist at internal faces
[in]viscbvisc*surface/dist at boundary faces