Skip to content

Commit b1c0341

Browse files
committed
Some corrections
1 parent 9f78e9e commit b1c0341

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

_tutorials/compressible_flow/Unsteady_NACA0012.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ This problem will solve the flow about the airfoil with these conditions:
4444
- Reynolds number = 1E3
4545
- Reynolds length = 1.0 m
4646

47-
These subsonic flow conditions cause a detached flow about the airfoil, that exhibts a vortex street and is therefore periodic.
47+
These subsonic flow conditions cause a detached flow on the upper side of the airfoil, which result in a vortex street and therefore periodic behavior.
4848

4949
### Mesh Description ###
50-
The computational domain consists of a grid of 14495 quadrilaterals, that sourrounds the NACA0012 airfoil. We note that this is a very coarse mesh, and should one wish to obtain more accurate solutions for comparison with results in the literature, finer grids should be used.
50+
The computational domain consists of a grid of 14495 quadrilaterals, that sourrounds the NACA0012 airfoil. Note that this is a very coarse mesh, and should one wish to obtain more accurate solutions for comparison with results in the literature, finer grids should be used.
5151

5252
Two boundary conditions are employed: the Navier-Stokes adiabatic wall condition on the wing surface and the far-field characteristic-based condition on the far-field marker.
5353

@@ -61,23 +61,23 @@ Figure (3): Close-up view of the airfoil surface and the aerodynamic coefficient
6161
### Configuration File Options ###
6262

6363
Configuration of the physical problem is similar to the ONERA M6 tutorial, that one can access [here](../Turbulent_ONERAM6). However, contrary to the ONERA M6 case, here a unsteady simulation is performed, hence, the Unsteady RANS (URANS) equations in 2D must be solved.
64-
Unsteady simulations in SU2 are computed employing a dual time-stepping scheme. To this end, one first performs a spatial discretization as explained in the [ONERA M6](../Turbulent_ONERAM6) tutoral.
64+
Unsteady simulations in SU2 are computed by employing a dual time-stepping scheme. To this end, one first performs a spatial discretization as explained in the [ONERA M6](../Turbulent_ONERAM6) tutorial.
6565
After that, a time discretization in physical time is performed, that results in a residual equation of the form
6666

6767
$$ R(u^n) = 0 \qquad \forall n=1,\dots,N. $$
6868

6969
Here, $$n$$ denotes the current physical time iteration, $$N$$ is the final (physical) time of the simulation, and $$R$$ is the residual, one has to solve.
7070
In this tutorial, a second order BDF scheme is employed.
71-
The idea of dual time-stepping is, that the current solution $$u^n$$ of the residual equation is computed for each time step by solving an ordinary differential equation in fictional time $$\tau$$. The ODE for physical time-step $$n$$ reads
71+
The idea of dual time-stepping is, that the current solution $$u^n$$ of the residual equation is computed for each time step by solving an ordinary differential equation in pseudo time $$\tau$$. The ODE for physical time-step $$n$$ reads
7272

7373
$$ \partial_\tau u^n + R(u^n) = 0. $$
7474

7575
Now, a steady state solution for this ODE is computed using the steady state solver. Once a solution is aquired, the residual equation for the next physical time step $$n+1$$ is set up.
76-
As a result there are two time iterators. The inner (fictional time) iterator and the outer (physical time) iterator. The number of iterations for the fictional time iterator is specified by `INNER_ITER` and the number of iterations
76+
As a result there are two time iterators. The inner (pseudo time) iterator and the outer (physical time) iterator. The number of iterations for the pseudo time iterator is specified by `INNER_ITER` and the number of iterations
7777
for the physical time iterator by `TIME_ITER`. The option `TIME_DOMAIN=YES` activates the time dependent solver in SU2.
7878
The option `TIME_MARCHING` specifies the numerical method to discretize the time domain in physical time and `TIME_STEP`
7979
denotes the length of the physical time-step used.
80-
The numerical method to solve the inner (fictional time) ODE is given by the option `TIME_DISCRE_FLOW`.
80+
The numerical method to solve the inner (pseudo time) ODE is given by the option `TIME_DISCRE_FLOW`.
8181

8282
```
8383
% -------------UNSTEADY SIMULATION ----------------%
@@ -101,31 +101,31 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
101101
%
102102
```
103103

104-
This unsteady simulation results in a periodic flow, which can be seen by the vortex street in the flow visualization above. However, since the initial conditions are set to free-stream conditions, which have no physical meaning, a couple of iterations are needed to reach the periodic state.
104+
This unsteady simulation results in a periodic flow, which can be seen by the vortex street in the flow visualization above. However, since the initial conditions are set to free-stream conditions, a couple of iterations are needed to reach the periodic state.
105105
This time-span is called transient phase.
106106

107107
![Periodic Drag](../../Unsteady_NACA0012/images/Time_Dep_Drag.png)
108-
Figure (4): Time dependent drag (black) and lift (red) coefficient. The transient time spans approximately 300 (physical) time-steps.
108+
Figure (4): Time-dependent drag (black) and lift (red) coefficient. The transient time spans approximately 300 (physical) time-steps.
109109

110-
In a periodic flow, an insantaneous output value, e.g. $$C_D(t)$$ is not meaningful in some applications, e.g. aerodynamic shape optimization. Hence one often uses the average value of one period $$T$$.
110+
Usually in a periodic flow an instantaneous output value, e.g. $$C_D(t)$$, is not meaningful. Hence one often uses the average value of one period $$T$$:
111111

112112
$$ \frac{1}{T}\int_0^T C_D(t) \mathcal{d}t$$
113113

114114
However, the exact duration of a period is unknown or cannot be resolved due to a too coarse time discretization. Therefore,
115115
one averages over a finite time-span $$M$$, which lasts
116-
a couple of periods and hopes for convergence to the period-average.
116+
a couple of periods and hopes for convergence to the period-average
117117

118-
$$ \frac{1}{M}\int_0^M C_D(t) \mathcal{d}t$$
118+
$$ \frac{1}{M}\int_0^M C_D(t) \mathcal{d}t.$$
119119

120-
If one employs a weighting function $$w(t)$$ , called window-function, the time-average converges faster to the actual period-average.
120+
If one employs a weighting function $$w(t)$$, called window-function, the time-average converges faster to the actual period-average
121121

122-
$$ \frac{1}{M}\int_0^M w(t/M)C_D(t) \mathcal{d}t$$
122+
$$ \frac{1}{M}\int_0^M w(t/M)C_D(t) \mathcal{d}t.$$
123123

124124
A windowing function is a function, that is zero on its boundaries $$0$$ and $$M$$ and has integral $$1$$. The iteration
125-
to start the windowed time-average is specified with `WINDOW_START_ITER`. Note, that at this iteration, the transient phase of the flow must have passed. Otherwise a time average, that approximates a period average is not meaningful.
125+
to start the windowed time-average is specified with `WINDOW_START_ITER`. Note, that at this iteration the transient phase of the flow must have passed. Otherwise a time average that approximates a period average is not meaningful.
126126
The windowing function can be specified with the option `WINDOW_FUNCTION`.
127127
Note, that windowing functionality also works for sensitivities of time dependent outputs. In this case, the order of convergence is reduced by 1.
128-
The following options are implemented.
128+
The following options are implemented:
129129

130130
| Window | Convergence Order | Convergence Order (sensitivity) |
131131
| --- | --- | --- |
@@ -137,9 +137,8 @@ The following options are implemented.
137137
![Windowing functions](../../Unsteady_NACA0012/images/wndFcts.png)
138138
Figure (5): Different window-functions in the time span from 0 to 1.
139139

140-
The `SQUARE`-window denotes the case of uniform weighting by 1, i.e. the case, where no special windowing-function is applied. It is not recommended to use `SQUARE`- windowing for senstivities, since no convergence is guarantied.
141-
For further information about the windowing approach, we refer to the work of Krakos et al. ([Sensitivity Analysis of Limit Cycle Oscillations](https://arc.aiaa.org/doi/abs/10.2514/6.2011-3553 "Sensitivity Analysis of Limit Cycle Oscillations")) and
142-
the work of Schotthöfer et al. ([AIAA PAPER, TBA](TBA "AIAA PAPER")).
140+
The `SQUARE`-window denotes the case of uniform weighting by 1, i.e. the case, where no windowing-function is applied. It is not recommended to use `SQUARE`- windowing for sensitivities, since no convergence is guaranteed.
141+
For further information about the windowing approach, we refer to the work of Krakos et al. ([Sensitivity Analysis of Limit Cycle Oscillations](https://arc.aiaa.org/doi/abs/10.2514/6.2011-3553 "Sensitivity Analysis of Limit Cycle Oscillations")).
143142
The windowed time-averaged output-field can be accessed in `SCREEN_OUTPUT` by adding the prefix `TAVG_` to the chosen output-field. For
144143
time-averaged sensitivities, one adds the prefix `D_TAVG_`.
145144

@@ -148,7 +147,7 @@ The Cauchy-criterion is applied to the windowed time-average from the iteration
148147
The field or the list of fields to be monitored can be specified by `CONV_WINDOW_FIELD`.
149148
The solver will stop, if the average over a certain number of elements (set with `CONV_WINDOW_CAUCHY_ELEMS`) is smaller than the value set with `CONV_WINDOW_CAUCHY_EPS`.
150149
The windowed time-averaged Cauchy criterion can be activated by setting `WINDOW_CAUCHY_CRIT = YES` (default is `NO`).
151-
If a list of multiple convergence fields is chosen, the sovlver terminates, if the Cauchy criterion is satisfied for all fields on the list.
150+
If a list of multiple convergence fields is chosen, the sovlver terminates, if the Cauchy criterion is satisfied for all fields in the list.
152151
```
153152
% --- Coefficient-based Windowed Time Convergence Criteria ----%
154153
%
@@ -173,7 +172,7 @@ WINDOW_START_ITER = 500
173172
% Window-function to weight the time average. Options (SQUARE, HANN, HANN_SQUARE, BUMP), SQUARE is default.
174173
WINDOW_FUNCTION = HANN_SQUARE
175174
```
176-
Note, that in application, it may happen that a test case is not purely periodic, but the period-mean has a slight shift upwards
175+
Usually a case is not purely periodic, but the period-mean has a slight shift upwards
177176
or downwards. Hence, the time-convergence epsilon value is typically not as small as in the time-steady case.
178177

179178
As one can see in Fig. (4), the transient phase of drag (and lift) is about 500 iterations, thus a suitable starting time for the windowed-average is `WINDOW_START_ITER=500`.

0 commit comments

Comments
 (0)