Lecture 2. Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Finite Difference Discretization of Elliptic Equations: 1D Problem Lectures 2 and 3.
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Sigal Gottlieb, UMass Dartmouth: SAMSI workshop November 15, 2007 STRONG STABILITY PRESERVING RUNGE-KUTTA & MULTI-STEP TIME DISCRETIZATIONS Sigal Gottlieb,
An Introduction to Numerical Methods
Finite differences Finite differences.
2ª aula Evolution Equation. The Finite Volume Method.
Remark: foils with „black background“ could be skipped, they are aimed to the more advanced courses Rudolf Žitný, Ústav procesní a zpracovatelské techniky.
University of Colorado at Boulder Center for Integrated Plasma Studies Two-Fluid Applications of NIMROD D. C. Barnes University.
Numerical Integration of Partial Differential Equations (PDEs)
1cs533d-winter-2005 Shallow water equations  From last time, using eta for depth=h+H:  We’ll discretize this using “splitting” Handle the material derivative.
1cs542g-term Notes  Even if you’re not registered (not handing in assignment 1) send me an to be added to a class list.
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.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
/08/2002SMARTER meeting 1 Solution of 2D Navier-Stokes equations in velocity-vorticity formulation using FD Remo Minero Scientific Computing Group.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Atms 4320 Lab 2 Anthony R. Lupo. Lab 2 -Methodologies for evaluating the total derviatives in the fundamental equations of hydrodynamics  Recall that.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Introduction to Numerical Methods I
Parabolic Equation. Cari u(x,t) yang memenuhi persamaan Parabolik Dengan syarat batas u(x,0) = 0 = u(8,t) dan u(x,0) = 4x – ½ x 2 di x = i : i = 0,
Numerical Methods for Partial Differential Equations
Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural Sciences Tbilisi State University GGSWBS,Tbilisi, July.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 11 Instructor: Tim Warburton.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Chapter 3: The Laplace Transform
Numerical Methods for Partial Differential Equations
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 8 Instructor: Tim Warburton.
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Hyperbolic PDEs Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Introduction to Numerical Methods for ODEs and PDEs Methods of Approximation Lecture 3: finite differences Lecture 4: finite elements.
The Finite Volume Method
Lecture 3.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
1 Discretization Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
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.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
Numerical Analysis – Differential Equation
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
AMS 691 Special Topics in Applied Mathematics Lecture 8
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
1 Scalar Conservation Law Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Differential Equations Linear Equations with Variable Coefficients.
The story so far… ATM 562 Fovell Fall, Convergence We will deploy finite difference (FD) approximations to our model partial differential equations.
Towards Future Navier-Stokes Schemes Uniform Accuracy, O(h) Time Step, Accurate Viscous/Heat Fluxes Hiroaki Nishikawa National Institute of Aerospace.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Lecture I & II: Foundations of Numerical HydroDynamics
Regional Weather and Climate Modeling:
The Finite-Difference Method Taylor Series Expansion Suppose we have a continuous function f(x), its value in the vicinity of can be approximately expressed.
AC274: Finite Differences for Classical Fields
PDE Methods for Image Restoration
Lecture 4: Numerical Stability
Introduction to Numerical Methods I
ივანე ჯავახიშვილის სახელობის
Simple FD Gerard T. Schuster.
CSE245: Computer-Aided Circuit Simulation and Verification
Advection – Diffusion Equation
CSE 245: Computer Aided Circuit Simulation and Verification
Finite Volume Method Philip Mocz.
CSE245: Computer-Aided Circuit Simulation and Verification
Finite Difference Method for Poisson Equation
High Accuracy Schemes for Inviscid Traffic Models
Comparison of CFEM and DG methods
6th Lecture : Numerical Methods
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
Numerical Modeling Ramaz Botchorishvili
Presentation transcript:

Lecture 2

Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:

FD Methods One-sided backward Leapfrog One-sided forward Lax-Wendroff Lax-Friedrichs Beam-Warming

One-sided backward Difference equation: i i+1 i-1 j-1 jj+1 time stepping

One-sided forward Difference equation: i i+1 i-1 j-1 jj+1 time stepping

Lax-Friedrichs Difference equation:

Leapfrog Difference equation:

Lax-Wendroff Difference equation:

Beam-Warming Difference equation:

Time stepping 1 st order methods in time: U(i+1) = F{ U(i) } 2 nd order methods in time: U(i+1) = F{ U(i), U(i-1) } Starting A) U(2) = F{ U(1) } ( e.g. One-Sided ) method: B) U(3) = F{ U(2), U(1) } ( Leapfrog )

Convergence - Analytical solution - Numerical solution Error function: Numerical convergence (Norm of the Error function):

Norms Norm for conservation laws: Other Norms (e.g. spectral problems)

Numerical Stability Courant, Friedrichs, Levy (CFL, Courant number) Upwind schemes for discontinity: a > 0 :One sided forward a < 0: One sided backward

Lax Equivalence Theorem For a well-posed linear initial value problem, the method is convergent if and only if it is stable. Necessary and sufficient condition for consistent linear method Well posed: solution exists, continuous, unique; -numerical stability (t) -numerical convergence (xyz)

Discontinuous solutions Advection equation: Initial condition: Analytic solution:

Analytic vs Numerical  x = 0.01

Analytic vs Numerical  x = 0.001

Nonlinear Equations Linear conservation: Nonlinear conservation:

Nonlinear FD methods Lax-Friedrichs linear stencil: nonlinear stencil:

Nonlinear FD methods Lax-Wendroff MacCormack’s two step method:

FD Methods Methods to supress numerical instabilities Numerical diffusion (first order methods)

Numerical dispersion Lax-Wendroff (or second order methods) Beam-Warming method

Numerical dispersion ( a > 0 ) ( a < 0 )

Numerical dispersion ( a > 0 ) ( a < 0 )

Convergence Lax-Friedrichs: Convergence:

FD Methods + / Primitive + / Fast -/ Accuracy -/ Numerical instabilities

end