My Project
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, 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.

Please refer to the cfener section of the theory guide for more informations.

Function/Subroutine Documentation

◆ cfener()

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(6,ncepdp)  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]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 $)