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
@@ -121,6 +123,40 @@ A marker can be defined as a Farfield boundary by addings its name to the `MARKE
121
123
MARKER_FAR= (farfield)
122
124
```
123
125
126
+
## Turbulence Boundary Condition ##
127
+
128
+
| Solver | Version |
129
+
| --- | --- |
130
+
|`RANS`, `INC_RANS`, | 7.3.0 |
131
+
132
+
The turbulence boundary conditions do not have a `MARKER_` keyword but can instead be set for inlet and freestream boundaries using the keywords:
133
+
134
+
For the SA turbulence model:
135
+
```
136
+
FREESTREAM_NU_FACTOR= 3
137
+
```
138
+
139
+
For the SST turbulence model:
140
+
```
141
+
FREESTREAM_TURBULENCEINTENSITY= 0.05
142
+
FREESTREAM_TURB2LAMVISCRATIO= 10
143
+
```
144
+
145
+
### Wall functions ###
146
+
Accurately resolving the turbulence close to walls requires very fine meshes and can be quite expensive. When the vertices of the first cell neighboring the wall have on average a normalized distance $$y^+ >1$$, wall functions can be used. For example to activate wall functions on the markers `wall1` and `wall2`, we write:
The wall functions will now be used automatically. all functions have 5 additional expert parameters:
151
+
```
152
+
WALLMODEL_KAPPA= 0.41
153
+
WALLMODEL_B= 5.5
154
+
WALLMODEL_MINYPLUS= 5.0
155
+
WALLMODEL_MAXITER= 200
156
+
WALLMODEL_RELFAC= 0.5
157
+
```
158
+
The constant `WALLMODEL_KAPPA` is the von Karman constant, and `WALLMODEL_B` is an additional constant describing the universal 'law of the wall'. The constants are supposed to be universal, and do not change. The setting `WALLMODEL_MINYPLUS= 5` will activate the wall model only when the local value of $$y^+$$ is higher than the value given (default: 5). Note that in principle, this implementation is valid for any $$y^+ < 100-500$$ and will also work correctly for very small values of $$y^+$$. the upper limit that can be used depends on (and increases with) the Reynolds number. The universal law of the wall is an implicit function and a Newton iterator is used to determine $$u^+(y^+)$$. The maximum number of iterations can be set by `WALLMODEL_MAXITER` and the relaxation factor can be set with `WALLMODEL_RELFAC`. When the Newton solver does not converge within the maximum number of iterations given, a warning message will appear during the computation. When these warning messages do not disappear, you might consider increasing `WALLMODEL_MAXITER` or decreasing `WALLMODEL_RELFAC`.
159
+
124
160
## Inlet Boundary Condition ##
125
161
Inlet boundary conditions are set using the option `MARKER_INLET`.
0 commit comments