My Project
programmer's documentation
Functions/Subroutines
dttvar.f90 File Reference

Compute the local time step and add the Courant and Fourier number to. More...

Functions/Subroutines

subroutine dttvar (nvar, nscal, ncepdp, ncesmp, iwarnp, icepdc, icetsm, itypsm, dt, ckupdc, smacel)
 This function has access to the boundary face type, except for the first time step. More...
 

Detailed Description

Compute the local time step and add the Courant and Fourier number to.

Function/Subroutine Documentation

◆ dttvar()

subroutine dttvar ( 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 
)

This function has access to the boundary face type, except for the first time step.

Parameters
[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 Examples of data settings for mass source terms (cs_user_mass_source_terms.f90))
[in]dttime step (per cell)
[in]ckupdchead loss coefficient
[in]smacelvalue associated to each variable in the mass source terms or mass rate (see Examples of data settings for mass source terms (cs_user_mass_source_terms.f90))