8.0
general documentation
dttvar.f90 File Reference

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...
 

Detailed Description

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.

Function/Subroutine Documentation

◆ cs_compute_courant_fourier()

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.

◆ dttvar()

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 
)
Parameters
[in]itraleALE iteration number
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]ncepdpnumber of cells with head loss terms
[in]ncesmpnumber of cells with mass source terms
[in]iwarnpverbosity
[in]icepdcindex number of cells with head loss terms
[in]icetsmindex number of cells with mass source terms
[in]itypsmtype of mass source term for each variable (see cs_user_mass_source_terms)
[in]dttime step (per cell)
[in]ckupdchead loss coefficient
[in]smacelvalue associated to each variable in the mass source terms or mass rate (see cs_user_mass_source_terms)