adjoint sensitivity analysis for two layered shallow water ... · motivation and literature survey...
TRANSCRIPT
![Page 1: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/1.jpg)
Adjoint Sensitivity Analysis for Two Layered ShallowWater Equations
Vani Cheruvu
Department of Scientific ComputingFlorida State University
Collaborator: Dr. Joe Tribbia, NCAR
August 18, 2009
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 1 / 33
![Page 2: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/2.jpg)
Organization of the talk
Motivation and Literature Survey
Direct Sensitivity Method
Adjoint Sensitivity Method
Adjoint Sensitivity Analysis for two layered shallow water equationsI Shallow water approximation for two layered seaI Normal form and its adjointI Standard Adjoint FormalismI Characteristic Adjoint Formalism
Summary
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 2 / 33
![Page 3: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/3.jpg)
Motivation and Literature Survey
J.J. Stoker Water Waves The Mathematical Theory with ApplicationsPure and Applied Mathematics Vol. IV (1957).
N.D. KatopodesTwo dimensional unsteady flow through a breacheddam by the method of characteristics, Ph.D. Thesis (1977).
Marchuk Adjoint Equations and Analysis of Complex Systems (1995).
B.F. Sanders Control of shallow-water flow using the adjointsensitivity method, Ph.D. Thesis (1997).
B. F. Sanders and N.D. Katopodes Adjoint sensitivity analysis forshallow-water wave control J of Engineering Mechanics (2000).
P. Concus, G.H. Golub and Y. Sun Object-oriented parallel algorithmsfor computing three-dimensional isopycnal flow International Journalfor Numerical Methods in Fluids (2002).
A. Rousseau, R. Temam and J. Tribbia Numerical simulations of theinviscid primitive equations in a limited domain Advances inMathematical Fluid Dynamics (2006).
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 3 / 33
![Page 4: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/4.jpg)
Why an Adjoint Equation?
Diffusion equation defined in the domain x ∈ (0, L) is
D∂2C
∂x2+ f = 0, C (0) = C (L) = 0
Objective function :
J =
∫ L
0r(x)C (x) dx
where r = δ(x − xT ).
Adjoint Equation
D∂2C ∗
∂x2+ r = 0
Objective function:
J =
∫ L
0f (x)C ∗(x) dx
where f = Mδ(x − xs).IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 4 / 33
![Page 5: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/5.jpg)
Derivation
∫ L
0C ∗[
D∂2C
∂x2+ f
]dx = D
[C ∗∂C
∂x
]L
0
− D
[∂C ∗
∂xC
]L
0
+
∫ L
0
[CD
∂2C ∗
∂x2+ C ∗f
]dx = 0
J =
∫ L
0
[CD
∂2C ∗
∂x2+ C ∗f
]dx +
∫ L
0rCdx
J =
∫ L
0C
[D∂2C ∗
∂x2+ r
]dx +
∫ L
0fC ∗dx
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 5 / 33
![Page 6: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/6.jpg)
Shallow Water Equations
∂η
∂t+∂(Hu′ + Uη)
∂x= 0
∂u′
∂t+∂(Uu′ + gη)
∂x= 0
Objective Function
J =
∫ T
0
∫ L
0r(η, u′; x , t)dxdt
t= time; x = distance along the channel; η = flow perturbation;u′ = discharge per unit width; r = user-defined measuring function
r =1
2[η(x0, t)− η(x0)]2 δ(x − x0)
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 6 / 33
![Page 7: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/7.jpg)
Direct Sensitivity Method
The basic problem is solved
A reference value of the objective function J0 is computed
A flow variable is perturbed at the boundary at the selectedperturbation time
The associated objective function value is computed again
This procedure is repeated for sufficiently many selections of time
This yields the temporal evolution of the sensitivities
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 7 / 33
![Page 8: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/8.jpg)
Adjoint Sensitivity MethodDerivation of 1D Adjoint Equations
Adjoint variables : φ(x , t) and ψ(x , t)
Multiply the continuity equation by φ(x , t) and the momentumequation by ψ(x , t)
The sum of these two products is then integrated over space and time
Flow control is desired
Variation of the objective function with respect to η and u′ iscalculated
Add these two variations
Assign initial condition for the adjoint problem
Assign boundary values for the adjoint variables
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 8 / 33
![Page 9: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/9.jpg)
Sensitivity Equations
Sensitivities required for subcritical flow control are given byδJ
δu′(0,t) and δJδη(L,t)
Sensitivities required for supercritical flow control are given byδJ
δu′(0,t) and δJδη(0,t)
To derive expressions for sensitivities in terms of the adjoint variables
Initial condition for the basic problemη(x , 0) = η0(x), u′(x , 0) = u′0(x); δη(x , 0) = 0, δu′(x , 0) = 0
Initial conditions in the adjoint problemφ(x ,T ) = 0 = ψ(x ,T )
Selection of boundary conditions for the adjoint problem is motivatedby the boundary conditions of the basic problem
Expressions are then derived for sensitivities to these boundary values
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 9 / 33
![Page 10: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/10.jpg)
Shallow water equations and its Adjoint
∂η
∂t+ U
∂η
∂x+ V
∂η
∂y+ H
∂u′
∂x+ H
∂v ′
∂y= 0
∂u′
∂t+ U
∂u′
∂x+ V
∂u′
∂y+ g
∂η
∂x= 0
∂v ′
∂t+ U
∂v ′
∂x+ V
∂v ′
∂y+ g
∂η
∂y= 0
Adjoint
∂φ
∂τ− U
∂φ
∂x− V
∂φ
∂y− g
∂ψ1
∂x− g
∂ψ2
∂y+∂r
∂η= 0
∂ψ1
∂τ− U
∂ψ1
∂x− V
∂ψ1
∂y− H
∂φ
∂x+∂r
∂u′= 0
∂ψ2
∂τ− U
∂ψ2
∂x− V
∂ψ2
∂y− H
∂φ
∂y+∂r
∂v ′= 0
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 10 / 33
![Page 11: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/11.jpg)
Nonreflective Outflow Boundary
Adjoint boundary conditions:
ψ(0, t) = 0 and
φ(L, t) + 2u′(L, t)
η(L, t)ψ(L, t) = 0
Sensitivities for the subcritical flow then are:
δJ
δu′(0, tp)= φ(0, tp)
δJ
δη(L, tp)=
[(u′(L, tp)
η(L, tp)
)2
− gη(L, tp)
]ψ(L, tp)
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 11 / 33
![Page 12: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/12.jpg)
A two layered sea of constant depth
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 12 / 33
![Page 13: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/13.jpg)
Two layered Shallow water model
The two layered shallow water model is given by,
∂η1
∂t+
∂
∂x[(η1 − η0)u1] = 0
∂u1
∂t+
∂
∂x
[u2
1
2+ gaη1 + gbη2
]= 0
for the lower layer and
∂η2
∂t+
∂
∂x[(η1 − η0)u1 + (η2 − η1)u2] = 0
∂u2
∂t+
∂
∂x
[u2
2
2+ gbη2
]= 0
for the upper layer where a = (ρ1−ρ2)ρ0
and b = ρ2ρ0
and u1 = u1(x , t) andu2 = u2(x , t) are the velocity components, η1 = η1(x , t) and η2 = η2(x , t)are perturbations of the height field for lower and upper layers respectively.The problem is defined in limited domain ie., 0 ≤ x ≤ L.
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 13 / 33
![Page 14: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/14.jpg)
Barotropic and Baroclinic Modes
The linearized two layered shallow water model in normal form is given by,
∂ζ
∂t+
(h + h′
h
)∂U
∂x= 0
∂U
∂t+ gh
∂ζ
∂x= 0
∂ζ ′
∂t+∂U ′
∂x= 0
∂U ′
∂t+
(gεhh′
h + h′
)∂ζ ′
∂x= 0
This is in barotropic and baroclinic modes. Here, ε = ρ′−ρρ′ .
Initial conditions for the Direct Problem:
ζ(x , 0) = ζ0(x); ζ ′(x , 0) = ζ ′0(x); U(x , 0) = U0(x); U ′(x , 0) = U ′0(x)
δζ(x , 0) = 0; δζ ′(x , 0) = 0; δU(x , 0) = 0; δU ′(x , 0) = 0
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 14 / 33
![Page 15: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/15.jpg)
Sensitivities using Direct Sensitivity Method
0 2 4 6 8 10 12 14 16 18 2012.8
13
13.2
13.4
13.6
13.8
14
14.2
14.4
size of the perturbation times
−log
(sen
sitiv
ity o
f the
hei
ght v
aria
ble
in th
e lo
wer
leve
l)
Direct sensitivity of lower layer height variable with non−periodic BCs
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 15 / 33
![Page 16: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/16.jpg)
Sensitivities using Direct Sensitivity Method
0 2 4 6 8 10 12 14 16 18 2013
13.5
14
14.5
size of the perturbation times
−log
(sen
sitiv
ity o
f the
vel
ocity
fiel
d in
the
low
er le
vel)
Direct sensitivity of lower layer velocity field with non−periodic BCs
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 16 / 33
![Page 17: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/17.jpg)
Sensitivities using Direct Sensitivity Method
0 2 4 6 8 10 12 14 16 18 205.35
5.4
5.45
5.5
5.55
5.6
5.65
5.7
5.75
5.8
5.85
size of the perturbation times
−log
(sen
sitiv
ity o
f the
hei
ght f
ield
in th
e up
per l
ayer
)
Direct sensitivity of upper layer height field with non−periodic BCs
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 17 / 33
![Page 18: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/18.jpg)
Sensitivities using Direct Sensitivity Method
0 2 4 6 8 10 12 14 16 18 20−10.1519
−10.1519
−10.1519
−10.1519
−10.1518
−10.1518
−10.1518
−10.1518
−10.1518
size of the perturbation times
−log
(sen
sitiv
ity o
f the
vel
ocity
fiel
d in
the
uppe
r lay
er)
Direct sensitivity of upper layer velocity field with non−periodic BCs
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 18 / 33
![Page 19: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/19.jpg)
The Adjoint
The adjoint for the normal form of two layered shallow water equations (inbarotropic and baroclinic modes) is given by,
∂φ
∂τ− gh
∂ψ
∂x+∂r
∂ζ= 0
∂ψ
∂τ−(
h + h′
h
)∂φ
∂x+∂r
∂U= 0
∂φ′
∂τ− gh′
∂ψ′
∂x+∂r
∂ζ ′= 0
∂ψ′
∂τ−(
h + h′
h′
)+
∂r
∂U ′= 0
Initial conditions for the Adjoint Problem:
φ(x ,T ) = 0; φ′(x ,T ) = 0; ψ(x ,T ) = 0; ψ′(x ,T ) = 0
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 19 / 33
![Page 20: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/20.jpg)
Standard Adjoint Problem Formalism
Boundary Conditions:
φ(L, t) = ζ(L, t); ψ(0, t) = U(0, t); φ′(L, t) = ζ ′(L, t); ψ′(0, t) = U ′(0, t)
δJ =
∫ T
0
[aφ(L, t)δU + bψ(L, t)δζ + cφ′(L, t)δU ′ + dψ′(L, t)δζ ′
]L0
dt
Sensitivities:
δJ
δU(0, tp)= −aφ(0, tp);
δJ
δU ′(0, tp)= −cφ′(0, tp)
δJ
δζ(L, tp)= bψ(L, tp);
δJ
δζ ′(L, tp)= dψ′(L, tp)
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 20 / 33
![Page 21: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/21.jpg)
Sensitivities using Adjoint Sensitivity Method
0 2 4 6 8 10 12 14 16 18 20−3.5
−3
−2.5
−2
−1.5
−1
−0.5
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 21 / 33
![Page 22: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/22.jpg)
Sensitivities using Adjoint Sensitivity Method
0 2 4 6 8 10 12 14 16 18 204
4.5
5
5.5
6
6.5
7
7.5
8
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 22 / 33
![Page 23: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/23.jpg)
Sensitivities using Adjoint Sensitivity Method
0 2 4 6 8 10 12 14 16 18 20−4
−3.5
−3
−2.5
−2
−1.5
−1
−0.5
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 23 / 33
![Page 24: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/24.jpg)
Sensitivities using Adjoint Sensitivity Method
0 2 4 6 8 10 12 14 16 18 200.45
0.5
0.55
0.6
0.65
0.7
0.75
0.8
0.85
0.9
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 24 / 33
![Page 25: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/25.jpg)
Transformation of Direct Equations
∂W
∂t+ A
∂W
∂x= 0
where
W =
ζUζ ′
U ′
, A =
0 a 0 0b 0 0 00 0 0 c0 0 d 0
with a = (h+h′)
h , b = gh, c = 1 and d = gεhh′
h+h′ .
The eigenvalues of A are given by,λ1 = −
√ab, λ2 =
√ab, λ3 = −
√cd , λ4 =
√cd .
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 25 / 33
![Page 26: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/26.jpg)
Transformation of Direct Equations
The matrix of right and left eigenvectors are then given by,
RE =
−√
ab 1 0 0√
ab 1 0 0
0 0 −√
cd 1
0 0√
cd 1
LE =1
2
−√
ba
√ba 0 0
1 1 0 0
0 0 −√
dc
√dc
0 0 1 1
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 26 / 33
![Page 27: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/27.jpg)
Characteristics for Direct Equations
C 1 :dζ
dt− dU
dt= 0 along
dx
dt= −√
ab
C 2 :dζ
dt+
dU
dt= 0 along
dx
dt=√
ab
C 3 :dζ ′
dt− dU ′
dt= 0 along
dx
dt= −√
cd
C 4 :dζ ′
dt+
dU ′
dt= 0 along
dx
dt=√
cd
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 27 / 33
![Page 28: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/28.jpg)
Transformation of Adjoint Equations
Φτ + AΦx + R = 0
where
Φ =
φψφ′
ψ′
, A =
0 −b 0 0−a 0 0 00 0 0 −d0 0 −c 0
, R =
∂r∂ζ∂r∂U∂r∂ζ′∂r∂U′
with a = (h+h′)
h , b = gh, c = 1 and d = −gεhh′
h+h′ . The eigenvalues of A aregiven as,
λ1 = −√
g(h + h′), λ2 =√
g(h + h′), λ3 = −√
gεhh′
h+h′ , λ4 =√
gεhh′
h+h′ .
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 28 / 33
![Page 29: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/29.jpg)
Transformation of Adjoint Equations
The matrix of right and left eigenvectors are then given as,
RE =
√ba 1 0 0
−√
ba 1 0 0
0 0√
dc 1
0 0 −√
dc 1
and
LE =1
2
√
ab −
√ab 0 0
1 1 0 00 0
√cd −
√cd
0 0 1 1
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 29 / 33
![Page 30: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/30.jpg)
Characteristics for Adjoint Equations
C 1 :dφ
dτ− dψ
dτ+∂r
∂ζ− ∂r
∂U= 0 along
dx
dτ= −√
ab
C 2 :dφ
dτ+
dψ
dτ+∂r
∂ζ+∂r
∂U= 0 along
dx
dτ=√
ab
C 3 :dφ′
dτ− dψ′
dτ+∂r
∂ζ ′+
∂r
∂U ′= 0 along
dx
dτ= −√
cd
C 4 :dφ′
dτ+
dψ′
dτ+∂r
∂ζ ′+
∂r
∂U ′= 0 along
dx
dτ=√
cd
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 30 / 33
![Page 31: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/31.jpg)
Characteristic Adjoint Formalism
To obtain sensitivity expressions for U and U ′ at upstream anddownstream, we substitute the above characteristics in δJ, we get
δJ
δU(0, tp)= −h + h′
hφ(0, tp) + ghψ(0, tp)
δJ
δU ′(0, tp)= −φ′(0, tp) +
gεhh′
h + h′ψ′(0, tp)
δJ
δU(L, tp)=
h + h′
hφ(L, tp) + ghψ(L, tp)
δJ
δU ′(L, tp)= φ′(L, tp) +
gεhh′
h + h′ψ′(L, tp)
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 31 / 33
![Page 32: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/32.jpg)
Characteristic Adjoint Formalism
Similarly by substituting the above characteristics, we can also obtain thesensitivity expressions for height field at both the upstream anddownstream as,
δJ
δζ(0, tp)=
h + h′
hφ(0, tp)− ghψ(0, tp)
δJ
δζ ′(0, tp)= φ′(0, tp)− gεh′h
h + h′ψ′(0, tp)
andδJ
δζ(L, tp)=
h + h′
hφ(L, tp) + ghψ(L, tp)
δJ
δζ ′(L, tp)= φ′(L, tp) +
gεhh′
h + h′ψ′(L, tp)
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 32 / 33
![Page 33: Adjoint Sensitivity Analysis for Two Layered Shallow Water ... · Motivation and Literature Survey J.J. Stoker Water Waves The Mathematical Theory with Applications Pure and Applied](https://reader031.vdocuments.us/reader031/viewer/2022011907/5f48565ee2756e11fa64cb55/html5/thumbnails/33.jpg)
Summary
Characteristic adjoint sensitivity analysis for transient motion in atwo-layered sea
To determine how a specific condition is dependent on manyparameters which influence it
Adjoint sensitivity method is more efficient than Direct sensitivitymethod
Fast and accurate tool for computing the sensitivities
Characteristic adjoint sensitivity method gives better results thanStandard adjoint sensitivity method
Boundary conditions derived for linear approximation can be used forthe nonlinear problem
Numerical work in progress
IMAGe Workshop (NCAR) Adjoint Sensitivity Analysis 08/18/2009 33 / 33