1 Discretization Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal 14300 Pulau Pinang Week.

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.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Computational Methods II (Elliptic)
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 10.
Computational Modeling for Engineering MECN 6040
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 3.
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
Chapter 3 Steady-State Conduction Multiple Dimensions
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
Lecture 2: Numerical Differentiation. Derivative as a gradient
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
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
Dr. Jie Zou PHY Chapter 7 Numerical Differentiation: 1 Lecture (I) 1 Ref: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven.
Numerical Methods Marisa Villano, Tom Fagan, Dave Fairburn, Chris Savino, David Goldberg, Daniel Rave.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Review of normal distribution. Exercise Solution.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Lecture 16: Convection and Diffusion (Cont’d). Last Time … We l Looked at CDS/UDS schemes to unstructured meshes l Look at accuracy of CDS and UDS schemes.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 4.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.
1 Computational Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Integration of 3-body encounter. Figure taken from
MSc Thesis presentation – Thijs Bosma – December 4th 2013
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
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 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 11.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
Remainder Theorem. The n-th Talor polynomial The polynomial is called the n-th Taylor polynomial for f about c.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
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
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 10.
1 Scalar Conservation Law Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Copyright © Cengage Learning. All rights reserved.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Lecture 2. Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25.
1 Approximations and Round-Off Errors Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Copyright © Cengage Learning. All rights reserved Applications of Taylor Polynomials.
1 Gauss-Seidel Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter 11.
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
EEE 431 Computational Methods in Electrodynamics
Introduction to Numerical Methods I
MANE 4240 & CIVL 4240 Introduction to Finite Elements
CSE245: Computer-Aided Circuit Simulation and Verification
CSE 245: Computer Aided Circuit Simulation and Verification
Sec 21: Analysis of the Euler Method
Section 11.6 – Taylor’s Formula with Remainder
CSE245: Computer-Aided Circuit Simulation and Verification
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

1 Discretization Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 2 (Lecture 1)

2 Overview Discuss how to represent continuous solution (data) by discrete solution. Can be represented by finite difference (FD), finite volume (FV), finite element (FE) or spectral methods. Introduce the concept of numerical errors and how to measure them.

3 Finite Difference (FD) Method A classical technique in numerical analysis. Assume that any set of data {u j, j=1,2,..,J} are samples of u (x j ) from some continuous function u (x) Think of u (x j ) as an attempt to reconstruct a continuous function from a fragmentary samples.

4 Finite Difference How to estimate error ?

5 Using Taylor series analysis, it can be shown that Suppose we want to compute du/dx using 2 discrete points (j, j-1), the scheme would look like How to measure the error? Think of an operator on continuous and discrete data What does this tell you?

6 Local Truncation Error (LTE) The difference between the numerical and analytical solution at point j is of order Δx - this is the LTE LTE gives a measure of the local order of accuracy of the numerical method Alternative view of consistency: As h approaches zero, LTE approaches zero -> consistent! LTE approaches zero -> consistent!

7 LTE (cont’d) Can this be translated to global (convergence) sense ? For linear problems, recall that we have Lax’s theorem: Consistency + Stability = Convergence (global) Theorem is valid regardless of type of discretization, FD, FV or Finite Element (FE), etc. In other words, if LTE is O(Δx), expect O(Δx) globally -> When mesh is refined, results improved at O(Δx) -> When mesh is refined, results improved at O(Δx) -> Usually not the case, may be better or worse -> Usually not the case, may be better or worse

8 How to increase order of accuracy? Using more points, will increase accuracy of numerical method. Using 3 points (j, j+1, j+2) Gives a second order accurate scheme Exercise: Find du/dx using j+1 and j-1.

9 Finite Volume (FV) Method An alternative to FD method Data no longer lie on a continuous curve Represents mean values over a set of intervals (or cells) Note the interfaces to left and right of jth cell will be denoted as

10 Finite Volume