Compute the local time step and add the Courant and Fourier number to the log. More...
Functions/Subroutines | |
subroutine | dttvar (itrale, nvar, nscal, ncepdp, ncesmp, iwarnp, icepdc, icetsm, itypsm, dt, ckupdc, smacel) |
subroutine | cs_compute_courant_fourier () |
Compute the local the Courant and Fourier number to the log. More... | |
Compute the local time step and add the Courant and Fourier number to the log.
When using an adaptive time step (idtvar = 1), coupling syncronization and update (incrementation) of the time step is done in the function (rather than earlier) as soon as the required information is available.
This function has access to the boundary face type, except for the first time step.
subroutine cs_compute_courant_fourier |
Compute the local the Courant and Fourier number to the log.
This function has access to the boundary face type, except for the first time step.
subroutine dttvar | ( | integer | itrale, |
integer | nvar, | ||
integer | nscal, | ||
integer | ncepdp, | ||
integer | ncesmp, | ||
integer | iwarnp, | ||
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 | ||
) |
[in] | itrale | ALE iteration number |
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | ncepdp | number of cells with head loss terms |
[in] | ncesmp | number of cells with mass source terms |
[in] | iwarnp | verbosity |
[in] | icepdc | index number of cells with head loss terms |
[in] | icetsm | index number of cells with mass source terms |
[in] | itypsm | type of mass source term for each variable (see cs_user_mass_source_terms) |
[in] | dt | time step (per cell) |
[in] | ckupdc | head loss coefficient |
[in] | smacel | value associated to each variable in the mass source terms or mass rate (see cs_user_mass_source_terms) |