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
@@ -42,8 +42,12 @@ SU2 can output the solution in several file formats. You can specify what files
42
42
| Option value | Description |
43
43
|---|---|
44
44
|`RESTART`| Native SU2 binary restart format |
45
-
|`RESTART_ASCII`| ASCII CSV restart format |
45
+
|`RESTART_ASCII`| Native SU2 ASCII CSV restart format |
46
+
|`STL_BINARY`| binary mesh in .stl format |
47
+
|`STL_ASCII`| ASCII mesh in .stl format |
48
+
|`MESH`| Native SU2 mesh in .su2 format |
46
49
|`CSV`| ASCII CSV restart format (identical to `RESTART_ASCII`) |
50
+
|`PARAVIEW_MULTIBLOCK`| Binary Paraview .vtm format |
47
51
|`PARAVIEW`| Binary Paraview .vtk format |
48
52
|`PARAVIEW_ASCII`| ASCII Paraview .vtk format |
49
53
|`TECPLOT`| Binary Tecplot .szplt format |
@@ -54,44 +58,103 @@ SU2 can output the solution in several file formats. You can specify what files
54
58
|`SURFACE_TECPLOT`| Surface values in binary Tecplot .szplt format (includes all markers set with `MARKER_PLOTTING`)|
55
59
|`SURFACE_TECPLOT_ASCII`| Surface values in ASCII Tecplot .dat format (includes all markers set with `MARKER_PLOTTING`)|
56
60
57
-
The default value of `OUTPUT_FILES` is `(RESTART, PARAVIEW, SURFACE_PARAVIEW)`. The output frequency can be set by using the `OUTPUT_WRT_FREQ` option. If it is a time-dependent problem, the frequency is based on the time iterations, while for steady-state problems it is based on the outer or inner iterations, depending on whether it is a multi-zone or single-zone problem, respectively.
61
+
The default value of `OUTPUT_FILES` is `(RESTART, PARAVIEW, SURFACE_PARAVIEW)`. The output frequencies can be set by using the `OUTPUT_WRT_FREQ` option. OUTPUT_WRT_FREQ accepts a list of integer values for each of the file types in `OUTPUT_FILES`. If a single value is given, this value will be used as the writing frequency for all output files. If 2 values are used, the first value is used for the first file type in OUTPUT_FILES, and the second value is used for the other file types in the list. For time-dependent problems, the frequency is based on the time iterations, while for steady-state problems it is based on the outer or inner iterations, depending on whether it is a multi-zone or single-zone problem, respectively.
58
62
59
-
**Note:** If run SU2 in parallel you should always use binary output files to get the best performance.
63
+
**Note:** If you run SU2 in parallel you should always use binary output files to get the best performance.
60
64
61
65
### Setting Output Fields ###
62
66
63
67
The `VOLUME_OUTPUT` option can be used to set fields for the restart and visualization files. Here you have the option to specify either single fields and/or groups.
64
68
69
+
| Option value | Default value | Description | Data type |
70
+
|---|---|---|---|
71
+
| VOLUME_OUTPUT| COORDINATES,SOLUTION,PRIMITIVE| fields or groups that will be saved to file| list of keywords|
72
+
73
+
65
74
### Example ###
66
75
76
+
Groups and fields can be combined, e.g.:
77
+
78
+
`VOLUME_OUTPUT= SOLUTION, PRESSURE, DENSITY `
79
+
80
+
will save all field that are in the `SOLUTION` group. Pressure is in the `PRIMITIVE` group for the compressible solver and in the `SOLUTION` group for the incompressible solver. Density on the other hand is in the `SOLUTION` group for the compressible solver and in the `PRIMITIVE` group for the incompressible solver. They can be added individually as in the example above, or by simply adding the entire `PRIMITIVE` group to the list if file size is no issue. Note that keywords that are not valid for the current setup will simply be ignored.
81
+
67
82
For the compressible Navier-Stokes solver (i.e. `SOLVER=NAVIER_STOKES`), a **non-exhaustive list** of possible fields/groups is the following:
68
83
69
-
| Field Name | Description | Group Name |
84
+
| Field Name | Description | Group Name | Remarks |
85
+
|---|---|---|
86
+
|`COORD-X`| x coordinate |`COORDINATES`| - |
87
+
|`COORD-Y`| y coordinate |`COORDINATES`| - |
88
+
|`COORD-Z`| z coordinate |`COORDINATES`| 3D only |
|`SKIN_FRICTION-Z`| Skin friction coefficient z-component |`PRIMITIVE`| 3D only |
102
+
|`HEAT_FLUX`| Heat flux |`PRIMITIVE`| - |
103
+
|`Y_PLUS`| Y-Plus |`PRIMITIVE`| - |
104
+
105
+
Additionally, for every field in the SOLUTION group, the limiters (group name `LIMITER`) and residuals (group name RESIDUAL) can be saved by adding `RES_` or `LIMITER_` in front of the field name.
106
+
107
+
108
+
For the incompressible Navier-Stokes solver (i.e. `SOLVER=INC_NAVIER_STOKES`), the solution group is different:
109
+
110
+
| Field Name | Description | Group Name | Remarks |
|`ASPECT_RATIO`| CV Aspect ratio |`MESH_QUALITY`| - |
136
+
|`VOLUME_RATIO`| CV sub-volume ratio |`MESH_QUALITY`| - |
137
+
138
+
For moving grids:
139
+
140
+
| Field Name | Description | Group Name | Remarks |
141
+
|---|---|---|
142
+
|`GRID_VELOCITY-X`| X-component of grid velocity vector |`GRID_VELOCITY`| - |
143
+
|`GRID_VELOCITY-Y`| Y-component of grid velocity vector |`GRID_VELOCITY`| - |
144
+
|`GRID_VELOCITY-Z`| Z-component of grid velocity vector |`GRID_VELOCITY`| 3D only |
89
145
90
146
91
147
## Customizing the Screen and History Output ##
92
148
93
149
### Screen Output ###
94
-
You can define the output fields you want to have on screen by using the config option `SCREEN_OUTPUT`.
150
+
You can define the output fields you want to have printed on screen by using the config option `SCREEN_OUTPUT`.
151
+
152
+
| Option value | Default value | Description | Data type | Remark |
153
+
|---|---|---|---|---|
154
+
| SCREEN_OUTPUT| INNER_ITER, RMS_DENSITY, RMS_MOMENTUM-X,RMS_MOMENTUM-Y, RMS_ENERGY| field or group that will be printed to screen | list of keywords| compressible |
155
+
| SCREEN_OUTPUT| INNER_ITER, RMS_PRESSURE, VELOCITY-X,VELOCITY-Y| field or group that will be printed to screen | list of keywords| incompressible |
156
+
157
+
95
158
Fields available depend on the solver you are using. Fields available for **all solvers** are the following:
96
159
97
160
-`TIME_ITER`: Time iteration index
@@ -110,7 +173,7 @@ You can also customize the frequency when the convergence history should be writ
110
173
111
174
### History Output ###
112
175
113
-
The history output can be customized in a similar fashion to the screen output by using the `HISTORY_OUTPUT` option. In fact, screen and history outputs share all fields which means that everything that can written to screen can be written also to the history file and vice versa. However, instead of specifying single output fields, for the history output it is **only possible** to specify output groups by using the group name.
176
+
The history output can be customized in a similar fashion as the screen output by using the `HISTORY_OUTPUT` option. In fact, screen and history outputs share all fields which means that everything that can written to screen can be written also to the history file and vice versa.
114
177
115
178
If you run a multizone problem, in addition to the history files per zone, a file (default: `history_multizone.dat`) will be created where the convergence history of the outer iteration is stored. Groups for this output can be set by using the `HISTORY_OUTPUT` option in the main config file.
116
179
@@ -129,18 +192,18 @@ For the compressible Navier-Stokes solver (i.e. `SOLVER=NAVIER_STOKES`), a **non
129
192
|`TIME_STEP`| Current time step. |`TIME_DOMAIN`|
130
193
|`WALL_TIME`| Current average wall-clock time for one iteration. |`WALL_TIME`|
131
194
|`RMS_DENSITY`| Root-mean square residual of the density. |`RMS_RES`|
132
-
|`RMS_MOMENTUM-X`| Root-mean square residual of the momentum x-component. |`RMS_RES`|
133
-
|`RMS_MOMENTUM-Y`| Root-mean square residual of the momentum y-component. |`RMS_RES`|
134
-
|`RMS_MOMENTUM-Z`| Root-mean square residual of the momentum z-component. |`RMS_RES`|
135
-
|`RMS_ENERGY`| Root-mean square residual of the energy. |`RMS_RES`|
136
-
|`DRAG`| Total Drag coefficient. |`AERO_COEFF`|
137
-
|`LIFT`| Total Lift coefficient |`AERO_COEFF`|
138
-
|`SIDEFORCE`| Total Sideforce coefficient. |`AERO_COEFF`|
139
-
|`MOMENT_X`| Total Moment around the x-axis. |`AERO_COEFF`|
140
-
|`MOMENT_Y`| Total Moment around the y-axis. |`AERO_COEFF`|
141
-
|`MOMENT_Z`| Total Moment around the z-axis. |`AERO_COEFF`|
142
-
|`FORCE_X`| Total Force in x direction. |`AERO_COEFF`|
143
-
|`FORCE_Y`| Total Force in y direction. |`AERO_COEFF`|
144
-
|`FORCE_Z`| Total Force in z direction.|`AERO_COEFF`|
145
-
|`EFFICIENCY`| Total Lift-to-drag ratio. |`AERO_COEFF`|
195
+
|`RMS_MOMENTUM-X`| Root-mean square residual of the momentum x-component. |`RMS_RES`|
196
+
|`RMS_MOMENTUM-Y`| Root-mean square residual of the momentum y-component. |`RMS_RES`|
197
+
|`RMS_MOMENTUM-Z`| Root-mean square residual of the momentum z-component. |`RMS_RES`|
198
+
|`RMS_ENERGY`| Root-mean square residual of the energy. |`RMS_RES`|
199
+
|`DRAG`| Total Drag coefficient. |`AERO_COEFF`|
200
+
|`LIFT`| Total Lift coefficient |`AERO_COEFF`|
201
+
|`SIDEFORCE`| Total Sideforce coefficient. |`AERO_COEFF`|
202
+
|`MOMENT_X`| Total Moment around the x-axis. |`AERO_COEFF`|
203
+
|`MOMENT_Y`| Total Moment around the y-axis. |`AERO_COEFF`|
204
+
|`MOMENT_Z`| Total Moment around the z-axis. |`AERO_COEFF`|
205
+
|`FORCE_X`| Total Force in x direction. |`AERO_COEFF`|
206
+
|`FORCE_Y`| Total Force in y direction. |`AERO_COEFF`|
207
+
|`FORCE_Z`| Total Force in z direction.|`AERO_COEFF`|
208
+
|`EFFICIENCY`| Total Lift-to-drag ratio. |`AERO_COEFF`|
To describe the **Velocity** at the inlet, set the option `INC_INLET_TYPE= VELOCITY_INLET`. The format for `MARKER_INLET` then is the marker name, followed by the Temperature (in Kelvin `[K`]), the Velocity magnitude (in meter per second `[m/s]`) and the flow direction unity vector (in meter per second `[m/s]`).
158
+
To describe the **Velocity**as well as the **Temperature**at the inlet, set the option `INC_INLET_TYPE= VELOCITY_INLET`. The format for `MARKER_INLET` then is the marker name, followed by the Temperature (in Kelvin `[K`]), the Velocity magnitude (in meter per second `[m/s]`) and the flow direction vector (the direction vector does not need to be normalized). Note that the temperature has to be provided even when `INC_ENERGY_EQUATION= NO`, but it will be ignored in the calculations.
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 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 |
Copy file name to clipboardExpand all lines: _docs_v7/SU2-Windows.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ SU2 supports Windows platforms from Windows 7 and Windows 10 for x86 (64-bit). Y
19
19
## Installation
20
20
21
21
### Download and unpack the archive
22
-
[Download](/download/) the .zip for your operating system and unzip it where you want it to be installed.
22
+
[Download](/docs_v7/Download/) the .zip for your operating system and unzip it where you want it to be installed.
23
23
24
24
### Add SU2 environment variables
25
25
This is done through the Environment Variables control panel. You can access these by typing "environ" in the search/run box of the start menu. Start a New System variable. Assign the Variable Name `SU2_RUN`, and assign the Variable Value to be the path to your SU2 Executables (the folder that contains `SU2_CFD.exe` for example). This variable will allow you to quickly navigate to the SU2 directory using `cd %SU2_RUN%`, and run the executables using `%SU2_RUN%\<executable>`.
0 commit comments