Time step options and variables

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
Time step options and variables
Module for calculation options
Collaboration diagram for Time step options and variables:

## Variables
integer(c_int), pointer, save | ntpabs
| Absolute time step number for previous calculation. More...
integer(c_int), pointer, save | ntcabs
| Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterations. More...
integer(c_int), pointer, save | ntmabs
| Maximum absolute time step number. More...
real(c_double), pointer, save | ttpabs
| Absolute time value for previous calculation. More...
real(c_double), pointer, save | ttcabs
| Current absolute time. In case of restart, this is equal to ttpabs + additional computed time. More...
real(c_double), pointer, save | ttmabs
| Maximum absolute time. More...
integer, save | inpdt0
| indicator "zero time step" More...
integer, save | iptlro
| Clip the time step with respect to the buoyant effects. More...
integer, save | idtvar
| option for a variable time step More...
double precision, save | dtref
| reference time step More...
double precision, save | coumax
| maximum Courant number (when idtvar is different from 0) More...
double precision, save | cflmmx
| maximum Courant number for the continuity equation in compressible model More...
double precision, save | foumax
| maximum Fourier number (when idtvar is different from 0) More...
double precision, save | varrdt
| relative allowed variation of dt (when idtvar is different from 0) More...
double precision, save | dtmin
| minimum value of dt (when idtvar is different from 0). Take dtmin = min (ld/ud, sqrt(lt/(gdelta rho/rho)), ...) More...
double precision, save | dtmax
| maximum value of dt (when idtvar is different from 0). Take dtmax = max (ld/ud, sqrt(lt/(gdelta rho/rho)), ...) More...
double precision, dimension(nvarmx), save | cdtvar
| multiplicator coefficient for the time step of each variable More...
double precision, dimension(nvarmx), save | relaxv
| relaxation of variables (1 stands fo no relaxation) More...
double precision, save | relxst
| relaxation coefficient for the stationary algorithm More...

## Detailed Description

## Variable Documentation

double precision, dimension(nvarmx), save cdtvar

multiplicator coefficient for the time step of each variable

- useless for u,v,w,p
- for k,e the same value is taken (value of k)
- for Rij, e the same value is taken (value of r11)

double precision, save cflmmx

maximum Courant number for the continuity equation in compressible model

double precision, save coumax

maximum Courant number (when idtvar is different from 0)

double precision, save dtmax

maximum value of dt (when idtvar is different from 0). Take dtmax = max (ld/ud, sqrt(lt/(gdelta rho/rho)), ...)

double precision, save dtmin

minimum value of dt (when idtvar is different from 0). Take dtmin = min (ld/ud, sqrt(lt/(gdelta rho/rho)), ...)

double precision, save dtref

reference time step

double precision, save foumax

maximum Fourier number (when idtvar is different from 0)

integer, save idtvar

option for a variable time step

- -1: stationary algorithm
- 0: constant time step
- 1: time step constant in space but variable in time
- 2: variable time step in space and in time

integer, save inpdt0

indicator "zero time step"

- 0: standard calculation
- 1: to simulate no time step
  - pour les calculs non suite : on saute uniquement les resolutions (Navier-Stokes, turbulence, scalaires...)
  - pour les calculs suite : on saute les resolutions (navier-stokes, turbulence, scalaires...) et le calcul des proprietes physiques, les conditions aux limites (les grandeurs sont lues dans le fichier suite)

integer, save iptlro

Clip the time step with respect to the buoyant effects.

- 0: false
- 1: true

integer(c_int), pointer, save ntcabs

Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterations.

integer(c_int), pointer, save ntmabs

Maximum absolute time step number.

integer(c_int), pointer, save ntpabs

Absolute time step number for previous calculation.

double precision, dimension(nvarmx), save relaxv

relaxation of variables (1 stands fo no relaxation)

double precision, save relxst

relaxation coefficient for the stationary algorithm

real(c_double), pointer, save ttcabs

Current absolute time. In case of restart, this is equal to ttpabs + additional computed time.

real(c_double), pointer, save ttmabs

Maximum absolute time.

real(c_double), pointer, save ttpabs

Absolute time value for previous calculation.

double precision, save varrdt

relative allowed variation of dt (when idtvar is different from 0)