You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SU2 binary restart format has the extension `.dat`, but it is also possible to write out restart files in a simple ASCII file format with extension `.csv`. Have a look at the [Output section](/docs_v7/Custom-Output/) to learn how to change output file formats.
10
-
11
-
The restart files are used to restart the code from a previous solution and also to run the adjoint simulations, which require a flow solution as input. To save a restart file, the user needs to add the option `RESTART` to the keyword `OUTPUT_FILES`:
9
+
The restart files are used to restart the code from a previous solution and also to run the adjoint simulations, which require a flow solution as input. To save a restart file, the user needs to add the option `RESTART` to the keyword `OUTPUT_FILES` in the configuration file:
12
10
13
11
`OUTPUT_FILES= RESTART`
14
12
13
+
The SU2 binary restart format has the extension `.dat`, but it is also possible to write out restart files in a simple ASCII file format with extension `.csv`. Have a look at the [Output section](/docs_v7/Custom-Output/) to learn how to change output file formats.
14
+
15
15
A restart file with the name given by the keyword `RESTART_FILENAME` is then saved at the end of the simulation, or after every number of iterations given by the keyword `OUTPUT_WRT_FREQ`. For instance,
16
16
17
17
`RESTART_FILENAME= restart_flow`\
18
18
`OUTPUT_WRT_FREQ= 100`
19
19
20
-
will write the file restart_flow.dat every 100 iterations when then the total number of iterations is larger than 100, or only once at the end of the simulation when the total number of iterations is smaller than 100. Note that the file extension (the suffix) is automatic and can be left out.
20
+
will write the file restart_flow.dat every 100 iterations when the total number of iterations is larger than 100, or only once at the end of the simulation when the total number of iterations is smaller than 100. Note that the file extension (the suffix) is automatic and can be left out.
21
21
If you would like to keep copies of previously saved restart files, this is possible by setting
22
22
23
23
`WRT_RESTART_OVERWRITE= NO`
24
24
25
-
This option is available only for steady simulations. In unsteady simulations, the number of timesteps is appended to the filename automatically. Additional to the regular restart file, a restart file with the current iteration appended to the filename will be written every `OUTPUT_WRT_FREQ` iterations.
25
+
Additional to the regular restart file, a restart file with the current iteration appended to the filename will then be written every `OUTPUT_WRT_FREQ` iterations. Note that this option is available only for steady simulations. In unsteady simulations, the number of timesteps is appended to the filename automatically.
26
26
27
27
## Starting a simulation from a saved solution
28
28
@@ -37,8 +37,9 @@ If performing an unsteady restart the `RESTART_ITER` needs to be set to the iter
37
37
38
38
| Option value | Default value | Description | Data type |
39
39
|---|---|---|---|
40
+
|`OUTPUT_FILES`| RESTART,PARAVIEW,SURFACE_PARAVIEW | files types to write | list of keywords |
40
41
|`RESTART_FILENAME`| restart.dat | filename under which the restart file will be saved | string |
41
-
|`OUTPUT_WRT_FREQ`| 250 | the frequency with which the output files will be saved |integer|
42
+
|`OUTPUT_WRT_FREQ`|10,250,42| the list of frequencies with which the output files will be saved |list of integers|
42
43
|`WRT_RESTART_OVERWRITE`| YES | overwrite the restart file or (additionally) append the iteration number to the filename | boolean |
43
44
|`RESTART_SOL`| solution | restart from file or from initial conditions | boolean |
44
45
|`SOLUTION_FILENAME`| solution.dat | filename that will be used to restart the primal or start the adjoint computation | string |
0 commit comments