%RESTART_sequence%
define a sequence of restart files
Every
n time cycles, a new restart file is created. The restart files are numbered consecutively. The names of the restart files are 'SAVE_file.restart_0001', 'SAVE_file.restart_0002', 'SAVE_file.restart_0003', ...
In addition to the restart file, a restart info file is created ('SAVE_file.restart_0001___countTS___time', ...). It contains information on the current time step index and time.
Keep the last
NumberFilesToKeep >0 restart files and let
MESHFREE delete the older ones.
Note: -
- Restart files can also be triggered by an EVENT, see %EVENT_WriteRestart%, or by the signal save in the SIGNAL-file, see SequentialReadingOfSignalFile. The additional restart file obtains the next ordinal number in the sequence of restart files.
- Restart info files are also written in case of EVENT- or SIGNAL-triggered writing of a restart file, e.g. 'SAVE_file.restart_0001___EVENT___countTS___time' and 'SAVE_file.restart_0001___SIGNAL___countTS___time'.
Keep the last
NumberFilesToKeep >0,
NumberFilesToKeepEVENT >0, and
NumberFilesToKeepSIGNAL >0 restart files with standard,
EVENT, and SIGNAL trigger and let
MESHFREE delete the older ones.
Note: -
- NumberFilesToKeep refers only to restart files with standard trigger, i.e. %RESTART_sequence%. If a restart file is also triggered by an EVENT or a SIGNAL in the same time step, this restart file is excluded from the deletion process.
- NumberFilesToKeepEVENT refers only to restart files with EVENT trigger. If a restart file is also triggered by a SIGNAL in the same time step, this restart file is excluded from the deletion process. This also holds vice versa.
See also
DefineRestart.