The Total Variation Approach to Approximate Hyperbolic Wave Equations

Similar documents
An Adaptive Stencil Linear Deviation Method for Wave Equations

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

CS205b/CME306. Lecture 9

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder

Numerical Methods for (Time-Dependent) HJ PDEs

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

Application of ENO technique to semi-lagrangian interpolations. RC LACE stay report Scientific supervisors: Petra Smolíková and Ján Mašek

Chapter 6. Semi-Lagrangian Methods

Introduction to Computational Mathematics

Weno Scheme for Transport Equation on Unstructured Grids with a DDFV Approach

PTE 519 Lecture Note Finite Difference Approximation (Model)

8 Piecewise Polynomial Interpolation

Numerical Methods for Hyperbolic and Kinetic Equations

ADAPTIVE FINITE ELEMENT

CS 450 Numerical Analysis. Chapter 7: Interpolation

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A

On the high order FV schemes for compressible flows

Vertical Line Test a relationship is a function, if NO vertical line intersects the graph more than once

Observations on the fifth-order WENO method with non-uniform meshes

Computer Project 3. AA Computational Fluid Dyanmics University of Washington. Mishaal Aleem March 17, 2015

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 14

Slide 1 / 96. Linear Relations and Functions

Finite Element Convergence for Time-Dependent PDEs with a Point Source in COMSOL 4.2

Section 18-1: Graphical Representation of Linear Equations and Functions

AOSC 614 Addition to Section (page 82) Robert-Asselin-Williams (RAW) filter for the Leap-frog scheme

Theoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization. M2DO Lab 1,2. 1 Cardiff University

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

Generation of Finite Difference Formulas on Arbitrarily Spaced Grids

Research on time optimal trajectory planning of 7-DOF manipulator based on genetic algorithm

MA 323 Geometric Modelling Course Notes: Day 10 Higher Order Polynomial Curves

ADAPTIVE APPROACH IN NONLINEAR CURVE DESIGN PROBLEM. Simo Virtanen Rakenteiden Mekaniikka, Vol. 30 Nro 1, 1997, s

Efficient Method for Half-Pixel Block Motion Estimation Using Block Differentials

A Random Variable Shape Parameter Strategy for Radial Basis Function Approximation Methods

Accuracy versus precision

Runge-Kutta discontinuous Galerkin method using a new type of WENO limiters on unstructured mesh 1

Finite Math - J-term Homework. Section Inverse of a Square Matrix

ODE IVP. An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable:

Computing & Verifying Compressible Fluid Dynamics:! The Good, The Bad and The Ugly!

Edge Detection Free Postprocessing for Pseudospectral Approximations

Lecture 10: Image-Based Modelling

Manipulator trajectory planning

Multi-Mesh CFD. Chris Roy Chip Jackson (1 st year PhD student) Aerospace and Ocean Engineering Department Virginia Tech

Lecture 8. Divided Differences,Least-Squares Approximations. Ceng375 Numerical Computations at December 9, 2010

A Toolbox of Level Set Methods

GAP CLOSING. Grade 9. Facilitator s Guide

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

CHAPTER VI BACK PROPAGATION ALGORITHM

Part I. Problems in this section are mostly short answer and multiple choice. Little partial credit will be given. 5 points each.

Higher-Order Accurate Schemes for a Constant Coefficient Singularly Perturbed Reaction-Diffusion Problem of Boundary Layer Type

Polynomials tend to oscillate (wiggle) a lot, even when our true function does not.

This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane?

Course of study- Algebra Introduction: Algebra 1-2 is a course offered in the Mathematics Department. The course will be primarily taken by

Nonoscillatory Central Schemes on Unstructured Triangular Grids for Hyperbolic Systems of Conservation Laws

On the order of accuracy and numerical performance of two classes of finite volume WENO schemes

A new Eulerian computational method for the propagation of short acoustic and electromagnetic pulses

(Refer Slide Time: 02:59)

Math 690N - Final Report

Euler s Methods (a family of Runge- Ku9a methods)

Parallel Performance Studies for COMSOL Multiphysics Using Scripting and Batch Processing

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows)

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

(Part - 1) P. Sam Johnson. April 14, Numerical Solution of. Ordinary Differential Equations. (Part - 1) Sam Johnson. NIT Karnataka.

CHAPTER 1. Introduction

I. Meshing and Accuracy Settings

Collocation and optimization initialization

Mathematics Scope & Sequence Algebra I

The Dynamic Response of an Euler-Bernoulli Beam on an Elastic Foundation by Finite Element Analysis using the Exact Stiffness Matrix

Definition. A Taylor series of a function f is said to represent function f, iff the error term converges to 0 for n going to infinity.

Conservative high order semi-lagrangian finite difference WENO methods for advection in incompressible flow. Abstract

Application of Finite Volume Method for Structural Analysis

Partial Derivatives (Online)

Shallow Water Simulations on Graphics Hardware

Conjectures concerning the geometry of 2-point Centroidal Voronoi Tessellations

Math 340 Fall 2014, Victor Matveev. Binary system, round-off errors, loss of significance, and double precision accuracy.

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

An Introduction to Viscosity Solutions: theory, numerics and applications

A family of Non-Oscillatory, 6 points, Interpolatory subdivision scheme

MATLAB. Advanced Mathematics and Mechanics Applications Using. Third Edition. David Halpern University of Alabama CHAPMAN & HALL/CRC

A Technique of Treating Negative Weights in WENO Schemes

DOWNLOAD PDF BIG IDEAS MATH VERTICAL SHRINK OF A PARABOLA

Comment on Numerical shape from shading and occluding boundaries

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Curve fitting. Lab. Formulation. Truncation Error Round-off. Measurement. Good data. Not as good data. Least squares polynomials.

Parameter Estimation in Differential Equations: A Numerical Study of Shooting Methods

Journal of Engineering Research and Studies E-ISSN

GAP CLOSING. Integers. Intermediate / Senior Facilitator s Guide

EXPLICIT AND IMPLICIT TVD AND ENO HIGH RESOLUTION ALGORITHMS APPLIED TO THE EULER AND NAVIER-STOKES EQUATIONS IN THREE-DIMENSIONS RESULTS

Optimised corrections for finite-difference modelling in two dimensions

Coupling of STAR-CCM+ to Other Theoretical or Numerical Solutions. Milovan Perić

Friday, 11 January 13. Interpolation

OpenGL Graphics System. 2D Graphics Primitives. Drawing 2D Graphics Primitives. 2D Graphics Primitives. Mathematical 2D Primitives.

The Immersed Interface Method

Math Fundamentals for Statistics (Math 52) Unit 3: Addition and Subtraction. Scott Fallstrom and Brent Pickett The How and Whys Guys.

A HYBRID SEMI-PRIMITIVE SHOCK CAPTURING SCHEME FOR CONSERVATION LAWS

Lecture 1: Finite Volume WENO Schemes Chi-Wang Shu

Outline. Level Set Methods. For Inverse Obstacle Problems 4. Introduction. Introduction. Martin Burger

Transcription:

2 CUMMING The Total Variation Approach to Approximate Hyperbolic Wave Equations Christine Cumming Faculty Sponsor: Dr. Robert H. Hoar, Department of Math ABSTRACT From ultrasound for medical purposes to exploration for oil drilling, waves are everywhere. Knowing how waves should move can help others to work faster and more accurately. The study of wave propagation is analyzing how waves move and how they react to certain obstacles. When the exact function for a set of data that describes a wave is not known, an approximation is needed to move the wave. Dr. Robert Hoar of the Mathematics Department and I have worked on creating modified numerical methods to handle moving these waves without creating oscillations (the wiggles in the graph) using polynomials (simple functions) to approximate the motion of the wave. We used a complicated selection routine in the attempt to reduce these wiggles []. For this research, we worked on refining these numerical methods. We were trying to create computationally better method. We used a method that measured the size of the oscillations, called total variation, in our decision making routine. THE EQUATION We are studying a hyperbolic partial differential equation. This is a one way, onedimensional partial differential equation. These waves follow this condition. u t + cux = where c is the wave speed (here c=l) and ut(x,t) = - Ux(x,t) u is the displacement from equilibrium at position (x,t) One could imagine this wave as a wave on a thin wire or a pulse on along a garden hose. Using the Taylor's Expansion about the point (x,t), u(x, t + At) can be represented as: u(x, t + At) = u(x,t) + ut(x,t) At + (/2!) utt(x,t) At 2 +... + (/n!) utn(x,t) At n + Rn+l(x,t) [2] We can note that if the function is smooth, the Taylor's expansion will converge, and the Rn+l(x,t) remainder go to zero. If the function is not as smooth, the later terms of the Taylor's expansion blow up, and the Rn+l(x,t) remainder may not go to zero. Since we know that the above condition holds for these wave equations, we can substitute space derivatives (those with respect to x) for the time derivatives. u(x, t + At) = u(x,t) + Ux(x,t) At + (/2!) uxx(x,t) At 2 +... + (l/n!) uxn(x,t) At + Rn+l(x,t) Now, we need to find how to approximate the space derivatives. Finite Differences We do this using a numerical method calledfinite difference approximations. Again, we look at Taylor's Expansions.

APPROXIMATE HYPERBOLIC WAVE EQUARIONS 22 f(x) = f(x) f(x + Ax) = f(x) + f (x) Ax + (f "(x)/2!) Ax 2 +... We can create a linear combination of these values to determine the derivative at f(x) or f '(x). f '(x) = f(x + Ax) - f(x) + O (Ax) (See [2] for O notation.) Ax This is called a * stencil with the dot representing the point we are finding the derivative at and the circle representing the extra points to calculate the derivative. We would use this to "step" forward in time using: u(x, t + At) = u(x,t) - At (f '(x) approximate) + O (At 2 ) Our original problem was that we wanted to find a "good" numerical solution to move this wave with no oscillations and with high resolution. Standard methods of determining approximations can introduce these oscillations into the approximation [3]. This illustrates how far the fixed stencil method (the dashed line) can stray from the true solution (the solid line). Even after only 6 steps in time, the error is clear. The Fixed Stencil: pts3oint witrit-increment=. 396.5 I~ ' ~.I -I.-L l~ l~ *) 'FI I r _ e,...e.. -i-~~~~~~~~~~ Ii I I.. O '-.t.. _! i O p 3 '.4.5.6.7.8.9 \J t l w the ramp after so steps in time So, we decided to change the points used in the finite difference, or stencil, depending on the data. This stencil can include one to as many data points as given. Using more data points is more accurate, but it takes more work to compute. Using different stencils on the data in difference case can also improve accuracy. The Definition of Total Variation Total variation, a mathematical technique, measures how much a function moves up and down. If it has too many oscillations, the total variation is relatively higher. :.... - - 4.-...,... '......."-- i -........l.2... 9 :.3.8.4.6.7 :.8.9. figure A figure B For example, figure A has a much smaller Total Variation than figure B, since figure B has more ups and downs.

23 CUMMING The Definition of ENO We know oscillatory functions have large total variations. We used a scheme called Essentially Non-Oscillatory, or ENO, [4]. ENO schemes seek to reduce the oscillations by limiting the growth of the total variation. Fixed stencil finite difference methods are not ENO. The ENO method involves creating a sequence of interpolating polynomials and using a complicated selection routine to pick the correct stencil. We used this method to gauge how well the new methods were doing. We worked on other variations of this idea involving more terms of the Taylor's Expansion. OUR RESEARCH For this research, we realized that we were trying to limit the growth of the total variation of the approximation. It seems natural to limit the total variation in the selection routine. Our new methods implement this. We developed three different methods to use the total variation in the selection routine. We studied a second order stencil. That is a finite difference using three data points. All these numerical methods use the polynomial interpolant to make decisions on which stencil to use if it has a choice. Since we have a positive wave speed (c), we need to look at the stencil and the stencil. For this analysis, let the polynomial interpolant for the stencil be P. Let the polynomial interpolant for the stencil be P2. Method #: Multiple-Point Total Variation Method This method takes the total variation of the polynomial interpolants over all 3 points for each stencil. Taking the total variation, or TV, over the 3 points included in the stencil, we would pick the stencil if TV(P) < TV(P2). This will give us an idea if the interpolant is relatively smooth in this region or not. We conjectured that a smooth polynomial interpolant over these three points would imply that the stencil selection would be more stable over time. Here, more stable means it will not introduce the oscillations or if it does it will do so at a slower rate. Method #2: Two-Point Total Variation Method In looking for a computationally cheaper method, we came upon this idea. This method takes the total variation of the polynomial interpolants over the two downwind points for each stencil. So, we compute the total variation over just the part of the stencil. Taking the total variation, or TV, over those 2 points,, for the stencil and for the stencil, we would pick the stencil if TV(P) < TV(P2). This will give us an idea if the interpolant is relatively smooth in this region or not. We conjectured that a smooth polynomial interpolant near the point we were calculating the derivative at would imply that the stencil selection would be more stable over time. Method #3: Divided Total Variation Method Some of the data sets we were testing these methods on have some extremely large jumps. This is quite a shock for the standard methods. We were concerned that the selection routine might me choosing the incorrect stencil. This method takes the

APPROXIMATE HYPERBOLIC WAVE EQUARIONS 24 total variation of the polynomial interpolants over all 3 points for each stencil as in the Multi-Point Total Variation Method, then it divides this by the total variation of the data itself. Taking the total variation, or TV, over the 3 points included in the stencil, we would pick the () stencil if TV(P) < TV(P2) TV(OO ) TV(OOO) We hoped that this would indicate if the interpolant is relatively smooth in this region or not taking into account the region the total variation was measured over. Again, we conjectured that a smooth polynomial interpolant after the division near the point we were calculating the derivative at would imply that the stencil selection would be more stable over time. INTRODUCTION OF THE ANALYSIS The purpose of this research was to determine if this new method is an improvement over the other methods. Before we can say if a method is better than another, we have to define what "better" is. A method is "better" if it uses less computer operations than the other methods and maintains the same level of accuracy. The method can also be considered "better" if it uses the same number of computer operations but is more accurate. We did most of this analysis on the methods using a computer and Matlab, a mathematics program. I wrote the programs to implement these methods and other programs to test these methods. We generated graphs of the results for visual inspection. We also calculated the error at each stage. From these sources, we could identify how well a method was working. From this analysis, we can judge if the oscillations are reducing or becoming larger. We have a couple different criteria for judging how well the method does. What we learned from the visual cues from the graphs is also evident when the norms of the error are examined. We want to know how much distance (or area) is between the original and our result. That is the error. Also, we analyze how much work (computer computations) is necessary to carry out this process. That is the computational complexity. ANALYSIS We had eight data sets to test the method against. Each data set consists of discrete data. We used a Ax of. and a At of.4. For each data set that we would test, we would make a copy of the original data for each of the methods. We would let our method compute the next step in time. Then we would determine how well each does. For reference, we compared our methods to ENO as our standard method. Here, we are going to examine the "ramp" data set. The Function: data points, with t-increment=o.396..2.3....4.5.7.8.9..... 2.3.4.5. s. 7.8 o.9

....S.-...*...n-*>*-w 25 CUMMING This is a very simple data set; it is four lines connected together. Where the lines are connected, the function is continuous, but it is not differentiable. This effects the Taylor expansion of the wave. Also, we are using periodic boundary conditions. So once the wave gets to the right side of the box, it starts scrolling onto the left side of the box..5 The ENO Method: data points, with t-increment=.396.. V...,, I.,..... *........ ; ; ; lo I. is...,_, W.... r I si ( I I (..2.3.4.5.6.7.8.9 the ramp after 8 steps in time Let's look at the how well the ENO method does on this data set after 8 steps in time. (The dashed is the approximate. The solid line is the true solution.) This method is very stable (or does not introduce oscillations at this stage). * The result of this method captures the shape of the wave at each time step. * The result of this method is almost exact everywhere except on the "comers" where the lines come together at a junction. * This method has a relatively small error (see Table ). * The method is more computationally complex than the other methods. * The costs are worth the results..5 The Multi-Point Total Variation: data points, with t-increm ent=.396 *. I ; ' if ix ; ;....,............;.,..;.. ;'.,'...;..;.;... ;...;... ;*;,,, : j :, :..f...........f..., ~....v.~.,...:... J r.. ; r I I I, I. I. I... I~~~~~~~~~~~~~~~~~ I r~~~~~~~~~'.~ -. -, n o n. U. U.3 U.4 U.O U. u./ u. u. the ramp after 8 steps in time Let's look at the how well the Multiple-Point Total Variation method does on this data set after 8 steps in time. (The dashed is the approximate. The solid line is the true solution.) This method is not as stable as the ENO method. *The result of this method is starting to not hold on to the shape of the wave at each time step.

APPROXIMATE HYPERBOLIC WAVE EQUARIONS 26 * The result of this method is trying to turn this ramp into a step function where it would jump from to and back to. * It should be capturing the sloping sides better. * The error of this method is not large (see Table ). * The method is less computationally complex than the ENO method. * The results on this function are okay considering the computational costs. Let's see if the Two-Point Total Variation method does any better. This is also on this data set after 8 steps in time. (The dashed is the approximate. The solid line is the true solution.).5 The Two Point Total Variation: data points,with t-increment=.396 :' : I r I I...:.............. I...2.3.4.5.6.7.8.9 the ramp after 8 steps in time This method is not as stable as the ENO method. * The result of this method usually captures the shape of the wave at each time step. * The result of this method should not weave from one side of the wave to the other on the sloping slides of the ramp. * The method has a relatively small error (see Table ). * The method is the least computationally complex of all these methods. * The results are very good considering the computational costs. Lastly, let's look at the Divided Total Variation method after 8 time steps on this data set. (The dashed is the approximate. The solid line is the true solution. _' *'' L * The Divided Total Variation: data points, with t-increment=.396 --- X* - ---*-_ *----I r r r * -* -* I -* r --* j2 x \ r n, *- -- *-,- -,------,- -.. I. 5. I ' / ' ' ' v... i... i....,--i......... i.... i..... C.....'.,.............,, I i. I I..2.3.4.5.6.7.8.9 the ramp after 8 steps in time This method is not stable. * The result of this method does not capture the shape of the wave at each time step. * The result of this method on the "corers" causes a good deal of error. * It should capture the sloping sides better. * The error of this method is relatively large on most data sets.

27 CUMMING * The error of this method is larger than the others (see Table ). * The method is less computationally complex than the ENO method, but it is more computationally complex than the other new methods. * The results on this function are awful considering the computational costs. These new methods have many of the positive attributes of other methods but with less error than many others. Let's look at how we compute the error. We take the norm of the vector that held the values from the method minus the values from the true solution. Since we are subtracting the new one from the true solution, we want the numbers to be closer to zero. Some of the errors are in Table below. Table Initially Time = 4 Time = 6 Time = 8 ENO..64.66.697 Multi-Point TV..467.6324.724 Two Point TV..2696.385.4263 Divided TV..4348.6842.997 While certain computational issues remain to be studied, it appears that these methods will be comparable in computation complexity to the standard methods. In fact, the new methods may be slightly less complex than methods of comparable accuracy. CONCLUSION We want to predict how waves move. This is important, because waves are everywhere. Knowing how waves move can help people to optimize time and productivity when working with waves. We studied these methods in order to help us to predict the movement of waves. One technique used to measure how much a function moves up and down is called "total variation." If an approximation has too many oscillations (the wiggles in the graph), the total variation is larger. Reducing the total variation can bring approximations closer to the true solution. That is what we want. While these total variation methods are not as stable as the original ENO method, with some more work, these methods could be refined. Since these methods are less computationally expensive than the standard methods, this would be a great asset to have such a method. REFERENCES [] Robert H. Hoar, Ph.D. An Adaptive Stencil Finite Difference Method for First Order Linear Hyperbolic System, 995. [2] Ward Cheney and David Kincaid. Numerical Mathematics and Computing, Third Edition. Brooks/ Cole Publishing, Pacific Grove, CA, 994. [3] R. J. LeVeque. Numerical Methods for Conservation Laws. Birkhauser Verlag, Basel, 992. [4] A. Harten and S. Osher. Uniformly High-Order Accurate Nonoscillatory Schemes I. SIAM Journal on Numerical Analysis, 24(2):279-39, 987.