Lecture 3.

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 Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Computational Modeling for Engineering MECN 6040
Chapter 8 Elliptic Equation.
Parabolic Partial Differential Equations
Numerical Integration of Partial Differential Equations (PDEs)
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.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
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.
1 Lecture 11: Unsteady Conduction Error Analysis.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
Lecture 34 - Ordinary Differential Equations - BVP CVEN 302 November 28, 2001.
Introduction to Numerical Methods I
Parabolic PDEs Generally involve change of quantity in space and time Equivalent to our previous example - heat conduction.
Computational Fluid Dynamics I PIW Numerical Methods for Parabolic Equations Instructor: Hong G. Im University of Michigan Fall 2005.
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.
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
Numerical Solutions to ODEs Nancy Griffeth January 14, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Taylor-Galerkin Schemes
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.
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.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 5 Summary of convergence checks for LMM and one-step time stepping Instructor:
Programming assignment #2 Solving a parabolic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
3.3.3: Semi-Lagrangian schemes AOSC614 class Hong Li.
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.
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Numerical Analysis – Differential Equation
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
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.
1 Application of Weighted Essentially Non-Oscillatory Limiting to Compact Interpolation Schemes Debojyoti Ghosh Graduate Research Assistant Alfred Gessow.
Finite Difference Schemes Dr. DAI Min. Type of finite difference scheme Explicit scheme – Advantage There is no need to solve a system of algebraic equations.
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.
Lecture 2. Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Department of Mathematics Numerical Solutions to Partial Differential Equations Ch 12. Applied mathematics. Korea University.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Numerical Methods for derivatives pricing. 2 American Monte Carlo It’s difficult to price an option with early exercise using Monte Carlo But some options.
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.
PDE Methods for Image Restoration
EEE 431 Computational Methods in Electrodynamics
Lecture 4: Numerical Stability
Finite Difference Methods
Introduction to Numerical Methods I
Convection-Dominated Problems
Chapter 30.
ივანე ჯავახიშვილის სახელობის
Convergence in Computational Science
21th Lecture - Advection - Diffusion
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
topic4: Implicit method, Stability, ADI method
Comparison of CFEM and DG methods
6th Lecture : Numerical Methods
Presentation transcript:

Lecture 3

FD Methods Domain of Influence (elliptic, parabolic, hyperbolic) Conservative formulation Complications: Mixed Derivatives Higher Dimensions (2+) Source Terms

FD: Domain of influence Elliptic PDE Laplace equation

FD: Domain of influence Parabolic PDE Heat equation

FD: Domain of influence Hyperbolic PDE Wave equation

Mixed Derivatives Central Derivative Stencil:

PDE Formulation Burgers Equation: Straightforward discretization (upwind): Conservative Form: Standard discretization (upwind):

Burgers Equation

Lax-Wendroff Theorem For hyperbolic systems of conservation laws, schemes written in conservation form guarantee that if the scheme converges numerically, then it converges to the analytic solution of the original system of equations. Lax equivalence: Stable solutions converge to analytic solutions

Implicit and Explicit Methods Explicit FD method: U(i+1) is defined by U(i) knowing the values at time n, one can obtain the corresponding values at time n+1 Implicit FD method: U(i+1) is defined by solution of system of equations at every time step

Implicit and Explicit Methods Crank-Nicolson for the Heat Equation

Implicit and Explicit Methods + Unconditionally Stable + Second Order Accurate in Time Complete system should be solved at each time step Crank-Nicolson method: stable for larger time steps

First vs Second Order Accuracy Local truncation error vs. grid resolution in x

Source Terms Nonlinear Equation with source term S(U) e.g. HD in curvilinear coordinates Unsplit method Fractional step (splitting method)

Source Terms: unsplit method One sided forward method: Lax-Friedrichs (linear + nonlinear) Leapfrog (linear) Lax-Wendroff (linear+nonlinear) Beam-Warming (linear)

Source Terms: splitting method Split inhomogeneous equation into two steps: transport + sources Solve PDE (transport) Solve ODE (source)

Multidimensional Problems Nonlinear multidimensional PDE: Dimensional splitting x-sweep y-sweep z-sweep source term: splitting method

Dimension Splitting x-sweep (PDE): y-sweep (PDE): z-sweep (PDE): source (ODE):

Dimension Splitting Upwind method (forward difference)

Dimension Splitting + Speed + Numerical Stability - Accuracy

Method of Lines Conservation Equation: Only spatial discretization: Solution of the ODE (i=1..N) Analytic? Runge-Kutta

Method of Lines Multidimensional problem: Lines: Spatial discretazion:

Method of Lines Analytic solution in time: Numerical error only due to spatial discretization; + For some problems analytic solutions exist; + Nonlinear equations solved using stable scheme (some nonlinear problems can not be solved using implicit method) - Computationally extensive on high resolution grids;

Linear schemes “It is not possible for a linear scheme to be both higher that first order accurate and free of spurious oscillations.” Godunov 1959 First order: numerical diffusion; Second order: spurious oscillations;

end www.tevza.org/home/course/modelling-II_2011