Skip to content

Commit 3cab1b9

Browse files
committed
docs: clarify NACA0021 setup, restart and statistical limits
1 parent d4b948b commit 3cab1b9

3 files changed

Lines changed: 43 additions & 14 deletions

File tree

‎_vandv/NACA0021_DDES.md‎

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,31 @@ Note: the SST variants and the current form of `SA_EDDES` come with [PR #2150](h
3333
- Airfoil: NACA 0021, chord c = 1 m, angle of attack 60 degrees.
3434
- Reynolds number based on the chord: 2.7 × 10⁵, as in the experiment of Swalwell et al.
3535
- The experiment is at low Mach number, so the incompressible solver is used. Free-stream speed U = 4.1625 m/s, density 1.2 kg/m³, viscosity 1.85 × 10⁻⁵ Pa s.
36-
- Inflow eddy viscosity equal to the laminar viscosity, as in Guseva et al. (2017).
37-
- The span is periodic. All four runs use the same mesh and the same numerical settings.
36+
- SST free stream: turbulence intensity 1.8% and eddy-to-laminar viscosity ratio 1, as in Guseva et al. (2017).
37+
- SA free stream: `FREESTREAM_NU_FACTOR= 3`, the ratio of the SA working variable to the kinematic viscosity. This is not an eddy-viscosity ratio; the SST ratio option has no effect with SA.
38+
- The span is periodic. All four runs use the same mesh, time step and flow discretization; the turbulence closures and their free-stream inputs differ as stated above.
3839

3940
Numerical settings:
4041

4142
- Time step 0.025 c/U with `DUAL_TIME_STEPPING-2ND_ORDER` and 50 inner iterations per time step. Guseva et al. use 0.03 c/U.
4243
- Mean flow: `JST` central scheme. Turbulence: first-order `SCALAR_UPWIND`. Green-Gauss gradients.
43-
- Each run starts from a steady RANS solution of the same turbulence model. SA-EDDES starts from the developed flow of an earlier SA-EDDES run.
44+
- SA-DDES and both SST runs start from a steady RANS solution of the same turbulence model. SA-EDDES starts from the developed flow of an earlier SA-EDDES run.
4445
- The first 100 c/U are left out of the statistics as start-up transient (20 c/U for SA-EDDES). All runs are then averaged over the same time, 520 c/U.
4546

46-
The configuration file is [available here](/vandv_files/NACA0021_DDES/naca0021_hybrid.cfg). Its header lists the lines to change for each model.
47+
The [configuration file](/vandv_files/NACA0021_DDES/naca0021_hybrid.cfg) contains the SST-EDDES settings; its header lists the changes for the other models. It now explicitly sets `MAX_TIME= 481.0` so that the default 1-second limit cannot truncate the run. `CONV_FIELD= RMS_PRESSURE` names an available incompressible residual; `CONV_STARTITER= 50` preserves the fixed 50 inner iterations of the reported runs. This iteration count is not evidence of sufficient inner convergence.
48+
49+
### Case files and restart preparation
50+
51+
The mesh is available to the author; its public download location is pending review. Supply `Mesh.cgns` separately to run the configuration. The mesh description below identifies the grid used for the results.
52+
53+
You can generate the steady starting solution instead of downloading restart files:
54+
55+
1. Copy the configuration to `naca0021_steady.cfg` and use the same turbulence model as the intended unsteady run. Set `HYBRID_RANSLES= NONE`, `TIME_DOMAIN= NO` and `RESTART_SOL= NO`.
56+
2. Remove `TIME_MARCHING`, `TIME_STEP`, `TIME_ITER`, `MAX_TIME`, `INNER_ITER`, `WINDOW_START_ITER` and `RESTART_ITER` from that steady copy. Set `ITER= 10000` as an initial iteration limit, then run `SU2_CFD naca0021_steady.cfg`. Check the residuals and forces and extend the solve if needed; reaching the limit does not establish convergence.
57+
3. For second-order dual-time stepping with `RESTART_ITER= 2`, supply two old time levels. After the steady solve has converged, copy its binary restart to `restart_flow_00000.dat` and `restart_flow_00001.dat` in the unsteady run directory. These names follow `SOLUTION_FILENAME= restart_flow.dat`.
58+
4. Run `SU2_CFD naca0021_hybrid.cfg` with `TIME_DOMAIN= YES`, `RESTART_SOL= YES` and `RESTART_ITER= 2`. For later continuation, use the next step after an available saved pair, rather than resetting `RESTART_ITER` to 2. See [Restart File](/docs_v7/Restart-File/).
59+
60+
The configuration sets `WINDOW_START_ITER= 4005`, approximately 100 c/U for its stated velocity and time step. This excludes the initial transient from SU2's output averages, which continue until the run stops. The figures below instead use a fixed 520 c/U analysis window: 100–620 c/U for SA-DDES and the SST cases, and 20–540 c/U for the already-developed SA-EDDES run. A new SA-EDDES run from a steady RANS field must not automatically reuse the shorter 20 c/U exclusion; check its transient first. Changing the time step or restarting changes the appropriate window index.
4761

4862
## Mesh Description
4963

@@ -63,16 +77,16 @@ The reference computations of Guseva et al. use a finer O-grid with a span of 4
6377

6478
## Results
6579

66-
All results are averages in time and along the span. The error bars and bands are standard errors of the mean, computed from blocks of 50 c/U. Garbaruk et al. (2009) estimate that a span of 1 chord needs about 2400 c/U for a 1% error in the mean forces, so a few percent of statistical error remains here.
80+
Mean forces and pressure are averaged in time and along the span. The [numerical results table](/vandv_files/NACA0021_DDES/results.csv) provides the unrounded values behind the table below; `T_stats` is in c/U and the `_se` columns are standard errors of the mean. The force error bars and pressure bands use standard errors estimated from ten complete, non-overlapping blocks of 50 c/U; the remaining partial block is excluded from the error estimate. These estimates assume that the block means are sufficiently independent and the sampled flow is stationary. They are not bounds on mesh, time-step or turbulence-model error. Garbaruk et al. (2009) estimate that a span of 1 chord needs about 2400 c/U for a 1% error in the mean forces, so a few percent of statistical error remains here.
6781

6882
### Mean forces
6983

7084
<p align="center">
7185
<img src="/vandv_files/NACA0021_DDES/forces.png" alt="Mean lift, mean drag and RMS of the sectional lift" />
7286
</p>
73-
**Figure 3** - Mean lift and drag coefficients (± 1 standard error) and root mean square (RMS) of the sectional lift coefficient. Grey band: range of four published DES with a span of 1 chord (Garbaruk et al. 2009). Dotted line: NTS DES with a span of 4 chords. Dashed line: experiment of Swalwell et al.
87+
**Figure 3** - Mean lift and drag coefficients (± 1 standard error) and RMS of the sectional lift fluctuations: the temporal standard deviation at each spanwise station, averaged along the span. Grey band: range of four published DES with a span of 1 chord (Garbaruk et al. 2009). Dotted line: NTS DES with a span of 4 chords. Dashed line: experiment of Swalwell et al.
7488

75-
| Run | Statistics (c/U) | Mean C_L | Mean C_D | RMS of sectional C_L | Shedding Strouhal number |
89+
| Run | Statistics (c/U) | Mean C_L | Mean C_D | RMS of sectional C_L fluctuations | Shedding Strouhal number |
7690
| --- | --- | --- | --- | --- | --- |
7791
| SA-DDES | 520 | 1.08 ± 0.04 | 1.81 ± 0.07 | 0.30 | 0.18 |
7892
| SA-EDDES | 520 | 1.02 ± 0.03 | 1.72 ± 0.05 | 0.25 | 0.19 |
@@ -81,9 +95,9 @@ All results are averages in time and along the span. The error bars and bands ar
8195
| DES, span 1 c (Garbaruk et al. 2009) | 1000 – 2100 | 0.97 – 1.01 | 1.59 – 1.62 | 0.22 – 0.24 | about 0.2 |
8296
| Experiment (Swalwell et al.) | 8860 | 0.93 | 1.52 | 0.10 | 0.20 |
8397

84-
- The two EDDES runs agree with the published DES at the same span, within about 7% in drag.
85-
- The two DDES runs give 7 to 22% more lift and drag than the published DES, and larger fluctuations. With SST, the difference between DDES and EDDES is about 3 standard errors, so it is unlikely to be a statistical effect.
86-
- All runs give more lift and drag than the experiment. This is expected with a span of 1 chord: the published DES at the same span show the same trend.
98+
- SST-EDDES drag lies inside the published range for the same span; SA-EDDES drag is about 6–8% above that range.
99+
- The two DDES runs give 7 to 22% more lift and drag than the published DES, and larger fluctuations. For SST, the difference is about three combined standard errors, using the square root of the sum of the two squared error estimates. This comparison assumes independent runs and does not test the adequacy of the block length.
100+
- All runs give more lift and drag than the experiment. The published span study shows the same direction of change, so the narrow span is a plausible contributor. Its contribution cannot be separated here from numerical and model differences.
87101

88102
### Mean pressure coefficient
89103

@@ -118,6 +132,8 @@ All results are averages in time and along the span. The error bars and bands ar
118132

119133
- One mesh, with a span of 1 chord. The published reference uses 4 chords. A run with a span of 4 chords has been started.
120134
- The `JST` scheme without a low-dissipation option damps the small eddies more than the schemes of the reference computations.
135+
- There is no mesh-refinement, time-step-refinement or inner-iteration sensitivity study in this comparison. Agreement with a reference on one mesh does not establish numerical convergence.
136+
- The table and figures summarize the existing runs; the configuration and restart instructions are starting points for reproduction, not a newly repeated CFD campaign.
121137
- The statistics cover 520 c/U for each run. The mean forces still have a statistical error of 3 to 5%. The SST runs were continued further (to about 1000 c/U): over the longer time, their mean forces change by less than 0.02, within this error.
122138
- The published DES at a span of 1 chord average over 1000 to 2100 c/U (Garbaruk et al. 2009, Table 2), 2 to 4 times longer than here. With their error estimate (their Eq. 1), our 520 c/U give an error of about 2 to 3% in the mean forces, close to our own estimate.
123139

‎vandv_files/NACA0021_DDES/naca0021_hybrid.cfg‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
% SA-EDDES : KIND_TURB_MODEL= SA, HYBRID_RANSLES= SA_EDDES (remove SST_OPTIONS) %
66
% SST-DDES : KIND_TURB_MODEL= SST, HYBRID_RANSLES= SST_DDES %
77
% The SST variants and the current SA_EDDES length scale need SU2 PR #2150. %
8+
% Requires Mesh.cgns; see the V&V page for steady restart preparation. %
89
%------------------------------------------------------------------------------%
910

1011
% ------------- Problem --------------------------------------------------------%
@@ -25,9 +26,11 @@ INC_DENSITY_INIT= 1.2
2526
INC_VELOCITY_INIT= ( 2.08125, 0.0, 3.6048 )
2627
VISCOSITY_MODEL= CONSTANT_VISCOSITY
2728
MU_CONSTANT= 1.85e-5
28-
% Inflow eddy viscosity equal to the laminar viscosity, as in Guseva et al. (2017)
29+
% SST free-stream conditions: intensity as a fraction and eddy viscosity / mu.
2930
FREESTREAM_TURBULENCEINTENSITY= 0.018
3031
FREESTREAM_TURB2LAMVISCRATIO= 1.0
32+
% SA uses nu-tilde / nu instead; this option has no effect with SST.
33+
FREESTREAM_NU_FACTOR= 3.0
3134

3235
REF_ORIGIN_MOMENT_X= 0.25
3336
REF_ORIGIN_MOMENT_Y= 0.00
@@ -40,7 +43,12 @@ TIME_DOMAIN= YES
4043
TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER
4144
TIME_STEP= 0.006
4245
TIME_ITER= 80000
46+
% Match the run limit of the source cases; the parser default is only 1 s.
47+
MAX_TIME= 481.0
4348
INNER_ITER= 50
49+
% First step at or beyond t U/c = 100 for the velocity and TIME_STEP above.
50+
% The paper comparison uses only the next 520 c/U; crop that window in analysis.
51+
WINDOW_START_ITER= 4005
4452

4553
% ------------- Boundaries -------------------------------------------------------%
4654
MARKER_HEATFLUX= ( Wall, 0.0 )
@@ -65,10 +73,10 @@ MUSCL_TURB= NO
6573
TIME_DISCRE_TURB= EULER_IMPLICIT
6674

6775
CONV_RESIDUAL_MINVAL= -8
68-
CONV_FIELD= DENSITY
76+
CONV_FIELD= RMS_PRESSURE
77+
% Keep 50 inner iterations, as in the reported runs. Verify inner convergence
78+
% by increasing INNER_ITER in a sensitivity check before using other settings.
6979
CONV_STARTITER= 50
70-
CONV_CAUCHY_ELEMS= 10
71-
CONV_CAUCHY_EPS= 1E-5
7280

7381
% ------------- Input / output ---------------------------------------------------%
7482
MESH_FILENAME= Mesh.cgns
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
run,model,T_stats,CL_mean,CL_se,CD_mean,CD_se,CL_sec_rms,St_peak_sectional
2+
SA-DDES,SA_DDES,519.9511992385151,1.0782373780694232,0.03619820353924475,1.8101943418400481,0.06863725810391458,0.3017698493500093,0.1799563871818678
3+
SA-EDDES,SA_EDDES,519.9761740787686,1.0167216648155937,0.027030348884517587,1.7210606081411295,0.051334479595234676,0.24915657460090265,0.1899539642475271
4+
SST-DDES,SST_DDES,519.9511992385151,1.1245542601968852,0.04542252329059705,1.9353080126544602,0.09248001985305677,0.34928228700984304,0.16995881011620848
5+
SST-EDDES,SST_EDDES,519.9511992385151,0.9569561571594681,0.028839757769631238,1.6167399478511257,0.04908352090394599,0.2501503851351258,0.1899539642475271

0 commit comments

Comments
 (0)