The Backward Error Compensation Method for Level Set Equation Wayne Lawton and Jia Shuo Department of Mathematics National University.

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

Geometric Integration of Differential Equations 1. Introduction and ODEs Chris Budd.
Formal Computational Skills
4 th order Embedded Boundary FDTD algorithm for Maxwell Equations Lingling Wu, Stony Brook University Roman Samulyak, BNL Tianshi Lu, BNL Application collaborators:
Chapter 6 Differential Equations
Numerical Methods Lecture 14 Differentiation-Continuous Functions
Computational Modeling for Engineering MECN 6040
Active Contours, Level Sets, and Image Segmentation
Chapter 8 Elliptic Equation.
Ordinary Differential Equations
Numerical Computation
Lecture 18 - Numerical Differentiation
1 Lecture #5 Variational Approaches and Image Segmentation Lecture #5 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
Chapter 3 Steady-State Conduction Multiple Dimensions
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
Level Set Formulation for Curve Evolution Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
An Optimal Nearly-Analytic Discrete Method for 2D Acoustic and Elastic Wave Equations Dinghui Yang Depart. of Math., Tsinghua University Joint with Dr.
/08/2002SMARTER meeting 1 Solution of 2D Navier-Stokes equations in velocity-vorticity formulation using FD Remo Minero Scientific Computing Group.
Computer-Aided Analysis on Energy and Thermofluid Sciences Y.C. Shih Fall 2011 Chapter 6: Basics of Finite Difference Chapter 6 Basics of Finite Difference.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 32 Ordinary Differential Equations.
Numerical Solutions of Ordinary Differential Equations
Chapter 16 Integration of Ordinary Differential Equations.
Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural Sciences Tbilisi State University GGSWBS,Tbilisi, July.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Discontinuous Galerkin Methods for Solving Euler Equations
Numerical Solutions to ODEs Nancy Griffeth January 14, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Computer Vision, Robert Pless Lecture 11 our goal is to understand the process of multi-camera vision. Last time, we studies the “Essential” and “Fundamental”
Lecture 3.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
1 Computational Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Computer Animation Algorithms and Techniques
Acoustic diffraction by an Oscillating strip. This problem is basically solved by a technique called Wiener Hopf technique.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
1 Lecture #6 Variational Approaches and Image Segmentation Lecture #6 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
Introduction to Level Set Methods: Part II
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
Chapter 24 Sturm-Liouville problem Speaker: Lung-Sheng Chien Reference: [1] Veerle Ledoux, Study of Special Algorithms for solving Sturm-Liouville and.
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
Numerical Analysis – Differential Equation
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
PHY 301: MATH AND NUM TECH Contents Chapter 10: Numerical Techniques I. Integration A.Intro B.Euler  Recall basic  Predictor-Corrector C. Runge-Kutta.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
1/14  5.2 Euler’s Method Compute the approximations of y(t) at a set of ( usually equally-spaced ) mesh points a = t 0 < t 1
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
NUMERICAL DIFFERENTIATION or DIFFERENCE APPROXIMATION Used to evaluate derivatives of a function using the functional values at grid points. They are.
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
Example application – Finite Volume Discretization Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
2. Maxwell's Equations and Light Waves
EEE 431 Computational Methods in Electrodynamics
Finite Difference Methods
Chapter 30.
Convergence in Computational Science
Class Notes 18: Numerical Methods (1/2)
Chapter 23.
Finite Volume Method for Unsteady Flows
Ordinary differential equaltions:
Sec 21: Analysis of the Euler Method
Numerical Analysis Lecture 38.
MATH 175: Numerical Analysis II
6th Lecture : Numerical Methods
GPAT – Chapter 7 Physics.
Presentation transcript:

The Backward Error Compensation Method for Level Set Equation Wayne Lawton and Jia Shuo Department of Mathematics National University of Singapore

Level Set Method (Osher and Sethian 1988) The interface is represented as a zero level set of a Lipschitz continuous functionThe interface is represented as a zero level set of a Lipschitz continuous function φ(x,t) The evolution equation ofThe evolution equation of φ(x,t) under a velocity field u: grad Φ t + u · grad φ= 0

Applications –Multiphase flows –Stefan problem –Kinetic crystal growth –Image processing and computer vision Advantages –Naturally handle topological changes and complex geometries of the interfaces –Simple formulae for unit normal and curvature n = grad φ κ = div (gradφ/|gradφ|)

Conventional Numerical Schemes Schemes for hyperbolic conservation laws –Spatial: Essential Non-Oscillatory (ENO) –Temporal: Total Variation Diminishing Runge- Kutta (TVD-RK)

Backward Error Compensation (Dupont and Liu 2003) Consider the ODE: y’= f(t,y) Advance it one step from t n to t n+1 by forward Euler method: y 1 n+1 = y n + Δt f n Solve the ODE backward from t n+1 to t n y 2 n = y 1 n+1 - Δt f n+1 If no numerical errors, y n = y 2 n. Let e = y n - y 2 n

Assume that the errors in the forward and backward process are the same. Let y 3 n = y n + e/2 = y n + (y n - y 2 n )/2 Starting with y 3 n to remove the principal components of the error at t n+1, solve the ODE forward again. y n+1 = y 3 n + Δt f(t n, y 3 n )

Backward Error Compensation y n+1 = y n + Δt(f n+1 + f(t n, y 3 n ) – f n )/2 2 nd order modified Euler scheme y n+1 = y n + Δt(f n+1 + f n )/2 (f n+1 + f(t n, y 3 n ) – f n ) - (f n+1 + f n ) =O(Δt 2 ) The forward Euler with backward error compensation is 2 nd order accuracy

Theorem: The backward error compensation algorithm can improve the order of accuracy of kth order Taylor method y n+1 = y n + Δt f n + Δt 2 f’ n /2 + …+ Δt k f (k-1) n /k! by one if k is an odd positive number.

Consider 1-D level set equation Φ t + uφ x = 0 1 st order upwind scheme for φ x (φ x ) i = (φ i – φ i-1 )/Δx, if u i > 0 (φ i+1 – φ i )/Δx, if u i < 0 Assume u =1, the 1 st order upwind scheme can be written as Φ n+1 i = (1-λ) φ n i + λφ n i-1, where λ= Δt/Δx.

Applying the backward error compensation, Φ n+1 i = (λ 2 /2+λ 3 /2) φ n i-2 + (λ/2+2 λ 2 -3λ 3 )φ n i-1 + (1-5λ 2 /2+3λ 3 /2)φ n i + (-λ/2+λ 2 -λ 3 /2)φ n i+1 (1) The local truncation error is O(Δx 3 ) It not only improves the temporal order of accuracy by one, but also improves the spatial order by one.

Stable Condition Theorem: If 0<λ ≤ 1.5 and u n+1 is defined by (1) with periodic boundary condition, then ||u n+1 || 2 ≤ ||u n || 2. Proof: by expansion in Fourier series. Remark: Backward error compensation with center difference creates a stable scheme for 0<λ ≤ 3 1/2.

Reinitialization Keep Φ as a distance function at each time step PDE approach Φ τ = sgn(Φ 0 )(1-|gradΦ|) Φ(x,0) = Φ 0 (x) ENO and TVD-RK

For the grid x near the interface, we do a Taylor expansion to find an accurate approximation of the orthogonal projection y of x on the interface. y = x + rp, where p = grad φ/|grad φ| Φ(x) + |grad φ |r + (p T H(φ)p) r 2 = φ(y) = 0, where H is the Hessian matrix of φ. Then r is the distance from x to the interface. x y p

Accuracy Check Move a unit circle Φ 0 =(x 2 + y 2 ) 1/2 -1 with a constant velocity (1,1) in a 4x4 periodic box. 64x64128x128256x256order error9.32e e-45.51e-52.04

Numerical Results Rotational Velocity Field Rotate a slotted disk in a 100x100 square with the velocity field u(x,y) = pi(50-y)/314; v(x,y) = pi(x-50)/314. We compute for t=628 on a 200x200 grid.

T = 0T = 628

Applications in Multiphase Flows Solve Navier-Stokes equation using projection method Solve the level set equation using backward error compensation Reinitialization by solving the quadratic equation near the interface

ρ w / ρ A = 100; μ w / μ A = 10 Δx=Δy=0.005; Δt=0.001 Numerical Examples

Thank You