SlideShare a Scribd company logo
Adjoin Chaos
”Least Squares Shadowing” sensitivity analysis of chaotic high fidelity
simulations
Qiqi Wang
Assistant Professor of Aero & Astro, MIT
We gratefully acknowledge:
U Mass Dartmouth, Oct 29, 2014
2
Use of
Computational
Simulations
Analysis
Simulation on
manually picked
geometry and
condition
Design
Beyond single
simulation, towards
optimization and
parametric study
3
Use of
Computational
Simulations
Analysis
Simulation on
manually picked
geometry and
condition
Design
Beyond single
simulation, towards
optimization and
parametric study
Low fidelity simulation
Potential flow solver,
RANS, URANS
High fidelity Simulation
Large Eddy Simulation
(LES), Detached Eddy
Simulation (DES),
Unsteady Multi-physics
Simulations
4
Use of
Computational
Simulations
Analysis
Simulation on
manually picked
geometry and
condition
Design
Beyond single
simulation, towards
optimization and
parametric study
Low fidelity simulation
Potential flow solver,
RANS, URANS THE FRONTIER
High fidelity Simulation
Large Eddy Simulation
(LES), Detached Eddy
Simulation (DES),
Unsteady Multi-physics
Simulations
THE FRONTIER
ESTABLISHED
5
Use of
Computational
Simulations
Analysis
Simulation on
manually picked
geometry and
condition
Design
Beyond single
simulation, towards
optimization and
parametric study
Low fidelity simulation
Potential flow solver,
RANS, URANS THE FRONTIER
High fidelity Simulation
Large Eddy Simulation
(LES), Detached Eddy
Simulation (DES),
Unsteady Multi-physics
Simulations
THE FRONTIER
ESTABLISHED
• Reduce time and resources used in physical testing
• 1970s – Boeing 757, 77 wings tested in wind tunnel.
• 1990s – Boeing 777, 11 wings tested in wind tunnel.
• Simulation-based design limited by the fidelity of
simulation
• Unsteady effects (noise, vibration)
• Complex turbulent flows (separation, mixing)
• 2000s – Boeing 787, 11 wings tested in wind tunnel.
• High fidelity design can lead to faster, better next
generation aerospace vehicles.
Why Design using High Fidelity Simulations?
7
From top500.org
10 years
1000 times
In 10 years, you will think
about a 100,000-core
computer approximately
the way you think about a
100-core computer today
Total GFLOPS, top500
Fastest supercomputer
500th supercomputer
The hardware will get there
How about the software and the math behind?
8
What’s different in high fidelity simulations?
Optimal Control
Jet Engine Combustor
(Stanford / DOE)
Launch abort
system
(NASA)
Maneuvering F18
(Airforce)
Landing gear noise
Design optimization
Rotorcraft wake
(NASA)
• Many high fidelity simulations in
important aerospace applications
are unsteady and chaotic.
• Design in Chaos: High fidelity,
unsteady simulation and design.
Towards Optimization with LES
Towards Optimization:
Parameterized LES of turbine blade – baseline
Towards Optimization:
Parameterized LES of turbine blade – Optimized
A chaotic optimization
12
min
𝑠
1
𝑇 0
𝑇
𝐽 𝑢 𝑑𝑡 𝑠. 𝑡.
𝑑𝑢
𝑑𝑡
= 𝑓(𝑢, 𝑠)
• Cost function is averaged over long T
• f is chaotic
Time
DragCoefficient
LiftCoefficient
What is chaos? Why does it matter?
13
Cylinder in Re = 500 flow, Wang and Gao 2013
How to perform sensitivity analysis
and adjoint? Divergence of sensitivity,
a.k.a. the “butterfly effect”, poses an
interesting mathematical question.
Chaos: solutions diverge under small
perturbations in the governing equation
14
What is chaos? Why does it matter?
15
Time
DragCoefficient
LiftCoefficient
Chaos is not periodic.
Predicting time averaged
quantity with small
sampling error requires
very long simulation.
What is Optimization in Chaos?
16
min
𝑠
1
𝑇 0
𝑇
𝐽 𝑢 𝑑𝑡 𝑠. 𝑡.
𝑑𝑢
𝑑𝑡
= 𝑓(𝑢, 𝑠)
• The cost function is averaged over a long T
• f governs chaotic dynamics
Time
DragCoefficient
LiftCoefficient
But how do I know?
This could be YOUR
objective function in
a chaotic simulation
This could be YOUR
objective function in
a periodic simulation
A prime indicator:
Divergence Of Derivative
An objective function
produced by a
chaotic simulation
Time averaged objective in chaos and its derivative
Derivatives computed with
traditional adjoint method
19
Divergence Of Derivative
Lea et al. Sensitivity analysis of the climate of a chaotic system,Tellus A 2000
Lorenz system
Output z: rate of heat transfer
Input ρ: temperature difference
Time averaged output
Input Input
Derivative of time
averaged output
20
Divergent solution of linearized equation in
choatic 2D cylinder wake
Credit: T. Barth, ASA Ames.
Re=3900
Re=10000
21
Divergent of Derivative in chaotic vortex
shedding over stalled airfoil
FUN3D, NASA Langley
Re=10000 Magnitude of
the adjoint
gradient
22
Divergent of Derivative in 3D turbulent
cylinder wake
Adjoint solution for
a circular cylinder
Re=500. z-vorticity
CDP, Stanford CTR
Code NASA Ames
(Barth)
CTR (Stanford) NASA Langley
(FUN3D)
Numerical
scheme
Density-based
Discontinuous
Galerkin
Pressure-based
finite volume
Density-based
finite volume
Flow field 2D cylinder
wake
3D wake
Jet in crossflow
Stalled airfoil
wake
Solution to both linearized and adjoint Navier-Stokes
equations diverge exponentially as flow develops
unsteady, aperiodic (a.k.a. chaotic) behavior
23
24
Derivative does not commute with time average
Lea et al. Sensitivity analysis of the climate of a chaotic system,Tellus A 2000
Lorenz system
Output z: rate of heat transfer
Input ρ: temperature difference
Time averaged output
Input Input
Derivative of time
averaged output
Small perturbation leads to large difference in
solution of initial value problems
25
Input ParameterInput Parameter
Time averaged outputTime dependent output
Time
In a chaotic problem with fixed initial condition,
• Small perturbation leads to large difference in
solution
• Linearized (and adjoint) equations diverge
• Sensitivity computation fails even for well-
defined time average quantities.
• A barrier to optimization, inference and
uncertainty quantification using high fidelity
simulations.
26
In a chaotic problem with fixed initial condition,
• Small perturbation leads to large difference in
solution
• Linearized (and adjoint) equations diverge
• Sensitivity computation fails even for well-
defined time average quantities.
• A barrier to optimization, inference and
uncertainty quantification using high fidelity
simulations.
Initial value problem of chaos is ill-conditioned.
27
Is there a solution? Yes.
Is there a solution? Yes.
min
𝑠
1
𝑇 0
𝑇
𝐽 𝑢 𝑑𝑡 𝑠. 𝑡.
𝑑𝑢
𝑑𝑡
= 𝑓(𝑢, 𝑠)
Where f governs chaotic dynamics
𝑠. 𝑡. 𝑢 0 = 𝑢0
So that the solution is unique defined?
Is there a solution? Yes.
min
𝑠
1
𝑇 0
𝑇
𝐽 𝑢 𝑑𝑡 𝑠. 𝑡.
𝑑𝑢
𝑑𝑡
= 𝑓(𝑢, 𝑠)
Where f governs chaotic dynamics
𝑠. 𝑡. 𝑢 0 = 𝑢0
So that the solution is unique defined?
Least Squares Shadowing (LSS): uniquely define the solution
without incurring the “butterfly effect”.
10.1016/j.jcp.2014.03.002
What is least squares shadowing?
• Initial Value Problem:
31
Solutions to similar initial value
problems
32
• u(t) (ρ=30) and ur(t) (ρ=28) are very different after
some time!
What is least squares shadowing?
• Initial Value Problem:
• Least Squares Problem:
33
34
Time Transformation
• Time transformation is required to keep the
trajectories close in phase space for infinite time
Without Time Transformation With Time Transformation
• Least squares problem with time transformation:
• Assume Ergodicity: No initial condition for u!
• “Integral phase condition” for finding homoclinic cycles in
dynamical systems
• Does using least squares instead of an initial condition
remove the ill-conditioning of chaos?
Least Squares Problem
Reference solution
35
36
• u(t) (ρ=30) and ur(t) (ρ=28) are very different after
some time!
Solutions to similar initial value
problems
Solutions to similar Least Squares
Shadowing Problems
37
• u(τ) (ρ=30) shadows ur(t) (ρ=28)!
38
Least squares shadowing
Condition number O(1)
Initial value problem
Condition number O(eλT)
Input ParameterInput Parameter
Time
Time
Time dependent output Time dependent output
New approach: Least Squares Shadowing
• Linearize the initial value problem
• Linearize the regularized problem without initial
condition
• Compute sensitivity of time averaged quantity from
linearized solution
• Wang, Hu and Blonigan. Sensitivity computation of chaotic limit cycle
oscillations. Journal of Computational Physics. 2014. arXiv:1204.0159
39
where is solution to the linearized initial value problem
regularized problem without initial condition
“Least Squares Shadowing”
40
“Least Squares Shadowing” Works
Computed derivative of
the output to the input
(Initial value problem)
41
Computed derivative of
the output to the input
(Least squares problem)
• Linearize the regularized problem without initial condition
• Compute sensitivity of time averaged quantity from linearized
solution
An objective function
produced by a
chaotic simulation
Time averaged objective in chaos and its derivative
Derivatives computed with
traditional adjoint method
Derivatives computed with
Least Squares Shadowing
43
Shadowing Lemma
Consider a system governed by:
For any δ>0 there exists ε>0, such that for every “ε-
pseudo-solution” u satisfying ǁdu/dt−f(u)ǁ<ε, there
exists a true solution u satisfying du/dτ−f(u)=0 under
a time transformation τ(t), such that
ǁu(τ)−u(t)ǁ<δ, |1−dτ/dt|<δ
Pilyugin SY. Shadowing in dynamical systems. Volume 1706, Lecture Notes in
Mathematics, Springer: Berlin, 1999.
Collection of 100
Lorenz System
trajectories
Each color represents
a shadowing
trajectory at a
different parameter
value.
44
Parallel space-time multigrid enables least squares
sensitivity computation for isotropic homogeneous
turbulent flows
45
Taylor micro-scale Reynolds number = 33
How to compute the Least Squares
Shadowing Solution
46
Algorithm I: Shooting
• Search for initial condition, u(τ(T0))
Algorithm II: Full trajectory Design
• Search for entire trajectory, u(τ(t)), T0≤t ≤T1
Algorithm III: Multiple shooting
• Search for trajectory checkpoints, u(τ(t)), t = t0, t1,…,tK
• Solve for Lagrange multipliers, w:
• Operator is 2nd order and coercive
• 2nd order Boundary Value Problem in time.
• Solved with Multigrid in space and time.
Full Trajectory Design
47
• Guess u(t),w(t) at each checkpoint, solve in segment:
• Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to
update guess:
Algorithm III, Multiple shooting
48
0 2 4 6 8 10
-5
0
5
10
15
t
u-ur
1 Iteration
• Guess u(t),w(t) at each checkpoint, solve in segment:
• Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to
update guess:
49
0 2 4 6 8 10
-5
0
5
10
15
t
u-ur
1 Iteration
Algorithm III, Checkpoint Design
• Guess u(t),w(t) at each checkpoint, solve in segment:
• Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to
update guess:
50
0 2 4 6 8 10
-5
0
5
10
15
t
u-ur
0 Iterations
Algorithm III, Checkpoint Design
0 2 4 6 8 10
-0.5
0
0.5
1
1.5
2
t
u-ur
• Guess u(t),w(t) at each checkpoint, solve in segment:
• Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to
update guess:
51
2 Iterations
Algorithm III, Checkpoint Design
0 2 4 6 8 10
0
0.5
1
1.5
2
t
u-ur
• Guess u(t),w(t) at each checkpoint, solve in segment:
• Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to
update guess:
52
10 Iterations
Algorithm III, Checkpoint Design
Lower memory, easier implementation
53
• Solve a n(2K-1) by n(2K-1) symmetric linear system
• Solver can be built using existing components:
• Non-linear solver for .
• Forward (tangent) solver for .
• Adjoint solver for Lagrange multipliers .
• Vector dot product (i.e. ).
Optimization in Chaos
• Traditional sensitivity analysis fails for chaotic and
turbulent fluid flows.
• Least Squared Shadowing has shown great promise for
these flows, especially using multiple shooting algorithm.
• Currently working on Least Squares Shadowing for wall
bounded turbulent flow with complex geometries.
• Least Squares Shadowing will enable design and
uncertainty quantification of chaotic and turbulent fluid
flows. We gratefully acknowledge:

More Related Content

PDF
Lecture 3 sapienza 2017
PPTX
Introduction of Quantum Annealing and D-Wave Machines
PDF
Lecture 4 sapienza 2017
PPT
1 tracking systems1
PDF
Discrete time control systems
PDF
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
PDF
Lecture 1 sapienza 2017
PDF
Lecture 2 sapienza 2017
Lecture 3 sapienza 2017
Introduction of Quantum Annealing and D-Wave Machines
Lecture 4 sapienza 2017
1 tracking systems1
Discrete time control systems
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
Lecture 1 sapienza 2017
Lecture 2 sapienza 2017

What's hot (18)

PDF
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
PPTX
Automated seismic-to-well ties?
PPTX
Computational Method to Solve the Partial Differential Equations (PDEs)
PDF
QMC: Transition Workshop - Probabilistic Integrators for Deterministic Differ...
PPT
Ajal filters
PPTX
03 dynamic.system.
PPT
Vidyalankar final-essentials of communication systems
PPTX
Transforms
PPTX
DFT and its properties
PPTX
Accelerating Dynamic Time Warping Subsequence Search with GPU
PDF
Kalman filter for Beginners
PPT
Discrete Signal Processing
PPT
Ultrasound lecture 1 post
PDF
Anomaly Detection in Sequences of Short Text Using Iterative Language Models
PDF
Technical
PPT
Kalman filters
PPTX
Kalman filter for object tracking
PPTX
Equivariant Imaging
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Automated seismic-to-well ties?
Computational Method to Solve the Partial Differential Equations (PDEs)
QMC: Transition Workshop - Probabilistic Integrators for Deterministic Differ...
Ajal filters
03 dynamic.system.
Vidyalankar final-essentials of communication systems
Transforms
DFT and its properties
Accelerating Dynamic Time Warping Subsequence Search with GPU
Kalman filter for Beginners
Discrete Signal Processing
Ultrasound lecture 1 post
Anomaly Detection in Sequences of Short Text Using Iterative Language Models
Technical
Kalman filters
Kalman filter for object tracking
Equivariant Imaging
Ad

Similar to 2014.10.dartmouth (20)

PDF
GDRR Opening Workshop - Variance Reduction for Reliability Assessment with St...
PPTX
System Approximation: Concept and Approaches
PDF
A Stabilized Finite Element Dynamic Overset Method for the Navier-Stokes Equa...
PPTX
Av 738- Adaptive Filtering - Background Material
PDF
Greens Function Estimates For Lattice Schrdinger Operators And Applications A...
PPTX
Selaidechou
PDF
Investigation of repeated blasts at Aitik mine using waveform cross correlation
PPTX
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
PDF
EC8553 Discrete time signal processing
PDF
Metodo Monte Carlo -Wang Landau
PDF
Prof. A. Giaralis, STOCHASTIC DYNAMICS AND MONTE CARLO SIMULATION IN EARTHQUA...
PDF
Proje kt report
PDF
Instantons in 1D QM
PDF
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
PDF
Modeling full scale-data(2)
PPTX
Lecture 1 - Introduction to Numerical Methods
PPTX
Isav2012 draft1final (1)
PDF
CORSO SMORZATORI_LEZ 2_31-05-2023.pdf
PPT
Laplace transform
PPTX
Role of Tensors in Machine Learning
GDRR Opening Workshop - Variance Reduction for Reliability Assessment with St...
System Approximation: Concept and Approaches
A Stabilized Finite Element Dynamic Overset Method for the Navier-Stokes Equa...
Av 738- Adaptive Filtering - Background Material
Greens Function Estimates For Lattice Schrdinger Operators And Applications A...
Selaidechou
Investigation of repeated blasts at Aitik mine using waveform cross correlation
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
EC8553 Discrete time signal processing
Metodo Monte Carlo -Wang Landau
Prof. A. Giaralis, STOCHASTIC DYNAMICS AND MONTE CARLO SIMULATION IN EARTHQUA...
Proje kt report
Instantons in 1D QM
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
Modeling full scale-data(2)
Lecture 1 - Introduction to Numerical Methods
Isav2012 draft1final (1)
CORSO SMORZATORI_LEZ 2_31-05-2023.pdf
Laplace transform
Role of Tensors in Machine Learning
Ad

Recently uploaded (20)

PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPT
introduction to datamining and warehousing
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPT
Occupational Health and Safety Management System
PPTX
communication and presentation skills 01
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Artificial Intelligence
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
Information Storage and Retrieval Techniques Unit III
Fundamentals of Mechanical Engineering.pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
introduction to datamining and warehousing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Occupational Health and Safety Management System
communication and presentation skills 01
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Categorization of Factors Affecting Classification Algorithms Selection
III.4.1.2_The_Space_Environment.p pdffdf
Artificial Intelligence
86236642-Electric-Loco-Shed.pdf jfkduklg
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt

2014.10.dartmouth

  • 1. Adjoin Chaos ”Least Squares Shadowing” sensitivity analysis of chaotic high fidelity simulations Qiqi Wang Assistant Professor of Aero & Astro, MIT We gratefully acknowledge: U Mass Dartmouth, Oct 29, 2014
  • 2. 2 Use of Computational Simulations Analysis Simulation on manually picked geometry and condition Design Beyond single simulation, towards optimization and parametric study
  • 3. 3 Use of Computational Simulations Analysis Simulation on manually picked geometry and condition Design Beyond single simulation, towards optimization and parametric study Low fidelity simulation Potential flow solver, RANS, URANS High fidelity Simulation Large Eddy Simulation (LES), Detached Eddy Simulation (DES), Unsteady Multi-physics Simulations
  • 4. 4 Use of Computational Simulations Analysis Simulation on manually picked geometry and condition Design Beyond single simulation, towards optimization and parametric study Low fidelity simulation Potential flow solver, RANS, URANS THE FRONTIER High fidelity Simulation Large Eddy Simulation (LES), Detached Eddy Simulation (DES), Unsteady Multi-physics Simulations THE FRONTIER ESTABLISHED
  • 5. 5 Use of Computational Simulations Analysis Simulation on manually picked geometry and condition Design Beyond single simulation, towards optimization and parametric study Low fidelity simulation Potential flow solver, RANS, URANS THE FRONTIER High fidelity Simulation Large Eddy Simulation (LES), Detached Eddy Simulation (DES), Unsteady Multi-physics Simulations THE FRONTIER ESTABLISHED
  • 6. • Reduce time and resources used in physical testing • 1970s – Boeing 757, 77 wings tested in wind tunnel. • 1990s – Boeing 777, 11 wings tested in wind tunnel. • Simulation-based design limited by the fidelity of simulation • Unsteady effects (noise, vibration) • Complex turbulent flows (separation, mixing) • 2000s – Boeing 787, 11 wings tested in wind tunnel. • High fidelity design can lead to faster, better next generation aerospace vehicles. Why Design using High Fidelity Simulations?
  • 7. 7 From top500.org 10 years 1000 times In 10 years, you will think about a 100,000-core computer approximately the way you think about a 100-core computer today Total GFLOPS, top500 Fastest supercomputer 500th supercomputer The hardware will get there How about the software and the math behind?
  • 8. 8 What’s different in high fidelity simulations? Optimal Control Jet Engine Combustor (Stanford / DOE) Launch abort system (NASA) Maneuvering F18 (Airforce) Landing gear noise Design optimization Rotorcraft wake (NASA) • Many high fidelity simulations in important aerospace applications are unsteady and chaotic. • Design in Chaos: High fidelity, unsteady simulation and design.
  • 10. Towards Optimization: Parameterized LES of turbine blade – baseline
  • 11. Towards Optimization: Parameterized LES of turbine blade – Optimized
  • 12. A chaotic optimization 12 min 𝑠 1 𝑇 0 𝑇 𝐽 𝑢 𝑑𝑡 𝑠. 𝑡. 𝑑𝑢 𝑑𝑡 = 𝑓(𝑢, 𝑠) • Cost function is averaged over long T • f is chaotic Time DragCoefficient LiftCoefficient
  • 13. What is chaos? Why does it matter? 13 Cylinder in Re = 500 flow, Wang and Gao 2013 How to perform sensitivity analysis and adjoint? Divergence of sensitivity, a.k.a. the “butterfly effect”, poses an interesting mathematical question.
  • 14. Chaos: solutions diverge under small perturbations in the governing equation 14
  • 15. What is chaos? Why does it matter? 15 Time DragCoefficient LiftCoefficient Chaos is not periodic. Predicting time averaged quantity with small sampling error requires very long simulation.
  • 16. What is Optimization in Chaos? 16 min 𝑠 1 𝑇 0 𝑇 𝐽 𝑢 𝑑𝑡 𝑠. 𝑡. 𝑑𝑢 𝑑𝑡 = 𝑓(𝑢, 𝑠) • The cost function is averaged over a long T • f governs chaotic dynamics Time DragCoefficient LiftCoefficient
  • 17. But how do I know? This could be YOUR objective function in a chaotic simulation This could be YOUR objective function in a periodic simulation A prime indicator: Divergence Of Derivative
  • 18. An objective function produced by a chaotic simulation Time averaged objective in chaos and its derivative Derivatives computed with traditional adjoint method
  • 19. 19 Divergence Of Derivative Lea et al. Sensitivity analysis of the climate of a chaotic system,Tellus A 2000 Lorenz system Output z: rate of heat transfer Input ρ: temperature difference Time averaged output Input Input Derivative of time averaged output
  • 20. 20 Divergent solution of linearized equation in choatic 2D cylinder wake Credit: T. Barth, ASA Ames. Re=3900 Re=10000
  • 21. 21 Divergent of Derivative in chaotic vortex shedding over stalled airfoil FUN3D, NASA Langley Re=10000 Magnitude of the adjoint gradient
  • 22. 22 Divergent of Derivative in 3D turbulent cylinder wake Adjoint solution for a circular cylinder Re=500. z-vorticity CDP, Stanford CTR
  • 23. Code NASA Ames (Barth) CTR (Stanford) NASA Langley (FUN3D) Numerical scheme Density-based Discontinuous Galerkin Pressure-based finite volume Density-based finite volume Flow field 2D cylinder wake 3D wake Jet in crossflow Stalled airfoil wake Solution to both linearized and adjoint Navier-Stokes equations diverge exponentially as flow develops unsteady, aperiodic (a.k.a. chaotic) behavior 23
  • 24. 24 Derivative does not commute with time average Lea et al. Sensitivity analysis of the climate of a chaotic system,Tellus A 2000 Lorenz system Output z: rate of heat transfer Input ρ: temperature difference Time averaged output Input Input Derivative of time averaged output
  • 25. Small perturbation leads to large difference in solution of initial value problems 25 Input ParameterInput Parameter Time averaged outputTime dependent output Time
  • 26. In a chaotic problem with fixed initial condition, • Small perturbation leads to large difference in solution • Linearized (and adjoint) equations diverge • Sensitivity computation fails even for well- defined time average quantities. • A barrier to optimization, inference and uncertainty quantification using high fidelity simulations. 26
  • 27. In a chaotic problem with fixed initial condition, • Small perturbation leads to large difference in solution • Linearized (and adjoint) equations diverge • Sensitivity computation fails even for well- defined time average quantities. • A barrier to optimization, inference and uncertainty quantification using high fidelity simulations. Initial value problem of chaos is ill-conditioned. 27
  • 28. Is there a solution? Yes.
  • 29. Is there a solution? Yes. min 𝑠 1 𝑇 0 𝑇 𝐽 𝑢 𝑑𝑡 𝑠. 𝑡. 𝑑𝑢 𝑑𝑡 = 𝑓(𝑢, 𝑠) Where f governs chaotic dynamics 𝑠. 𝑡. 𝑢 0 = 𝑢0 So that the solution is unique defined?
  • 30. Is there a solution? Yes. min 𝑠 1 𝑇 0 𝑇 𝐽 𝑢 𝑑𝑡 𝑠. 𝑡. 𝑑𝑢 𝑑𝑡 = 𝑓(𝑢, 𝑠) Where f governs chaotic dynamics 𝑠. 𝑡. 𝑢 0 = 𝑢0 So that the solution is unique defined? Least Squares Shadowing (LSS): uniquely define the solution without incurring the “butterfly effect”. 10.1016/j.jcp.2014.03.002
  • 31. What is least squares shadowing? • Initial Value Problem: 31
  • 32. Solutions to similar initial value problems 32 • u(t) (ρ=30) and ur(t) (ρ=28) are very different after some time!
  • 33. What is least squares shadowing? • Initial Value Problem: • Least Squares Problem: 33
  • 34. 34 Time Transformation • Time transformation is required to keep the trajectories close in phase space for infinite time Without Time Transformation With Time Transformation
  • 35. • Least squares problem with time transformation: • Assume Ergodicity: No initial condition for u! • “Integral phase condition” for finding homoclinic cycles in dynamical systems • Does using least squares instead of an initial condition remove the ill-conditioning of chaos? Least Squares Problem Reference solution 35
  • 36. 36 • u(t) (ρ=30) and ur(t) (ρ=28) are very different after some time! Solutions to similar initial value problems
  • 37. Solutions to similar Least Squares Shadowing Problems 37 • u(τ) (ρ=30) shadows ur(t) (ρ=28)!
  • 38. 38 Least squares shadowing Condition number O(1) Initial value problem Condition number O(eλT) Input ParameterInput Parameter Time Time Time dependent output Time dependent output
  • 39. New approach: Least Squares Shadowing • Linearize the initial value problem • Linearize the regularized problem without initial condition • Compute sensitivity of time averaged quantity from linearized solution • Wang, Hu and Blonigan. Sensitivity computation of chaotic limit cycle oscillations. Journal of Computational Physics. 2014. arXiv:1204.0159 39
  • 40. where is solution to the linearized initial value problem regularized problem without initial condition “Least Squares Shadowing” 40
  • 41. “Least Squares Shadowing” Works Computed derivative of the output to the input (Initial value problem) 41 Computed derivative of the output to the input (Least squares problem) • Linearize the regularized problem without initial condition • Compute sensitivity of time averaged quantity from linearized solution
  • 42. An objective function produced by a chaotic simulation Time averaged objective in chaos and its derivative Derivatives computed with traditional adjoint method Derivatives computed with Least Squares Shadowing
  • 43. 43 Shadowing Lemma Consider a system governed by: For any δ>0 there exists ε>0, such that for every “ε- pseudo-solution” u satisfying ǁdu/dt−f(u)ǁ<ε, there exists a true solution u satisfying du/dτ−f(u)=0 under a time transformation τ(t), such that ǁu(τ)−u(t)ǁ<δ, |1−dτ/dt|<δ Pilyugin SY. Shadowing in dynamical systems. Volume 1706, Lecture Notes in Mathematics, Springer: Berlin, 1999.
  • 44. Collection of 100 Lorenz System trajectories Each color represents a shadowing trajectory at a different parameter value. 44
  • 45. Parallel space-time multigrid enables least squares sensitivity computation for isotropic homogeneous turbulent flows 45 Taylor micro-scale Reynolds number = 33
  • 46. How to compute the Least Squares Shadowing Solution 46 Algorithm I: Shooting • Search for initial condition, u(τ(T0)) Algorithm II: Full trajectory Design • Search for entire trajectory, u(τ(t)), T0≤t ≤T1 Algorithm III: Multiple shooting • Search for trajectory checkpoints, u(τ(t)), t = t0, t1,…,tK
  • 47. • Solve for Lagrange multipliers, w: • Operator is 2nd order and coercive • 2nd order Boundary Value Problem in time. • Solved with Multigrid in space and time. Full Trajectory Design 47
  • 48. • Guess u(t),w(t) at each checkpoint, solve in segment: • Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to update guess: Algorithm III, Multiple shooting 48 0 2 4 6 8 10 -5 0 5 10 15 t u-ur 1 Iteration
  • 49. • Guess u(t),w(t) at each checkpoint, solve in segment: • Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to update guess: 49 0 2 4 6 8 10 -5 0 5 10 15 t u-ur 1 Iteration Algorithm III, Checkpoint Design
  • 50. • Guess u(t),w(t) at each checkpoint, solve in segment: • Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to update guess: 50 0 2 4 6 8 10 -5 0 5 10 15 t u-ur 0 Iterations Algorithm III, Checkpoint Design
  • 51. 0 2 4 6 8 10 -0.5 0 0.5 1 1.5 2 t u-ur • Guess u(t),w(t) at each checkpoint, solve in segment: • Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to update guess: 51 2 Iterations Algorithm III, Checkpoint Design
  • 52. 0 2 4 6 8 10 0 0.5 1 1.5 2 t u-ur • Guess u(t),w(t) at each checkpoint, solve in segment: • Use mismatch in u(τ)-ur(t) and w(t) at checkpoints to update guess: 52 10 Iterations Algorithm III, Checkpoint Design
  • 53. Lower memory, easier implementation 53 • Solve a n(2K-1) by n(2K-1) symmetric linear system • Solver can be built using existing components: • Non-linear solver for . • Forward (tangent) solver for . • Adjoint solver for Lagrange multipliers . • Vector dot product (i.e. ).
  • 54. Optimization in Chaos • Traditional sensitivity analysis fails for chaotic and turbulent fluid flows. • Least Squared Shadowing has shown great promise for these flows, especially using multiple shooting algorithm. • Currently working on Least Squares Shadowing for wall bounded turbulent flow with complex geometries. • Least Squares Shadowing will enable design and uncertainty quantification of chaotic and turbulent fluid flows. We gratefully acknowledge: