Lecture Slides Part1 3
Lecture Slides Part1 3
Jan Pralits
Poiseuille flow
The evolution of the linearized equations give us the dynamics of infinitesimal perturbations,
potentially leading to transition.
d/dt(ln(E))
1
0.3
10
E
0
y
0.2
0.1
−0.5
0
0
−1 10 −0.1
0 0.2 0.4 0.6 0.8 1 0 20 40 60 80 100 0 20 40 60 80 100
|v(y,t)| t t
Aeroelasticity
instabilities ? e
Kw w
δ
A2: Constrained optimization is a useful tool.
Optimal perturbations ↔ Nonmodal growth
2
10
1
10
||w||
0
10
−1
10
0 2 4 6 8 10 12 14 16 18 20
t
Movie 2
Hydrodynamic stability
Hydrodynamic stability theory is concerned with the respons of laminar flow to a disturbance of
small or moderate amplitude.
Stability theory deals with the mathematical analysis of the evolution of disturbances superposed
to a laminar base flow.
In many cases one assumes the disturbances to be small so that further simplifications can be
justified. In particular, a linear equation governing the evolution of disturbances is desirable.
As the disturbance velocities grow above a few % of the base flow, nonlinear effects become
important and linear equations no longer accurately predict the disturbance evolution.
Although the linear equations have a limited region of validity they are important in detecting
physical growth mechanisms and identifying dominant disturbance types.
Tu ∼ 0.1%
Tu ∼ 10%
Movie 2
Disturbance equations I
∂ui ∂ui ∂p 1 2
= −uj − + ∇ ui
∂t ∂xj ∂xi Re
∂ui
= 0
∂xi
ui (xi , 0) = ui0 (xi )
∗ ∗
Re = U∞ δ /ν ∗
ui = Ui + ui0 decomposition
p = P + p0
Introduce decomposition, drop primes, subtract eq’s for {Ui , P}
∂ui ∂ui ∂Ui ∂p 1 2 ∂ui
= −Uj − uj − + ∇ ui − uj
∂t ∂xj ∂xj ∂xi Re ∂xj
∂ui
= 0
∂xi
Disturbance equations II
∂ui ∂ui ∂p 1 2
= −uj − + ∇ ui
∂t ∂xj ∂xi Re
∂ui
= 0
∂xi
ui (xi , 0) = ui0 (xi )
∗ ∗
Re = U∞ δ /ν ∗
ui = Ui + ui0 decomposition
0
p = P +p
Introduce decomposition, drop primes, linearize
∂ui ∂ui ∂Ui ∂p 1 2 ∂ui
= −Uj − uj − + ∇ ui − uj
∂t ∂xj ∂xj ∂xi Re ∂xj
∂ui
= 0
∂xi
∂ui ∂ui ∂p 1 2
= −uj − + ∇ ui
∂t ∂xj ∂xi Re
∂ui
= 0
∂xi
ui (xi , 0) = ui0 (xi )
∗ ∗
Re = U∞ δ /ν ∗
ui = Ui + ui0 decomposition
p = P + p0
Linearised Navier-Stokes equations,
∂ui ∂ui ∂Ui ∂p 1 2
= −Uj − uj − + ∇ ui
∂t ∂xj ∂xj ∂xi Re
∂ui
= 0
∂xi
Stability definitions I
Z
1
E (t) = ui (t)ui (t) dΩ
2 Ω
E (t)
Stable : lim →0
t→∞ E (0)
dE
Monotonically stable : Globally stable and ≤0 ∀t > 0
dt
Critcial Reynolds numbers for a number of wall-bounded shear flows compiled from the literature.
Reynolds-Orr equation
Z Z
dE ∂Ui 1 ∂ui ∂ui
= −ui uj dΩ − dΩ
dt Ω ∂xj Re Ω ∂xj ∂xj
Inviscid Analysis
∂u ∂u ∂p
+U + vU 0 = −
∂t ∂x ∂x
∂v ∂v ∂p
+U + = −
∂t ∂x ∂y
∂w ∂w ∂p
+U + = −
∂t ∂x ∂z
∂u ∂v ∂w
+ + = 0
∂x ∂y ∂z
Initial conditions :
{u, v , w }(x, y , z, t = 0) = {u0 , v0 , w0 }(x, y , z)
Boundary conditions :
v(x, y = y1 , z, t) · n = 0 solid boundary 1
v(x, y = y2 , z, t) · n = 0 solid boundary 2
We can reduce the original 4 eq’s & 4 unknowns to a system of 2 eq’s and 2 unknowns
This is in two steps
1 Take the divergence of the momentum equations. This yields
∂v
∇2 p = −2U 0 .
∂x
2 The new pressure equation is introduced in the momentum equation for v . This yields
∂ ∂ ∂
+U ∇2 − U 00 v = 0.
∂t ∂x ∂x
∂u ∂w
η= − ,
∂z ∂x
where η satisfies
∂ ∂ ∂v
+U η = −U 0 .
∂t ∂x ∂z
with the boundary conditions
v =η=0 at a solid wall and in the far field (or second solid wall)
substitute ω = αc ⇒
U 00
D2 − k2 − ṽ = 0
U −c
ṽ (y = y1 ) = ṽ (y = y2 ) = 0 solid boundaries
The Rayleigh equation poses an eigenvalue problem of second order with c as the complex
eigenvalue. The coefficients of the operator are real. Any complex eigenvalue will therefore
appear as complex conjugate pairs. So, if c is an eigenvalue, so is c ∗ .
It has a regular singular point at U(yc ) = c, a condition where the order of the equation is
reduced (critical layer).
Instability must depend on U(y ) (only parameter). U can be any base flow
We look for base flows where the perturbations become unstable
Take α > 0. If αci > 0 the corresponding mode grows exponentially in time
Here we consider a parallel shear flow in a domain y ∈ (−1, 1) and prove a necessary condition
for instability.
THEOREM : If there exist perturbations with ci > 0, then U 00 (y ) must vanish for some
ys ∈ [−1, 1]
PROOF :
The proof is given by multiplying the Rayleigh equation by ṽ ∗ and integrating y from −1 to 1.
This yields
1 U 00
Z
− ṽ ∗ D 2 ṽ − k 2 ṽ − ṽ dy =
−1 U −c
1 1 U 00
Z Z
|D ṽ |2 + k 2 |ṽ |2 dy + |ṽ |2 dy
= 0
−1 −1 U −c
The first integral is positive definite. The equation equals zero if the second integrand of the
second equation changes sign.
This is analyzed by multiplying and dividing the second integral with U − c ∗ . This yields
1 1 U 00 (U − c ∗ )
Z Z
|D ṽ |2 + k 2 |ṽ |2 dy + |ṽ |2 dy
= 0
−1 −1 (U − c)(U − c ∗ )
the imaginary part states : U 00 must change sign to render the integral equal to zero if c 6= 0.
1 U 00 ci
Z
|ṽ |2 dy = 0.
−1 |U − c|2
THEOREM : Given a monotonic mean velocity profile U(y ), a necessary condition for instability
is that U 00 (U − Us ) < 0 for some y ∈ [−1, 1], with Us = U(ys ) as the mean velocity at the
inflection point, i.e. U 00 (ys ) = 0
We add to the left side the following integral which is identically 0 (Rayleigh’s i.p. criteria)
1 U 00
Z
(cr − Us ) |ṽ |2 dy = 0.
−1 |U − c|2
We then get
1 U 00 (U − Us ) 2 1
Z Z
|D ṽ |2 + k 2 |ṽ |2 dy ,
|ṽ | dy = −
−1 |U − c|2 −1
For the integral on the LHS to be negative the value of U 00 (U − Us ) must be negative somewhere
in the flow.
Both profiles lead to unstable solutions according to Rayleigh’s criterion; however the inflection
point has to be a maximum of the spanwise vorticity (not a minimum).
General considerations: I
U 00 = 0 which simplifies the Rayleigh equation
(except at the connecting points) II
U(y)
k 2 p̃ U 0 ṽ
D ṽ ṽ
− = − = D
iα(U − c)2 U −c (U − c)2 U −c
(D 2 − k 2 )ṽ = 0
J(U − c)D ṽ − U 0 ṽ K = 0,
s {
ṽ
= 0,
U −c
to determine the coefficients of the fundamental solution and finally the dispersion relation c(k).
Velocity profile
I
1 for y >1
U(y ) = y for −1 ≤ y ≤ 1
−1 for y < −1
II
U(y)
Boundary conditions
ṽ → 0 as y → ±∞
III
A general solution can be written
ṽI = A exp(−ky ) for y >1
ṽII = B exp(−ky ) + C exp(ky ) for −1 ≤ y ≤ 1
ṽIII = D exp(ky ) for y < −1
Derive
c = c(k)
Make a plot of c(k) for k ∈ [0, 2] and discuss the results.
For 0 ≤ k ≤ 0.6392 the expression under the square root is negative resulting in purely
imaginary eigenvalues
For k > 0.6392 the eigenvalues are real, and all disturbances are neutral
As the wave number goes to zero, the wavelength associated with the disturbances is much
larger than the length scale associated with U(y ). The limit of small k is equivalent to the
limit of zero thickness of region II .
1 0.8
c+ c+
c− c−
0.8
0.6
0.6
0.4
0.4
0.2
0.2
cr
ci
0 0
−0.2
−0.2
−0.4
−0.4
−0.6
−0.6
−0.8
−1 −0.8
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
k k
Viscous Analysis
Only linear or parabolic velocity profiles satisfy the steady viscous equations (Couette,
Poiseuille)
∂u ∂u ∂p 1 2
+U + vU 0 = − + ∇ u
∂t ∂x ∂x Re
∂v ∂v ∂p 1 2
+U + = − + ∇ v
∂t ∂x ∂y Re
∂w ∂w ∂p 1 2
+U + = − + ∇ w
∂t ∂x ∂z Re
∂u ∂v ∂w
+ + = 0
∂x ∂y ∂z
Initial conditions :
{u, v , w }(x, y , z, t = 0) = {u0 , v0 , w0 }(x, y , z)
We can reduce the original 4 eq’s & 4 unknowns to a system of 2 eq’s and 2 unknowns
This is in two steps
1 Take the divergence of the momentum equations. This yields
∂v
∇2 p = −2U 0 .
∂x
2 The new pressure equation is introduced in the momentum equation for v . This yields
∂ ∂ ∂ 1 4
+U ∇2 − U 00 − ∇ v = 0.
∂t ∂x ∂x Re
∂u ∂w
η= − ,
∂z ∂x
where η satisfies
∂ ∂ 1 2 ∂v
+U − ∇ η = −U 0 .
∂t ∂x Re ∂z
with the boundary conditions
v = v0 = η = 0 at a solid wall and in the far field (or second solid wall)
1
(−iω + iαU)(D 2 − k 2 ) − iαU 00 − (D 2 − k 2 )2 ṽ = 0
Re
1
(−iω + iαU) − (D 2 − k 2 ) η = −iβU 0 ṽ
Re
Squire modes I
1
(U − c)η̃ = (D 2 − k 2 )η̃
iαRe
Multiplying by η̃ ∗ and integrating
Z 1 Z 1 1
Z 1
c |η̃|2 dy = U|η̃|2 dy − η̃ ∗ (D 2 − k 2 )η̃dy
−1 −1 iαRe −1
1
(U − c)(D 2 − k 2 )ṽ − U 00 ṽ − (D 2 − k 2 )2 ṽ = 0
iαRe
1
(U − c)(D 2 − α22D )ṽ − U 00 ṽ − (D 2 − α22D )2 ṽ = 0
iα2D Re2D
p
α2D = k= α2 + β 2
α2D Re2D = αRe
⇒
α
Re2D = Re < Re
k
α
Re2D = Re < Re
k
We can therefore define a critical Reynolds number for parallel shear flows as
where A is a matrix ∈ C2N×2N . This is an eigenvalue problem from which a solution is obtained
for the eigenvalue ωn and eigenvector q̃n . Note that N is the number of discrete points in the
wall-normal direction.
Continuous spectrum
If we assume that
ṽ (y ) = v̂ exp(λn y )
k2
c = U∞ − i(1 + ξ 2 )
αRe
Summary
Critcial Reynolds numbers for a number of wall-bounded shear flows compiled from the literature.
Linearization
The linearization step decomposes the flow field into a (steady) base flow and a small amplitude
perturbation of order O()
Q(x, t) = Q(x) + q(x, t) + O(2 ).
Substituting into the Navier-Stokes equations and extracting the terms of order O() yields the
linearized Navier-Stokes equations governing the evolution of small disturbances
∂q
= Lq.
∂t
Note that L = L(Q).
q = exp(tL)q0
where q0 is the initial condition. The operator exponential propagates the initial condition
forward in time.
Note:
∞
1 1 X 1
exp(tL) = I + tL + t 2 L2 + ... = (tL)n .
1! 2! n=0
n!
We simplify the linear operator L by transforming it into diagonal form, thus decoupling the
degrees of freedom. This allows the analysis of individual modes. If LS = SΛ then we have
L = SΛS −1
Most conclusions about the behavior of exp(tL) are drawn from Λ with little regard given to the
similarity transformation based on S that diagonalized the linear operator L.
Questions
Let’s determine a lower and upper bound of the operator exponential norm.
Note
Lower bound: It cannot decay faster than the least stable mode λmax
The term kSkkS −1 k = κ(S) is called the condition number and κ(S) ≥ 1.
Classification
If κ(S) = 1 then the upper and lower bound coincide. The temporal behavior is governed by
the exponential behavior for all times.
If κ(S) > 1 then only the asymptotic behavior is given by the least stable mode.
Short explanations:
If L = SΛS −1 and L2 = (SΛS −1 )(SΛS −1 ) = SΛ2 S −1 then Ln = SΛn S −1
So I + tL + 1/(2!)t 2 L2 + ... = S(I + tΛ + 1/(2!)t 2 Λ2 + ...)S −1 = S exp(tΛ)S −1
Definition of non-normality
Linear operators with κ(S) = 1 are called Normal and have orthogonal eigenvectors
Linear operators with κ(S) > 1 are called Non-normal and have non-orthogonal eigenvectors
Alternatively
An operator is non-normal if LL? 6= L? L
kLL? − L? Lk
Short explanations:
Definition of adjoint: hv , Lui = hL∗ v , ui for two arbitrary fields u and v , and h, i denotes a chosen inner
product.
If L is a real valued matrix then L∗ = LT
Non-orthogonal superposition
Let us assume that we expand an initial condition q
of unit length in a non-orthogonal (two-dimensional)
basis as shown in the Figure.
Φ1 and Φ2 are two solutions which decay in time. In
terms of eigenvalues they are both stable.
The correct way to analyze the behavior of exp(tL) is to compute its potential to amplify a given
disturbance over time.
We will measure the size of the disturbance by an appropriate norm (see below) and define as the
maximum amplification the ratio of disturbance size to its initial size optimized over all possible
initial conditions.
We have
kqk k exp(tL)q0 k
max = max = k exp(tL)k ≡ G (t)
∀q0 kq0 k ∀q0 kq0 k
The quantity G (t) represents the maximum possible amplification of unit-norm initial conditions
over a time period t and is denote the gain.
Short explanations:
Using the inequality k exp(tL)q0 k ≤ k exp(tL)kkq0 k
then
k exp(tL)q0 k k exp(tL)kkq0 k
≤ = k exp(tL)k
kq0 k kq0 k
The choice of inner product will quantitatively influence the maximum amplification potential of
the underlying operator. Therefore, the norm and inner product have to be chosen carefully.
Basic requirements
kqk ≥ 0
and
kqk = 0 if and only if q = 0.
Note that the norm has to include all components of q. Otherwise, infinite transient growth is
possible, by choosing a disturbance with infinite amplitudes in components that are not
accounted for in the norm.
1 Compute the first N eigenvalues (λ) and eigenvectors (q) of the flow, where L = SΛS −1
2 Invert S
3 Form the matrix
exp(tλ1 )
S
.. −1
S
.
exp(tλN )
4 Compute the norm of the above matrix
G (t) = kS exp(tΛ)S −1 k
We choose a formulation of the linearized Navier-Stokes equations in terms of the normal velocity
v and the normal vorticity η = ∂u/∂z − ∂w /∂x. The linear operator is similar to the classical
Orr-Sommerfeld operator.
Our state vector is q = (v , η)T and the kinetic energy in these variables is
Z
1
|Dv |2 + k 2 |v |2 + |η|2 dΩ
E (t) =
2k 2 Ω
Z H
−D2 + k 2 0
1 v v
= kqk2E =
2k 2 Ω η 0 1 η
Z
1
= q H M q dΩ
2k 2 Ω
Here, D denotes differentiation, k wave-number modulus and M a positive definite weight matrix.
Reduction to a 2-norm
The problem is simplified by transforming the energy norm to a standard L2 -norm. Using
Cholesky decomposition we can write M = F H F . We then get
Z Z
1 1
kqk2E = q H H
F Fq dΩ = (Fq)H Fq dΩ
2k 2 Ω 2k 2 Ω
Note that the energy weight is accounted for by the matrices F −1 and F .
for the first N eigenfunctions of L. In the following we need to consider the expansion coefficients
κ and the matrix exponential exp(tΛ). The latter is much easier to compute.
The energy norm is now written
N N
Z Z ! !
1 1 X
∗
X
kqk2E = q H
M q dΩ = κn (t)q̄ H
n M κm (t)q̄ m dΩ
2k 2 Ω 2k 2 Ω n=1 m=1
N
1 X ∗
= κ (t)Mmn κm (t),
2k n,m=1 n
2
where Z
Mmn = q̄nH M q̄m dΩ.
Ω
F
.. −1
F
.
exp(tλN )
6 Compute the L2 -norm of the above matrix
Optimal disturbances
The initial condition yielding the gain at a specific
time (tspec ) is called optimal disturbance. It can be
evaluated by performing a Singular Value
Decomposition as
F exp(tΛ)F −1 = UΣV H ,
or equivalently
F exp(tΛ)F −1 V = UΣ.
Figure : Amplification G (t) for
Poiseuille flow with Re = 1000, α = 1 We identify the left singular vector associated with
(solid line) and growth curves of the largest singular value (which is identical to the
selected initial conditions (dashed norm of the matrix exponential) as the desired initial
lines). condition that will result in maximum amplification at
time tspec . Note : U and V are unitary matrices.
F
.. −1
F
.
exp(tspec λN )
6 Compute the singular value decomposition of the above matrix
F exp(tspec Λ)F −1 = UΣV H
7 Extract the first column of V as the optimal initial condition at t = tspec
Jan Pralits (University of Genoa) Hydrodynamic stability July 8-10, 2013 65 / 77
Constrained optimization
Constrained Optimization
Motivation
A1: Gives a general framework to compute optimal perturbations. Alternative to the previously
shown nonmodal stability analysis and can be applied to nonlinear state equations.
U Θ M K
∞ Θ
a.c.
c.g.
e
Kw w
δ
Movie 2
The solution of the constrained problem is usually very different from the solution of the
unconstrained problem as seen from the example below.
200
130
100
100
−8 6
70
70
50
50
200
200
−4
130
100
130
100
20
20
10
10
70
70
50
50
20
20
10
10
2 2 4 2
−6
5
5
−2
0
1 −4
0
1 1
−2 0 0
5
5
200
130
100
100
130
200
0 0 0
5
θ
200
200
130
100
100
130
70
70
50
50
20
20
10
10
50
70
70
50
20
20
10
10
5
0 −2 0
−1 −1 2 −4 −1
−2
0
0
4 −6
−2 −2 −2
5
5
6
−4
−8
200
200
2
130
130
100
100
200
130
130
200
100
100
70
70
50
50
20
20
70
70
50
50
20
20
10
10
10
10
−3 −3 −3
−3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3
g g g
200
200
130
100
130
100
70
70
50
50
20
20
10
10
on the path given by F = 0. If the level lines of J and the path are 2
0
1
continuous, then at the point where the minimum is reached, the 0
5
path is tangent to the level curve of the optimal J . 0
200
200
130
100
100
130
50
70
70
50
20
20
10
5
10
0
−1
0
This implies that at optimality the gradient of the cost function −2
200
200
130
130
100
100
and the gradient of F are parallel in the φ − g plane, i.e.
70
70
50
50
20
20
10
10
−3
−3 −2 −1 0 1 2 3
g
∂J ∂J ∂F ∂F
, =a ,
∂g ∂φ ∂g ∂φ
The above relation gives an Optimality System:
∂J ∂F
−a =0
∂g ∂g
∂J ∂F
−a =0
∂φ ∂φ
F =0
Lagrange remarked: if the new cost function L = J − a F is considered, then the above
conditions coincide with the optimality conditions for the unconstrained optimization of
L(φ, g , a) if the all the variables are considered as independent.
L is usually referred to as the Lagrangian and a is usually called Lagrange multiplier.
200
130
100
100
130
200
70
70
50
50
20
20
10
10
∂L ∂J ∂F 2
5
= −a = 2φ − a g = 0
∂φ ∂φ ∂φ
0
1
0
∂L
5
0
θ
= F = φg − 1 = 0
200
200
130
100
100
130
5
70
50
50
70
20
20
10
10
0
∂a −1
0
This system of 3 unknowns and 3 equations can be solved −2
5
analytically.
200
130
100
130
200
100
70
50
70
50
20
20
10
10
−3
−3 −2 −1 0 1 2 3
g
L(φ
φ, g, a) = J (φ
φ, g) − a · F(φ
φ, g)
where · denotes a scalar product. Optimality conditions are given on L considering φ , g and a as
independent variables and therefore enforcing that
∂L ∂L ∂L
= 0, (j = 1, . . . , N), = 0, (k = 1, . . . , K ), = 0, (i = 1, . . . , N)
∂φj ∂gk ∂ai
When enforced these conditions using the variational approach. The system reads:
T
∂L ∂F ∂J
=0 → a= adjoint equations
φ
∂φ φ
∂φ φ
∂φ
T
∂L ∂F ∂J
=0 → a= optimality condition
∂g ∂g ∂g
∂L
=0 → F=0 state equation
∂a
φ, g) = cT φ ,
J (φ (1)
A φ = g, (2)
φ
dφ
φ, g) =
F(φ − Lφφ = 0, 0≤t≤T
dt
φ (0) = g
Let us optimize the initial condition g in order to maximize the ”energy” of φ at the final time T
to the input ”energy”. In a similar manner we can define a minimization problem where the cost
function is g·g
J =
φ (T ) · φ (T )
The Lagrangian of the unconstrained problem can now be written, by first introducing the
Lagrange multipliers a(t) and b, as
Z T
φ
dφ
L(φ
φ, g, a, b) = J (φ
φ, g) − a· − Lφ
φ dt − b · [φ
φ(0) − g ]
0 dt
In general this problem definition considers optimal (transient) energy growth and the
corresponding optimal perturbation. This analysis coincides with the analysis of maximum
nonmodal growth for a prescribed final time T . With a converged solution we have the so called
gain as G (T ) = J −1 .
∂L ∂L dφφ
= 0, =0 → − Lφ
φ = 0, φ (0) = g state equation
∂a ∂b dt
∂L da −2φ φ(T )g · g
=0 → − − LT a = 0, a(T ) = adjoint equations
φ
∂φ dt φ(T ) · φ (T ))2
(φ
∂L φ (T ) · φ (T )
=0 → g = −a(0) optimality condition
∂g 2
Note that the adjoint equation is integrated ”backwards” in time. How about the solution
procedure ?
1 i =i +1 10
3
φ
dφ
E(t)
2
10
2 − Lφφ = 0, 0 ≤ t ≤ T ,
dt 1
10
with φ (0) = g
0
10
g·g 0 10 20 30 40 50
3 Ji =
t
φ (T ) · φ (T ) L =
−0.1 p
0 −0.15
Stable case
2
da 10
4 − − LT a = 0, 0 ≤ t ≤ T ,
dt 1
10
g·g
with a(T ) = −2φφ(T )
φ(T ) · φ (T ))2
E(t)
0
(φ 10
−1
10
φ (T ) · φ (T )
5 g = −a(0)
2 −2
10
0 10 20 30 40 50
t
while (J i − J i−1 )/J i > err
T = 50 and p = 0, 1, 2, 3, 4, 5