8.3
general documentation
Time step options and variables
+ 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...
 
integer(c_int), pointer, save ntinit
 Number of time steps for initalization (for all steps between 0 and ntinit, pressure is re-set to 0 before prediction correction). More...
 
real(c_double), pointer, save ttpabs
 Absolute time value for previous calculation. More...
 
real(c_double), pointer, save ttcabs
 Current absolute time. More...
 
real(c_double), pointer, save ttmabs
 Maximum absolute time. More...
 
integer(c_int), pointer, save idtvar
 option for a variable time step More...
 
real(c_double), pointer, save dtref
 Reference time step. More...
 

Detailed Description

Variable Documentation

◆ dtref

real(c_double), pointer, save dtref

Reference time step.

This is the time step value used in the case of a calculation run with a uniform and constant time step, i.e. idtvar =0 (restart calculation or not). It is the value used to initialize the time step in the case of an initial calculation run with a non-constant time step(idtvar=1 or 2). It is also the value used to initialise the time step in the case of a restart calculation in which the type of time step has been changed (for instance, idtvar=1 in the new calculation and idtvar = 0 or 2 in the previous calculation).
See Time step modification for examples.

◆ idtvar

integer(c_int), pointer, save idtvar

option for a variable time step

  • -1: steady algorithm
  • 0: constant time step
  • 1: time step constant in space but variable in time
  • 2: variable time step in space and in time If the numerical scheme is a second-order in time, only the option 0 is allowed.

◆ ntcabs

integer(c_int), pointer, save ntcabs

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

◆ ntinit

integer(c_int), pointer, save ntinit

Number of time steps for initalization (for all steps between 0 and ntinit, pressure is re-set to 0 before prediction correction).

◆ ntmabs

integer(c_int), pointer, save ntmabs

Maximum absolute time step number.

For the restart calculations, ntmabs takes into account the number of time steps of the previous calculations. For instance, after a first calculation of 3 time steps, a restart file of 2 time steps is realised by setting ntmabs = 3+2 = 5

◆ ntpabs

integer(c_int), pointer, save ntpabs

Absolute time step number for previous calculation.

In the case of a restart calculation, ntpabs is read from the restart file. Otherwise, it is initialised to 0 ntpabs is initialised automatically by the code, its value is not to be modified by the user.

◆ ttcabs

real(c_double), pointer, save ttcabs

Current absolute time.

For the restart calculations, ttcabs takes into account the physical time of the previous calculations.
If the time step is uniform (idtvar = 0 or 1), ttcabs increases of dt (value of the time step) at each iteration. If the time step is non-uniform (idtvar=2), ttcabs increases of dtref at each time step.
ttcabs} is initialised and updated automatically by the code, its value is not to be modified by the user.

◆ ttmabs

real(c_double), pointer, save ttmabs

Maximum absolute time.

◆ ttpabs

real(c_double), pointer, save ttpabs

Absolute time value for previous calculation.

In the case of a restart calculation, ttpabs is read from the restart file. Otherwise it is initialised to 0.
ttpabs is initialised automatically by the code, its value is not to be modified by the user.