Stephanie Young, Kayo Ide, Atmospheric and Oceanic Science Department

Slides:



Advertisements
Similar presentations
Chapter 6 Differential Equations
Advertisements

A TASTE OF CHAOS By Adam T., Andy S., and Shannon R.
Intro to modeling April Part of the course: Introduction to biological modeling 1.Intro to modeling 2.Intro to biological modeling (Floor) 3.Modeling.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
CHAOS AND THE DOUBLE PENDULUM By Nick Giffen (James Madison University) & Laura Marafino (University of Mary Washington)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
EARS1160 – Numerical Methods notes by G. Houseman
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
Particle Systems 1 Adapted from: E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012.
Trajectory and Invariant Manifold Computation for Flows in the Chesapeake Bay Nathan Brasher February 13, 2005.
11 September 2007 KKKQ 3013 PENGIRAAN BERANGKA Week 10 – Ordinary Differential Equations 11 September am – 9.00 am.
Initial-Value Problems
Numerical Integration CE5504 – Surface Water Quality Modeling  non-idealized loading functions  variable parameters  multi-segment systems  non-linear.
Filtering and Control of Flow in Hypersonic Engines Nick West, Peter Glynn, George Papanicolaou and Gianluca Iaccarino Institute for Computational and.
Dynamical Systems Tools for Ocean Studies: Chaotic Advection versus Turbulence Reza Malek-Madani.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Discontinuous Galerkin Methods for Solving Euler Equations
Visualization Research Center University of Stuttgart On the Finite-Time Scope for Computing Lagrangian Coherent Structures from Lyapunov Exponents TopoInVis.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Efficient Visualization of Lagrangian Coherent Structures by Filtered AMR Ridge Extraction October IEEE Vis Filip Sadlo, Ronald CGL -
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Polynomial Chaos For Dynamical Systems Anatoly Zlotnik, Case Western Reserve University Mohamed Jardak, Florida State University.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Curve Fitting.
R. Kass/W03P416/Lecture 7 1 Lecture 7 Some Advanced Topics using Propagation of Errors and Least Squares Fitting Error on the mean (review from Lecture.
Interpolation Tools. Lesson 5 overview  Concepts  Sampling methods  Creating continuous surfaces  Interpolation  Density surfaces in GIS  Interpolators.
Discontinuous Galerkin Methods and Strand Mesh Generation
An Over View of Runge-Kutta Fehlberg and Dormand and Prince Methods. Numerical Methods To Solve Initial Value Problems William Mize.
Geographic Information Science
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
Model Construction: interpolation techniques 1392.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Performance & Stability Analysis.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Analysis of Lagrangian Coherent Structures of the Chesapeake Bay Stephanie Young, Kayo Ide,
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Chapter 10 ordinary differential equations (ODEs) Chapter 11 systems of ODEs (6 th edition)
1 INTERPOLASI. Direct Method of Interpolation 3 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a value.
A Simple 2-Dimensional Chaotic Thunderstorm Model with Rain Gushes Stanley David Gedzelman Department of Earth and Atmospheric Sciences and NOAA CREST.
Statistics Presentation Ch En 475 Unit Operations.
Dr. Mujahed AlDhaifallah ( Term 342)
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Copyright © 2015, 2008, 2011 Pearson Education, Inc. Section 1.4, Slide 1 Chapter 1 Linear Equations and Linear Functions.
Sec 232: The coefficient tableau 2ed order RK method Expand all f around (x,y) using Taylor expansion in 2d and then choose constants such that the equation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
X1X1 X2X2  Basic Kinematics Real Applications Simple Shear Trivial geometry Proscribed homogenous deformations Linear constitutive.
SIAM Conference on Applications of Dynamical Systems Snowbird, Utah May 2009 Distinguished trajectories in time dependent geophysical flows Ana M.
R. Kass/Sp07P416/Lecture 71 More on Least Squares Fit (LSQF) In Lec 5, we discussed how we can fit our data points to a linear function (straight line)
Global predictors of regression fidelity A single number to characterize the overall quality of the surrogate. Equivalence measures –Coefficient of multiple.
Keywords (ordinary/partial) differencial equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem.
Estimating standard error using bootstrap
CHAOS AND THE DOUBLE PENDULUM
Part 7 - Chapter 25.
Technology on the Cutting Edge of Weather Research and Forecasting
Nathan Brasher February 13, 2005
Forecasting techniques
Lecture 19 MA471 Fall 2003.
Numerical integration for physically based animation
Class Notes 19: Numerical Methods (2/2)
Direct Method of Interpolation
Part 7 - Chapter 25.
WELCOME TO MY CLASS NUMERICAL METHOD Name : Masduki
INTERPOLASI.
Parametric Methods Berlin Chen, 2005 References:
Implicit and Explicit Runge-Kutta methods
Presentation transcript:

Analysis of Lagrangian Coherent Structures of the Chesapeake Bay: Mid-year Report Stephanie Young, syoung3@math.umd.edu Kayo Ide, Ide@umd.edu Atmospheric and Oceanic Science Department Center for Scientific Computing and Mathematical Modeling Applied Mathematics, Statistics and Scientific Computing Program Earth System Science Interdisciplinary Center Institute for Physical Science and Technology

Problem We would like to be able to analyze the dynamics of the Chesapeake bay using a discrete data set Would like to be able to detect coherent structures in the Bay [11] Hoffman, M. J. et al “An Advanced Data Assimilation System for the Chesapeake Bay: Performance Evaluation”

Where do we start? Calculate trajectories of many particles using discrete velocity data But what if the (x,y) coordinate doesn’t fall on the grid? What if we want a velocity value at a time at which we don’t have data?

Spatial Interpolation What if the (x,y) coordinate doesn’t fall on a data point? Interpolate using data at the surrounding 4 points Bilinear Interpolation (requires velocity at the 4 surrounding points) Bicubic Interpolation (for future comparison)

Bilinear Interpolation We interpolate each velocity u(x,y) using the 4 nearest neighbors by fitting the surface below (with the 4 function values) Solve for a0, a1, a2 and a3 and then plug (x,y) coordinate into above equation

Time interpolation What if we want a velocity value at a time at which we don’t have data? Use a 3rd order polynomial to interpolate in time (requires 4 spatial interpolations)

Trajectories Given a set of initial particle positions, what are the particle trajectories after some time? Once the interpolation is complete we perform time integration to obtain trajectories Methods [5,6] : Forth order Runge Kutta (fixed time steps) Fifth order Runge Kutta Fehlberg (Time adaptive)

Runge Kutta 4 (RK4) Fixed time step, h Next function value is determined by a weight of function values between xn and xn+1 All function evaluations require interpolation 4 time interpolations = 16 spatial interpolations

Runge Kutta Fehlberg 5 (RKF) Produces both 4th order and a 5th order solution Scheme can be determined through Butcher tableau or a Taylor Table

Runge Kutta Fehlberg 5 (RKF) Reason for RKF: Time adaptive Only 6 function evaluations (instead of 9) Each function evaluation is an interpolation (expensive) 6 time interpolations = 24 spatial interpolations End up with a 5th order solution Given the difference between the 4th order and 5th order schemes, , and the error tolerance, max :

Validation Interpolation: Trajectories: Run code on some analytically known function [3] A = 0.1 , k = 1, ε= 10, ω=0.6 for our interpolation Trajectories: Validated on known linear ODEs

Bilinear: Validation and Testing Blue dots are the uniformly distributed data points Red dots are the interpolated values Cyan is the difference between the true and interpolated values (error) dx = dy = .02 10,000 random (x,y) pairs t = 1.0

2nd order approximation of the surface 10 to 500 random (x,y) pairs per dx (larger dx requires more pairs) For small dx, less variation dx and dy both changed (together)

Lagrange Polynomial: Validation and Testing Mean error shown (Maximum error has the same slope) (average of 20 random (x,y,t) values) dx and dy are held constant, only dt changes Error is independent of dt, order of accuracy depends on the accuracy of the spatial interpolation method Mean and Maximum error result in same slope (max not shown) (average of 10 random (x,y,t) values) dx, dy also changed (same change as dt) O(dt2) (or we could say O(dx2) )

RK4 and RKF5: Validation and Testing Red circles - numerical solution Blue squares – true solution Integrated from t = 0 to t = 20 For the “data” or grid on which we interpolate: dx = dy = 0.1 and dtgrid = 0.5 Initial conditions: (0.1,0.1) , (0.5,0) and (0,1.0)

Runge Kutta 4 and Runge Kutta Fehlberg error: time step dependence The grid parameters are the same as the trajectories given on the previous slide In the plots, h = dt Each error calculation involved calculating 20 trajectories (for both methods) dt is constant for both methods (RKF5 did not use time adaptive time steps) Error in the x and y positions were of the same order (error in x position not shown) Runge Kutta 4 and Runge Kutta Fehlberg error: time step dependence RK4 is O(h4) RKF5 is O(h5)

Where did the time go? 50 trajectories, dt = .2, grid parameters same as trajectories on previous 2 slides Both methods spend approximately 75% of the time interpolating For RKF5: 6 time interpolations instead of 9 for each integration step For RKF5, this means we saved 4.5 seconds (~9s instead of 13.5s for interpolation)

Next semester: Lagrangian Analysis Deterministic Approach Probabilistic Approach Mancho A. M., Mendoza C. “Hidden Geometry of Ocean Flows”. Physical Review Letters 105(3) (2010).

Schedule: Part 1 Stage 1: October – Late November Interpolation Bilinear without interpolating in time (October) Bicubic without interpolating in time (January) Spatial interpolation with 3rd order Lagrange polynomial interpolation in time (November) Time permitting: Optimizing interpolation and integration methods (with parallelization) (January) Stage 2: Late November – December 4th order Runge Kutta (November) 5th order Runge Kutta Fehlberg (November-Early December) Time permitting: Adjustable time steps

Schedule: Part 2 Stage 3: January – mid February Lagrangian analysis using M - Function Stage 4: Mid February – April Lagrangian analysis using probabilistic method Set up indexing (February) Solve the system Di Tij = Dj (Early March) SVD of Tij: Get eigenvectors and eigenvalues (March) Time permitting: Create my own SVD code (April)

References [1] Shadden, S. C., Lekien F., Marsden J. E. "Definition and properties of Lagrangian coherent structures from finite-time Lyapunov exponents in two- dimensional aperiodic flows". Physica D: Nonlinear Phenomena 212, (2005) (3–4), 271–304 [2] ROMS wiki: Numerical Solution Technique. April 2012. Last visited: Sept. 22 2013. <https://www.myroms.org/wiki/index.php/ Numerical_Solution_Technique> [3] Mancho A. M., Small D., Wiggins S. “A comparison of methods for interpolating chaotic flows from discrete velocity data”. Computers & Fluids, 35 (2006), 416-428. [4] Xiao Shu. “Bicubic Interpolation” McMaster University, Canada. March 25th 2013. http://www.ece.mcmaster.ca/~xwu/3sk3/interpolation.pdf [5] Greg Fasshauer. “Chapter 5: Error Control” Illinois Institute of Technology, Chicago, IL. April 24, 2007. http://www.math.iit.edu/~fass/478578_Chapter_5.pdf [6] Mathews, J. H. Numerical Methods Using Matlab, 4th Edition. Prentice-Hall Inc., New Jersey, 2004. Sec. 9.5: Runge-Kutta Methods.

References [7] Mancho A. M., Mendoza C. “Hidden Geometry of Ocean Flows”. Physical Review Letters 105(3) (2010). [8] Froyland G., et al. “Coherent sets for nonautonomous dynamical systems”. Physica D 239 (2010) 1527 – 1541. [9] Alligood, K. T., Sauer T. D., and Yorke J. A. Chaos. Springer New York, 1996. (pp 406-407) [10] Lenci S., Rega G., “Global optimal control and system-dependent solutions in the hardening Helmholtz–Duffing oscillator” Chaos, Solitons & Fractals, 21(5), (2004) 1031-1046, http://dx.doi.org/10.1016/S0960-0779(03)00387-4. [11]Hoffman, M. J., T. Miyoshi, T. W. N. Haine, K. Ide, C. W. Brown, and R. Murtugudde, 2012: An Advanced Data Assimilation System for the Chesapeake Bay: Performance Evaluation. J. Atmos. Ocean. Tech., 29, 1542-1557. doi:DOI: 10.1175/JTECH-D-11-00126.1.