Skip to content

Commit d5de08a

Browse files
authored
Merge pull request #75 from su2code/turbulence_update
SST and SA options
2 parents 647b407 + 51c63e6 commit d5de08a

File tree

3 files changed

+71
-9
lines changed

3 files changed

+71
-9
lines changed

_docs_v7/Physical-Definition.md

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ SU2 offers different ways of setting and computing this definition. This documen
1818
- [Flow Condition (Incompressible)](#flow-condition-incompressible)
1919
- [Thermodynamic and Gauge Pressure](#thermodynamic-and-gauge-pressure)
2020
- [Initial State and Non-Dimensionalization](#initial-state-and-non-dimensionalization)
21+
- [Turbulence Models](#turbulence-models)
22+
- [Spalart-Allmaras (SA)](#spalart-allmaras-model)
23+
- [Shear Stress Transport (SST)](#shear-stress-transport)
2124

2225
---
2326

2427
## Reference Values ##
2528

26-
| Solver | Version |
29+
| Solver | Version |
2730
| --- | --- |
2831
| `EULER`, `NAVIER_STOKES`, `RANS`, `INC_EULER`, `INC_NAVIER_STOKES`, `INC_RANS`, `FEM_EULER`, `FEM_NAVIER_STOKES` | 7.0.0 |
2932

@@ -47,7 +50,7 @@ The following table depicts the reference values used by most of the solvers in
4750

4851
## Free-Stream Definition (Compressible) ##
4952

50-
| Solver | Version |
53+
| Solver | Version |
5154
| --- | --- |
5255
| `EULER`, `NAVIER_STOKES`, `RANS`,`FEM_EULER`, `FEM_NAVIER_STOKES` | 7.0.0 |
5356

@@ -79,7 +82,7 @@ For all schemes, as reference values for the density and temperature the free-st
7982

8083
## Flow Condition (Incompressible) ##
8184

82-
| Solver | Version |
85+
| Solver | Version |
8386
| --- | --- |
8487
| `INC_EULER`, `INC_NAVIER_STOKES`, `INC_RANS` | 7.0.0 |
8588

@@ -97,3 +100,61 @@ The reference values $$\rho_{ref}, T_{ref}, v_{ref}$$ equal the initial state va
97100

98101
**Note:** The initial state is also used as boundary conditions for `MARKER_FAR`.
99102

103+
## Turbulence Models ##
104+
105+
| Solver | Version |
106+
| --- | --- |
107+
| `*_RANS` | 7.4.0 |
108+
109+
This section describes how to setup turbulence models for RANS simulations. Turbulence is activated using the option `KIND_SOLVER= RANS`, or `KIND_SOLVER= INC_RANS`
110+
A turbulence model can then be selected via the option `KIND_TURB_MODEL`
111+
Different submodels and parameters are specified via the different options listed below.
112+
The turbulent Prandtl number can be modified with the option `PRANDTL_TURB` (the default is 0.9).
113+
114+
### Spalart-Allmaras (SA) ###
115+
116+
SU2 implements several versions and corrections of the SA model.
117+
The model is selected using `KIND_TURB_MODEL= SA` and the modifications via the `SA_OPTIONS` list. If this list is empty, then SU2 defaults to `SA-noft2`.
118+
The freestream and inlet conditions are specified via the option `FREESTREAM_NU_FACTOR= 3` (ratio of SA variable to freestream kinematic viscosity).
119+
120+
The following modifications are allowed (refer to [NASA's TMR](https://turbmodels.larc.nasa.gov/spalart.html) for further info):
121+
- Versions:
122+
- `NEGATIVE` - Negative SA model.
123+
- `EDWARDS` - Edwards modification.
124+
- `BCM` - BCM transitional model.
125+
- `WITHFT2` - SA model **with** ft2 term, note that by default we omit this term.
126+
- Corrections:
127+
- `QCR2000` - Quadratic contitutive relation used in the stress tensor.
128+
- `COMPRESSIBILITY` - Mixing layer compressibility correction.
129+
- `ROTATION` - Dacles-Mariani et al. rotation correction.
130+
131+
All the modifications can be combined with each other expect `NEGATIVE` and `EDWARDS`.
132+
For example, to specify `SA-neg-R-comp-QCR2000` use `SA_OPTIONS= NEGATIVE, WITHFT2, ROTATION, COMPRESSIBILITY, QCR2000`.
133+
**However, some combinations are not considered standard**, e.g. `SA-neg` should have the ft2 term, whereas `SA-noft2-Edwards` and `SA-noft2-BCM` should not have the ft2 term, and they are usually not combined with other corrections (see TMR for more details). To use non-standard combinations it is necessary to add `EXPERIMENTAL` to the option list, e.g. `SA_OPTIONS= NEGATIVE, BCM, EXPERIMENTAL`.
134+
135+
The rough wall correction is implicitly turned on by specifying roughness values for wall markers via the `WALL_ROUGHNESS` option.
136+
137+
### Shear Stress Transport (SST) ###
138+
139+
SU2 implements the "Standard" (1994) and 2003 versions of the SST model along with several modifications.
140+
141+
**Note:** Currently all versions are "modified" i.e. the turbulence kinetic energy (TKE) is not included in the viscous stress tensor.
142+
143+
The main model is selected using `KIND_TURB_MODEL= SST` and the version and modifications via the `SST_OPTIONS` list. If this list is empty SU2 defaults to the baseline 1994 model, `V1994m` (see warning below). The options allow for a version and a set of modifiers to the version.
144+
The freestream and inlet conditions are specified via the options `FREESTREAM_TURBULENCEINTENSITY= 0.05` (5%) and `FREESTREAM_TURB2LAMVISCRATIO= 10` (ratio of turbulent to laminar viscosity).
145+
146+
**Note:** The default values for these options are suitable for internal flows but may be too high for external aerodynamics problems.
147+
148+
The following modifications are allowed:
149+
- Versions:
150+
- `V1994m` - SSTm **WARNING:** Our implementation has a small [inconsistency with the literature](https://github.com/su2code/SU2/issues/1551), which will be resolved in the next major SU2 update (i.e. version 8).
151+
- `V2003m` - SST-2003m (no known inconsistencies).
152+
- Production modifications:
153+
- `VORTICITY` - Uses vorticity to compute the source term instead of strain-rate magnitude.
154+
- `KATO_LAUNDER` - Uses the Kato-Launder modification (vorticity times strain-rate).
155+
- `UQ` - Production is computed using a modified stress tensor for [uncertainty quantification](https://su2code.github.io/tutorials/UQ_NACA0012/). **Note** with this modification TKE is always included in the stress tensor.
156+
- Corrections:
157+
- `SUSTAINING` - SST with controlled decay.
158+
- Curvature corrections are currently not implemented.
159+
160+
Modifications from each of these three groups can be combined, for example `SST_OPTIONS= V2003m, VORTICITY, SUSTAINING`

_docs_v7/Theory.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@ Within the `INC_EULER` solver, we discretize the equations in space using a fini
164164

165165
# Turbulence Modeling #
166166

167-
The Shear Stress Transport (SST) model of Menter and the Spalart-Allmaras (S-A) model are two of the most common and widely used turbulence models. The S-A and SST standard models, along with several variants, are implemented in SU2. The reader is referred to the [NASA Turbulence Modeling Resource](https://turbmodels.larc.nasa.gov/index.html) (TMR) for the details of each specific model, as the versions in SU2 are implemented according to the well-described formulations found there.
167+
SU2 implements several variants of the SST and SA turbulence models, for specifics of the models please see the [NASA Turbulence Modeling Resource](https://turbmodels.larc.nasa.gov/index.html) (TMR).
168+
For information on how to use turbulence models in SU2 see the [users guide](https://su2code.github.io/docs_v7/Physical-Definition/).
168169

169-
Within the turbulence solvers, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The convective and viscous fluxes are evaluated at the midpoint of an edge.
170+
The edge-based finite volume discretization of flow solvers is also used in turbulence solvers. Convective fluxes are evaluated using a scalar upwind scheme (1st or 2nd order).
170171

171172
---
172173

_tutorials/compressible_flow/Transitional_Flat_Plate/Transitional_Flat_Plate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ Several of the key configuration file options for this simulation are highlighte
6262
% LINEAR_ELASTICITY, POISSON_EQUATION)
6363
SOLVER= INC_RANS
6464
%
65-
% Specify turbulent model (NONE, SA, SA_NEG, SST)
65+
% Specify turbulent model (NONE, SA, SST)
6666
KIND_TURB_MODEL= SA
6767
%
68-
% Specify transition model (NONE, BC)
69-
KIND_TRANS_MODEL= BC
68+
% Specify transition model
69+
SA_OPTIONS= BCM
7070
%
7171
% Specify Turbulence Intensity (%)
7272
FREESTREAM_TURBULENCEINTENSITY = 0.18
7373
```
7474

75-
The governing equations are RANS with the Spalart-Allmaras (`SA`) turbulence model. By entering `KIND_TRANS_MODEL= BC`, the Bas-Cakmakcioglu Algebraic Transition Model is activated. This model requires freestream turbulence intensity that is to be used in the transition correlation, thus the `FREESTREAM_TURBULENCEINTENSITY` option is also used. The BC model achieves its purpose by modifying the production term of the 1-equation SA turbulence model. The production term of the SA model is damped until a considerable amount of turbulent viscosity is generated, and after that point, the damping effect on the transition model is disabled. Thus, a transition from laminar to turbulent flow is obtained.
75+
The governing equations are RANS with the Spalart-Allmaras (`SA`) turbulence model. By entering `SA_OPTIONS= BCM`, the Bas-Cakmakcioglu Algebraic Transition Model is activated. This model requires freestream turbulence intensity that is to be used in the transition correlation, thus the `FREESTREAM_TURBULENCEINTENSITY` option is also used. The BC model achieves its purpose by modifying the production term of the 1-equation SA turbulence model. The production term of the SA model is damped until a considerable amount of turbulent viscosity is generated, and after that point, the damping effect on the transition model is disabled. Thus, a transition from laminar to turbulent flow is obtained.
7676

7777
The incompressible freestream properties are specified as follows. (Please see "Notes" for freestream properties of other transitional flat plate test cases).
7878

0 commit comments

Comments
 (0)