programmer's documentation
Functions/Subroutines
cfener.f90 File Reference

Perform the solving of the convection/diffusion equation (with eventual source terms) for total energy over a time step. It is the third step of the compressible algorithm at each time iteration. More...

Functions/Subroutines

subroutine cfener (nvar, nscal, ncepdp, ncesmp, iscal, icepdc, icetsm, itypsm, dt, propce, ckupdc, smacel)
 

Detailed Description

Perform the solving of the convection/diffusion equation (with eventual source terms) for total energy over a time step. It is the third step of the compressible algorithm at each time iteration.

Function/Subroutine Documentation

subroutine cfener ( integer  nvar,
integer  nscal,
integer  ncepdp,
integer  ncesmp,
integer  iscal,
integer, dimension(ncepdp)  icepdc,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar)  itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncelet,*)  propce,
double precision, dimension(ncepdp,6)  ckupdc,
double precision, dimension(ncesmp,nvar)  smacel 
)
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]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,out]propcephysical properties at cell centers
[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 $)