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
Copy file name to clipboardExpand all lines: _docs/Multizone.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ We refer to a Zone as a subdomain in your physical problem. For example consider
14
14
15
15
A *multi-zone problem* is a problem that consists of multiple zones. If there are additionally different physical problems solved in the individual zones (i.e. the option `PHYSICAL_PROBLEM` is different) then we refer to that as a *multi-physics problem*, otherwise we call it a *single-physics problem*. In that sense, every *multi-physics problem* is also a *multi-zone problem*. However, both cases differ slighty in how a problem is set up using the config files.
16
16
17
-
18
-
### <aname="singlephysics"></a> How to set up a multi-zone, single-physics problem ###
17
+
<aname="singlephysics"></a>
18
+
### How to set up a single-physics problem ###
19
19
20
20
To enable the multi-zone mode use the option `MULTIZONE = YES` (default is `NO`). If all zones share all config options and are not connected, this is all you have to do. To define a common interface between zones use the option `MARKER_ZONE_INTERFACE`. This option should be set to a list of markers, in which every two consecutive markers are considered as a connected pair, e.g.:
21
21
```
@@ -25,6 +25,8 @@ In this example `internal_interface, inner_interface` and `domain_interface, ext
25
25
26
26
**Note:** Currently the only *single-physics* problems available are Fluid-Fluid cases (that means `PHYSICAL_PROBLEM` must be set to `EULER`, `NAVIER_STOKES` or `RANS`).
27
27
28
+
<aname="subconfig"></a>
29
+
#### Sub-config files ####
28
30
Even if you run a *single-physics* problem, there might be cases where you want to use different config options in the individual zones. For example to specify a rotation in one zone or to use a different numerical scheme. This can be accomplished using the *sub-config file* feature of SU2. A *sub-config file* is similar to the usual config file, but only contains options which are different from the main config file in the particular zone. This allows to override or to only set options in certain zones. To use this feature just provide a list of sub-config files using the `CONFIG_LIST` option. The number of items in that list must match the number of zones (of course you can provide an empty file or the same file for multiple zones). The first item in that list sets options in zone 0, the second in zone 1 and so on.
29
31
30
32
As an example consider a problem with two zones coupled using a Fluid-Fluid interface. In the second zone we want to add a rotation. The two additional entries in the main config file are the following:
@@ -64,8 +66,8 @@ MOTION_ORIGIN= 0.3 0.0 0.0
64
66
% Angular velocity vector (rad/s) about the motion origin.
65
67
ROTATION_RATE = 0.0 0.0 160.0
66
68
```
67
-
68
-
### How to set up a multi-zone, multi-physics problem ###
69
+
<aname="multiphysics"></a>
70
+
### How to set up a multi-physics problem ###
69
71
70
72
While for the single-physics problems the usage of sub-config files is optional, setting up a multi-physics problem heavily relies on this feature. A good way to start is to first create a separate config file for each individual zone. If it is possible, also try to run each zone independently (with appropriate boundary conditions) to find proper numerical settings. To couple the zones create a new config file with the option `MATH_PROBLEM` set to `MULTIPHYSICS`. Then specify the list of config files with `CONFIG_LIST`. These two options are mandatory. To set a coupling between the zones the `MARKER_ZONE_INTERFACE` option can be used (same way as for the [single-physics problem](#singlephysics)). As an example consider the following main config file:
The files `configFlow.cfg` and `configSolid.cfg` contain a **full set of options** to run a flow or a heat equation problem, respectively (apart from a definition of the boundary conditions for the markers `PIN` and `PINSD`, which will be determined automatically). However, every option not present in the sub-config files **will be inherited** from the main config file. If it is also not set there, then the default value will be used. This means options common in all zones, can be written to the main config file.
87
89
88
-
## Providing mesh information for a multi-zone problem ##
90
+
<aname="multizone-mesh"></a>
91
+
### Providing mesh information for a multi-zone problem ###
89
92
90
93
For a multizone problem you have two options to provide the mesh (set with the option `MULTIZONE_MESH`).
0 commit comments