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...
|
subroutine | cfener (nvar, nscal, ncepdp, ncesmp, iscal, icepdc, icetsm, itypsm, dt, ckupdc, smacel) |
|
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.
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(ncepdp,6) |
ckupdc, |
|
|
double precision, dimension(ncesmp,nvar) |
smacel |
|
) |
| |
- 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] | 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] | 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 ) |