2.3. Quantitative Properties of Finite Difference Schemes. Reading: Tannehill et al. Sections and

Size: px
Start display at page:

Download "2.3. Quantitative Properties of Finite Difference Schemes. Reading: Tannehill et al. Sections and"

Transcription

1 3 Quantitative Properties of Finite Difference Schemes 31 Consistency, Convergence and Stability of FD schemes Reading: Tannehill et al Sections 333 and 334 Three important properties of FD schemes: Consistency An FD representation of a PDE is consistent if the difference between PDE and FDE, ie, the truncation error, vanishes as the grid interval and time step size approach zero, Comment: ie, whenlim(pde FDE) = 0 0 Consistency deals with how well the FDE approximates the PDE Stability For a stable numerical scheme, the errors from any source will not grow unboundedly with time Comments: A concept that is applicable only to marching (time-integration) problems Generally we are much more concerned with stability than consistency Some hard wor is often needed to establish analytically the stability of a scheme Convergence It means that the solution to a FDE approaches the true solution to the PDE as both grid interval and time step size are reduced 1

2 Lax's Equivalence Theorem For a well-posed, linear initial value problem, the necessary and sufficient condition for convergence is that the FDE is stable and consistent The theorem has been proved for initial value problems governed by linear PDE's (Richtmyer and Morton 1967) We will discuss the three concepts one by one 3 Consistency Consistency means PDE FDE 0 when x 0 and t 0 Clearly consistency is the necessary condition for convergence Example: Consider a 1-D diffusion equation: u t u = K ( K > 0 and constant) x We use the forward-in-time and centered-in-space (FTCS) scheme:

3 u u u u + u t x n+ 1 n n n n i i i 1 i i+ 1 = K To show consistency, we need to determine the truncation error τ Using Taylor series expansion method, 3 3 n+ 1 n u ( t) u ( t) u ui = ui + t t! t 3! t 3 3 n n u ( x) u ( x) u ui± 1 = ui ± x + ± + x 3! x 3! x Substituting into the FDE, we have u t u u + + O( t ) = K + O( x ) + t t x therefore t u τ = + + t O( t x ) τ 0 when x 0 and t 0 => the scheme is consistent A counter example: The Dufort-Franel method for the same diffusion equations: 3

4 n+ 1 n 1 n n n+ 1 n 1 ui ui ( ui+ 1+ ui 1) ( ui + ui ) = K t x It's a centered-in-time scheme that is nd-order accurate in both space and time We can find again the truncation error (do it yourself!) 4 3 K( x) u t u ( t) u τ = K HRT x x t 6 t We can see that lim τ 0 except for the second term x, t 0 If t lim = 0 x x, t 0 then the scheme is consistent therefore t must approaches zero faster then x If they approaches zero at the same rate, then lim x, t 0 t = β, then x lim x, t 0 τ = K u β, t our equation becomes t t x u u u + K β = K 4

5 Thus, we are solving the wrong equation In fact this equation is hyperbolic instead of parabolic t Note that if ~1 x you might see spurious waves in your solution, due to the hyperbolic nature of the "new" PDE 33 Convergence General Discussion Definition is given earlier Symbolically, it is n lim u = u( x, t) x, t 0 i Convergence is generally hard to prove, especially for nonlinear problems The Lax's Theorem we presented earlier is very helpful in understanding the convergence for linear systems, and is often extended to nonlinear systems We will also discuss numerical convergence and methods for measuring solution accuracy later We will first show a convergence proof for a diffusion problem Certain concept introduced will be useful later Convergence proof for a 1-D diffusion problem Consider 5

6 u t u = K ( K > 0 and constant) x for 0 x L which has an initial condition: π x uxt (, = 0) = a sin( ) = f( x) L = 1 The BC is u(0, t) = u( L, t) = 0 This is a well-posed, linear initial value problem (notice the IC satisfies the BC as well) First, let's find the analytical solution to the PDE Because the problem in linear, we need only to examine the solution for a single wavenumber, and can assume a solution of the form: π x u( x, t) = A( t)sin( ) L Here A is the amplitude and sin gives the spatial structure and the final solution should be the sum of all wave components Note that this solution satisfies the boundary conditions Substituting the solution into the PDE, we obtain an ODE for the amplitude A : 6

7 da () t dt π = L KA dln( A ) π = K dt L A() t = A(0)exp K π / L t ( ) It says that the amplitude of the solutions for all wave numbers decreases with time From the IC, A (0) = a, so we have (, ) exp ( / ) π x u x t = a K π L t sin( ) L and uxt (, ) = u ( xt, ) which is the analytical solution to the original diffusion equation A numerical approximation to the diffusion equation should converge to this solution as x, t 0 Consider the forward-in-time centered-in-space (FTCS) scheme we derived earlier 7

8 Goal: Show that u t i u(x,t) as x, t 0 First, find the numerical solution This time, we use the FDE and substitute a discrete Fourier series into the equation Let the IC be given by π x f x u a for i= 0, 1,,, J J 0 i ( i) = i = sin( ) = 0 L where J+1 = total number of grid points used to represent the initial condition The coefficient a is given by a discrete Fourier transform: J π xi a = f( xi)sin( ) for =0, 1,,, J J L i= 0 Note 1: L = J x As x 0, J, the discrete Fourier series becomes continuous and a a Note : The number of harmonics or Fourier wave components that can be represented is a function of the number of grid points (J+1), which is the number of degrees of freedom Spectral methods represent fields in terms of spectral components, whose amplitudes are solved for The wavenumber for the wave components is π in the above equations L Recall that wavelength 8

9 π π L λ = = = wn ( π / L) where is the number (index) of wave components Longest wavelength =, corresponding to wavenumber zero (=0) Next longest wave = L ( =1 ) Shortest wave = L/J = J x/j = x Comments: A x wave is the shortest wave that can be resolved on any grid and it taes at least 3 points to represent a wave 9

10 x waves often have some special properties They are also represented most poorly by numerical methods recall that smooth fields are more accurately represented by a finite number of grid points As in the continuous case, we examine only one wavenumber (the solution is the sum of all waves), so for our discrete problem, assume a solution of the form u n i π xi = A( n)sin L (It satisfies BC) and n is the time level We also have from IC A (0) = a Substituting this into the FDE and letting u u u u + u t x n+ 1 n n n n i i i 1 i i+ 1 = K, 10

11 S i π xi = sin L, we have A( n+ 1) Si A( n) Si KA( n) = [ S i+ 1 S i + S i 1 ] t ( x) Since x i = i x, x i+1 = (i+1) x therefore S i+ 1 π ( x+ x) = sin L Using standard trigonometric identities, we can write the above in the form of a recursion relation: π x A( n+ 1) = A( n) 1 4µ sin L K t where µ = ( x) π x If we let M() 1 4µ sin L, then we have A ( n+ 1) = M( ) A ( n) 11

12 Write it out for n =0, 1,,, n: A (1) = M( ) A (0) = M( ) a () = ( ) (1) = [ ( )] A M A M a A ( n) = M( ) A ( n 1) = [ M( )] n a we therefore have the solution of u for wave mode : n n π xi ( ui ) = A( n) Si = a [ M( )] sin L Definition: M() is nown as the amplification factor, and if M() 1, the solution will not grow in time as n This had better to be the case because the amplitude of the analytical solution is supposed to always decrease with time For our problem we can see that M() 1 means π x L 1 4µ sin 1 If we tae the maximum possible value of sin ( ) = 1, 1 1 4µ 1 1

13 µ 1/ This condition needs to be met for all to prevent solution growth Based on the definition of µ, the condition becomes ( x) t K This imposes an upper bound on the t that can be used for a given value of x, and such a condition is unnown as the Stability Constraint Now we have our solution, let's chec convergence for single mode Be definition of convergence, we tae n n 4 π lim ( ui ) lim a 1 t sin sin x, t 0 x, t 0 K x πxi = ( x) L L 4K π x or if we let f( x) sin ( x) L, n π xi lim ( u ) = lim a [ 1 t f( x) ] sin L n x, t 0 i x, t 0 13

14 It can be shown that if f(x) is a complex-valued function of a real argument, say x, such that lim f ( x) = a, then, x 0 lim [1 ± tf( x)] n = e ± at (we will show this later) x, t 0 sin( y) We now thatlim = 1, therefore y 0 y π x sin K( π) L π lim f ( x) = lim = K a L π x = L L x 0 x 0 Also lim a x 0 = a, therefore x, t 0 π π x j n lim ( ui ) = aexp K t sin L L Interestingly, this solution is identical to our analytical solution derived earlier! Therefore the numerical solution converges to the PDE solution when x, t 0 14

15 Finally, we show here (noting that n t = t) nn ( 1) nn ( 1)( n )! 3! 3 a 1 a 1 3 = 1± at + 1 ( n t) ± 1 1 ( n t) +! n 3! n n n lim(1 ± f t) = 1 ± fn t+ ( f t) + 3 ( f t) + x 0 3 ( at) ( at) = 1 ± at + ± +! 3! ± at = e 34 Numerical Convergence Reading: Fletcher (handout), Sections 41, 41, 441 Numerical Convergence Convergence is often hard to demonstrate theoretically True analytical solution is hard or even impossible to find is one of the reasons We can, however, find out the convergence of a given scheme numerically We compute solutions at successively higher resolutions and see how the error changes with the resolution Does τ 0 when x 0? 15

16 And how fast τ decreases? The procedure can be very expensive (remember the cost factor increase as doubles) A typical measure of error is the L norm or RMS error: L [ u u ] = n i x i where u is a true solution or a 'converged' numerical solution when exact solution is not available Example: 1-D diffusion equation using FTCS scheme: 4 t u ( x) u τ = K + 4 t 1 x Maing use of 4 u u u u u u = K = K K K = = 4 t x t t x x t x we have 4 K( x) 1 u τ = s + O x + t 4 6 x 4 ( ) K t where s = ( x) 16

17 Table 41 (from Fletcher) shows the error reduction with x for two values of s The above figure shows plots of log 10 (err) as a function of log 10 ( x) 17

18 Recall that τ = A ( x) n log τ = log A + n log x This is a straight line in log-log diagram with a slope of n and intercept A Thus the slope of the line gives the rate of convergence In the above figure, we see that when s = 1/6, the error line has a steeper slope and the error is smaller for all x This is because for this value of s, the first term in τ drops out and the scheme because 4th-order accurate The scheme is second-order accurate for all other values of s Note that you can choose x and t such that s=1/6 only when K is constant in the entire domain In cases where no exact solutions is available, a so-called 'grid-convergence' or reference solution is often sought and this solution can be used in the place of true solution in the estimating the solution error 18

19 An example from Straa et al (1993) It shows a reference solution obtained at x=5 m, for a density current resulting from a dropping cold bubble 19

20 Figure (from Straa et al 1993) Graph of θ' L norms ( C) from self-convergence tests with the compressible reference model (REFC) The bold solid line labeled with 'self-convergence solutions' represents the L norms for spatial truncation errors of solutions made with t = constant and varying grid spacings The L norms were computed against a 50 m reference solution The bold dashed lines labeled with, for example, '000 m solutions' represent L norms for temporal truncation errors of solutions made with x =constant (eg 000 m) and varying time steps The reference solutions for these computations were made using a time step consistent with t = 15 s times a constant in each of the cases The solid fines labeled O(l) and O() represent first- and second-order convergence, respectively 0

21 Richardson Extrapolation As the grid becomes very fine, the error behaves much lie that predicted from the leading terms in τ Further refinements are expensive, so we use another technique to improve the solution Richardson Extrapolation Consider two numerical solutions obtained at x a and x b With FTCS scheme (assuming s 1/6), τ a 4 K( xa ) 1 u 4 = s + O x + t 6 x 4 ( a ) 4 K( xb ) 1 u 4 τ b = s + O x + t 6 x 4 ( b ) Find a linear combination of the two solutions, u a and u b u c = a u a + b u b where a + b =1 and a and b are chosen so that the leading terms in τ a and τ b cancel and the scheme becomes 4thorder accurate (Of course this assumes that u x is the same in both case, which is reasonably assumption only 4 4 at relatively high resolutions when the solution is well resolved) If x b = x a /, then 4a + b = 0 with a + b = 1 a = -1/3, b = 4/3 and u c = -1/3 u a + 4/3 u b 1

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few:

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few: .. Methods for Obtaining FD Expressions There are several methods, and we will look at a few: ) Taylor series expansion the most common, but purely mathematical. ) Polynomial fitting or interpolation the

More information

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation Chapter 3. Finite Difference Methods for Hyperbolic Equations 3.1. Introduction Most hyperbolic problems involve the transport of fluid properties. In the equations of motion, the term describing the transport

More information

PDEs, part 3: Hyperbolic PDEs

PDEs, part 3: Hyperbolic PDEs PDEs, part 3: Hyperbolic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2011 Hyperbolic equations (Sections 6.4 and 6.5 of Strang). Consider the model problem (the

More information

Finite Differences: Consistency, Stability and Convergence

Finite Differences: Consistency, Stability and Convergence Finite Differences: Consistency, Stability and Convergence Varun Shankar March, 06 Introduction Now that we have tackled our first space-time PDE, we will take a quick detour from presenting new FD methods,

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 13

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 13 REVIEW Lecture 12: Spring 2015 Lecture 13 Grid-Refinement and Error estimation Estimation of the order of convergence and of the discretization error Richardson s extrapolation and Iterative improvements

More information

3.3. Phase and Amplitude Errors of 1-D Advection Equation

3.3. Phase and Amplitude Errors of 1-D Advection Equation 3.3. Phase and Amplitude Errors of 1-D Advection Equation Reading: Duran section 2.4.2. Tannehill et al section 4.1.2. The following example F.D. solutions of a 1D advection equation show errors in both

More information

Numerical Methods for PDEs

Numerical Methods for PDEs Numerical Methods for PDEs Problems 1. Numerical Differentiation. Find the best approximation to the second drivative d 2 f(x)/dx 2 at x = x you can of a function f(x) using (a) the Taylor series approach

More information

Notation Nodes are data points at which functional values are available or at which you wish to compute functional values At the nodes fx i

Notation Nodes are data points at which functional values are available or at which you wish to compute functional values At the nodes fx i LECTURE 6 NUMERICAL DIFFERENTIATION To find discrete approximations to differentiation (since computers can only deal with functional values at discrete points) Uses of numerical differentiation To represent

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Basics of Discretization Methods

Basics of Discretization Methods Basics of Discretization Methods In the finite difference approach, the continuous problem domain is discretized, so that the dependent variables are considered to exist only at discrete points. Derivatives

More information

Basic Aspects of Discretization

Basic Aspects of Discretization Basic Aspects of Discretization Solution Methods Singularity Methods Panel method and VLM Simple, very powerful, can be used on PC Nonlinear flow effects were excluded Direct numerical Methods (Field Methods)

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

FDM for parabolic equations

FDM for parabolic equations FDM for parabolic equations Consider the heat equation where Well-posed problem Existence & Uniqueness Mass & Energy decreasing FDM for parabolic equations CNFD Crank-Nicolson + 2 nd order finite difference

More information

The Finite Difference Method

The Finite Difference Method Chapter 5. The Finite Difference Method This chapter derives the finite difference equations that are used in the conduction analyses in the next chapter and the techniques that are used to overcome computational

More information

Lecture 4.5 Schemes for Parabolic Type Equations

Lecture 4.5 Schemes for Parabolic Type Equations Lecture 4.5 Schemes for Parabolic Type Equations 1 Difference Schemes for Parabolic Equations One-dimensional problems: Consider the unsteady diffusion problem (parabolic in nature) in a thin wire governed

More information

Numerical Methods for Engineers and Scientists

Numerical Methods for Engineers and Scientists Numerical Methods for Engineers and Scientists Second Edition Revised and Expanded Joe D. Hoffman Department of Mechanical Engineering Purdue University West Lafayette, Indiana m MARCEL D E К К E R MARCEL

More information

Partial differential equations

Partial differential equations Partial differential equations Many problems in science involve the evolution of quantities not only in time but also in space (this is the most common situation)! We will call partial differential equation

More information

EE 435. Lecture 30. Data Converters. Spectral Performance

EE 435. Lecture 30. Data Converters. Spectral Performance EE 435 Lecture 30 Data Converters Spectral Performance . Review from last lecture. INL Often Not a Good Measure of Linearity Four identical INL with dramatically different linearity X OUT X OUT X REF X

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University A Model Problem and Its Difference Approximations 1-D Initial Boundary Value

More information

Module 3: BASICS OF CFD. Part A: Finite Difference Methods

Module 3: BASICS OF CFD. Part A: Finite Difference Methods Module 3: BASICS OF CFD Part A: Finite Difference Methods THE CFD APPROACH Assembling the governing equations Identifying flow domain and boundary conditions Geometrical discretization of flow domain Discretization

More information

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis ATH 337, by T. Lakoba, University of Vermont 113 12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis 12.1 Formulation of the IBVP and the minimax property of its

More information

Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence

Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence Dr. Noemi Friedman,

More information

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II Advection / Hyperbolic PDEs Notes In addition to the slides and code examples, my notes on PDEs with the finite-volume method are up online: https://github.com/open-astrophysics-bookshelf/numerical_exercises

More information

Finite difference methods for the diffusion equation

Finite difference methods for the diffusion equation Finite difference methods for the diffusion equation D150, Tillämpade numeriska metoder II Olof Runborg May 0, 003 These notes summarize a part of the material in Chapter 13 of Iserles. They are based

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

Math and Numerical Methods Review

Math and Numerical Methods Review Math and Numerical Methods Review Michael Caracotsios, Ph.D. Clinical Associate Professor Chemical Engineering Department University of Illinois at Chicago Introduction In the study of chemical engineering

More information

PDE Methods for Mean Field Games with Non-Separable Hamiltonian: Data in Sobolev Spaces (Continued) David Ambrose June 29, 2018

PDE Methods for Mean Field Games with Non-Separable Hamiltonian: Data in Sobolev Spaces (Continued) David Ambrose June 29, 2018 PDE Methods for Mean Field Games with Non-Separable Hamiltonian: Data in Sobolev Spaces Continued David Ambrose June 29, 218 Steps of the energy method Introduce an approximate problem. Prove existence

More information

Chapter 4. Nonlinear Hyperbolic Problems

Chapter 4. Nonlinear Hyperbolic Problems Chapter 4. Nonlinear Hyperbolic Problems 4.1. Introduction Reading: Durran sections 3.5-3.6. Mesinger and Arakawa (1976) Chapter 3 sections 6-7. Supplementary reading: Tannehill et al sections 4.4 and

More information

arxiv: v1 [math.na] 21 Nov 2017

arxiv: v1 [math.na] 21 Nov 2017 High Order Finite Difference Schemes for the Heat Equation Whose Convergence Rates are Higher Than Their Truncation Errors, A. Ditkowski arxiv:7.0796v [math.na] Nov 07 Abstract Typically when a semi-discrete

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation

More information

arxiv: v1 [physics.comp-ph] 22 Feb 2013

arxiv: v1 [physics.comp-ph] 22 Feb 2013 Numerical Methods and Causality in Physics Muhammad Adeel Ajaib 1 University of Delaware, Newark, DE 19716, USA arxiv:1302.5601v1 [physics.comp-ph] 22 Feb 2013 Abstract We discuss physical implications

More information

Lecture 5: Single Step Methods

Lecture 5: Single Step Methods Lecture 5: Single Step Methods J.K. Ryan@tudelft.nl WI3097TU Delft Institute of Applied Mathematics Delft University of Technology 1 October 2012 () Single Step Methods 1 October 2012 1 / 44 Outline 1

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Introduction to Hyperbolic Equations The Hyperbolic Equations n-d 1st Order Linear

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Numerical Methods for Partial Differential Equations Finite Difference Methods

More information

Finite Difference Methods for Boundary Value Problems

Finite Difference Methods for Boundary Value Problems Finite Difference Methods for Boundary Value Problems October 2, 2013 () Finite Differences October 2, 2013 1 / 52 Goals Learn steps to approximate BVPs using the Finite Difference Method Start with two-point

More information

Numerical Analysis Preliminary Exam 10.00am 1.00pm, January 19, 2018

Numerical Analysis Preliminary Exam 10.00am 1.00pm, January 19, 2018 Numerical Analysis Preliminary Exam 0.00am.00pm, January 9, 208 Instructions. You have three hours to complete this exam. Submit solutions to four (and no more) of the following six problems. Please start

More information

Physics 411: Homework 3

Physics 411: Homework 3 Physics 411: Homework 3 Because of the cancellation of class on January 28, this homework is a double-length homework covering two week s material, and you have two weeks to do it. It is due in class onthursday,

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

Math 425 Fall All About Zero

Math 425 Fall All About Zero Math 425 Fall 2005 All About Zero These notes supplement the discussion of zeros of analytic functions presented in 2.4 of our text, pp. 127 128. Throughout: Unless stated otherwise, f is a function analytic

More information

MIT (Spring 2014)

MIT (Spring 2014) 18.311 MIT (Spring 014) Rodolfo R. Rosales May 6, 014. Problem Set # 08. Due: Last day of lectures. IMPORTANT: Turn in the regular and the special problems stapled in two SEPARATE packages. Print your

More information

Trefftz type method for 2D problems of electromagnetic scattering from inhomogeneous bodies.

Trefftz type method for 2D problems of electromagnetic scattering from inhomogeneous bodies. Trefftz type method for 2D problems of electromagnetic scattering from inhomogeneous bodies. S. Yu. Reutsiy Magnetohydrodynamic Laboratory, P. O. Box 136, Mosovsi av.,199, 61037, Kharov, Uraine. e mail:

More information

McGill University Department of Mathematics and Statistics. Ph.D. preliminary examination, PART A. PURE AND APPLIED MATHEMATICS Paper BETA

McGill University Department of Mathematics and Statistics. Ph.D. preliminary examination, PART A. PURE AND APPLIED MATHEMATICS Paper BETA McGill University Department of Mathematics and Statistics Ph.D. preliminary examination, PART A PURE AND APPLIED MATHEMATICS Paper BETA 17 August, 2018 1:00 p.m. - 5:00 p.m. INSTRUCTIONS: (i) This paper

More information

3.4. Monotonicity of Advection Schemes

3.4. Monotonicity of Advection Schemes 3.4. Monotonicity of Advection Schemes 3.4.1. Concept of Monotonicity When numerical schemes are used to advect a monotonic function, e.g., a monotonically decreasing function of x, the numerical solutions

More information

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places. NUMERICAL METHODS 1. Rearranging the equation x 3 =.5 gives the iterative formula x n+1 = g(x n ), where g(x) = (2x 2 ) 1. (a) Starting with x = 1, compute the x n up to n = 6, and describe what is happening.

More information

Numerical methods Revised March 2001

Numerical methods Revised March 2001 Revised March 00 By R. W. Riddaway (revised by M. Hortal) Table of contents. Some introductory ideas. Introduction. Classification of PDE's.3 Existence and uniqueness.4 Discretization.5 Convergence, consistency

More information

Introduction to Finite Di erence Methods

Introduction to Finite Di erence Methods Introduction to Finite Di erence Methods ME 448/548 Notes Gerald Recktenwald Portland State University Department of Mechanical Engineering gerry@pdx.edu ME 448/548: Introduction to Finite Di erence Approximation

More information

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations Numerical Analysis of Differential Equations 215 6 Numerical Solution of Parabolic Equations 6 Numerical Solution of Parabolic Equations TU Bergakademie Freiberg, SS 2012 Numerical Analysis of Differential

More information

Finite Difference Methods for

Finite Difference Methods for CE 601: Numerical Methods Lecture 33 Finite Difference Methods for PDEs Course Coordinator: Course Coordinator: Dr. Suresh A. Kartha, Associate Professor, Department of Civil Engineering, IIT Guwahati.

More information

8.5 Taylor Polynomials and Taylor Series

8.5 Taylor Polynomials and Taylor Series 8.5. TAYLOR POLYNOMIALS AND TAYLOR SERIES 50 8.5 Taylor Polynomials and Taylor Series Motivating Questions In this section, we strive to understand the ideas generated by the following important questions:

More information

Introduction to the Numerical Solution of IVP for ODE

Introduction to the Numerical Solution of IVP for ODE Introduction to the Numerical Solution of IVP for ODE 45 Introduction to the Numerical Solution of IVP for ODE Consider the IVP: DE x = f(t, x), IC x(a) = x a. For simplicity, we will assume here that

More information

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability.

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. REVIEW: We start with the differential equation dy(t) dt = f (t, y(t)) (1.1) y(0) = y 0 This equation can be

More information

The Fourier spectral method (Amath Bretherton)

The Fourier spectral method (Amath Bretherton) The Fourier spectral method (Amath 585 - Bretherton) 1 Introduction The Fourier spectral method (or more precisely, pseudospectral method) is a very accurate way to solve BVPs with smooth solutions on

More information

1D Heat equation and a finite-difference solver

1D Heat equation and a finite-difference solver 1D Heat equation and a finite-difference solver Guillaume Riflet MARETEC IST 1 The advection-diffusion equation The original concept applied to a property within a control volume from which is derived

More information

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS JASON ALBRIGHT, YEKATERINA EPSHTEYN, AND QING XIA Abstract. Highly-accurate numerical methods that can efficiently

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS NUMERICAL FLUID MECHANICS FALL 2011

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS NUMERICAL FLUID MECHANICS FALL 2011 MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS 02139 2.29 NUMERICAL FLUID MECHANICS FALL 2011 QUIZ 2 The goals of this quiz 2 are to: (i) ask some general

More information

Lecture 2 Supplementary Notes: Derivation of the Phase Equation

Lecture 2 Supplementary Notes: Derivation of the Phase Equation Lecture 2 Supplementary Notes: Derivation of the Phase Equation Michael Cross, 25 Derivation from Amplitude Equation Near threshold the phase reduces to the phase of the complex amplitude, and the phase

More information

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS JASON ALBRIGHT, YEKATERINA EPSHTEYN, AND QING XIA Abstract. Highly-accurate numerical methods that can efficiently

More information

Introduction to Nonlinear Optimization Paul J. Atzberger

Introduction to Nonlinear Optimization Paul J. Atzberger Introduction to Nonlinear Optimization Paul J. Atzberger Comments should be sent to: atzberg@math.ucsb.edu Introduction We shall discuss in these notes a brief introduction to nonlinear optimization concepts,

More information

Chapter 5. Methods for Solving Elliptic Equations

Chapter 5. Methods for Solving Elliptic Equations Chapter 5. Methods for Solving Elliptic Equations References: Tannehill et al Section 4.3. Fulton et al (1986 MWR). Recommended reading: Chapter 7, Numerical Methods for Engineering Application. J. H.

More information

Selected HW Solutions

Selected HW Solutions Selected HW Solutions HW1 1 & See web page notes Derivative Approximations. For example: df f i+1 f i 1 = dx h i 1 f i + hf i + h h f i + h3 6 f i + f i + h 6 f i + 3 a realmax 17 1.7014 10 38 b realmin

More information

EE 435. Lecture 28. Data Converters Linearity INL/DNL Spectral Performance

EE 435. Lecture 28. Data Converters Linearity INL/DNL Spectral Performance EE 435 Lecture 8 Data Converters Linearity INL/DNL Spectral Performance Performance Characterization of Data Converters Static characteristics Resolution Least Significant Bit (LSB) Offset and Gain Errors

More information

8. Introduction to Computational Fluid Dynamics

8. Introduction to Computational Fluid Dynamics 8. Introduction to Computational Fluid Dynamics We have been using the idea of distributions of singularities on surfaces to study the aerodynamics of airfoils and wings. This approach was very powerful,

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Professor Dr. E F Toro Laboratory of Applied Mathematics University of Trento, Italy eleuterio.toro@unitn.it http://www.ing.unitn.it/toro September 19, 2014 1 / 55 Motivation

More information

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE] Chapter 6 Finite Volume Methods In the previous chapter we have discussed finite difference methods for the discretization of PDEs. In developing finite difference methods we started from the differential

More information

Time stepping methods

Time stepping methods Time stepping methods ATHENS course: Introduction into Finite Elements Delft Institute of Applied Mathematics, TU Delft Matthias Möller (m.moller@tudelft.nl) 19 November 2014 M. Möller (DIAM@TUDelft) Time

More information

ENO and WENO schemes. Further topics and time Integration

ENO and WENO schemes. Further topics and time Integration ENO and WENO schemes. Further topics and time Integration Tefa Kaisara CASA Seminar 29 November, 2006 Outline 1 Short review ENO/WENO 2 Further topics Subcell resolution Other building blocks 3 Time Integration

More information

Advanced Partial Differential Equations with Applications

Advanced Partial Differential Equations with Applications MIT OpenCourseWare http://ocw.mit.edu 8.36 Advanced Partial Differential Equations with Applications Fall 9 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim. 56 Summary High order FD Finite-order finite differences: Points per Wavelength: Number of passes: D n f(x j ) = f j+n f j n n x df xj = m α m dx n D n f j j n= α m n = ( ) n (m!) (m n)!(m + n)!. PPW =

More information

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE BENGT FORNBERG and DAVID MERRILL Abstract. For modeling convective flows over a sphere or within a spherical

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Introduction Deng Li Discretization Methods Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006 What do You Stand For? A PDE is a Partial Differential Equation This

More information

Physics 6303 Lecture 11 September 24, LAST TIME: Cylindrical coordinates, spherical coordinates, and Legendre s equation

Physics 6303 Lecture 11 September 24, LAST TIME: Cylindrical coordinates, spherical coordinates, and Legendre s equation Physics 6303 Lecture September 24, 208 LAST TIME: Cylindrical coordinates, spherical coordinates, and Legendre s equation, l l l l l l. Consider problems that are no axisymmetric; i.e., the potential depends

More information

Final: Solutions Math 118A, Fall 2013

Final: Solutions Math 118A, Fall 2013 Final: Solutions Math 118A, Fall 2013 1. [20 pts] For each of the following PDEs for u(x, y), give their order and say if they are nonlinear or linear. If they are linear, say if they are homogeneous or

More information

CHAPTER 4. Introduction to the. Heat Conduction Model

CHAPTER 4. Introduction to the. Heat Conduction Model A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 4 A COLLECTION OF HANDOUTS ON PARTIAL DIFFERENTIAL EQUATIONS

More information

Time-dependent variational forms

Time-dependent variational forms Time-dependent variational forms Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Oct 30, 2015 PRELIMINARY VERSION

More information

Eddy-diffusivity fields in turbulent transport: explicit expressions

Eddy-diffusivity fields in turbulent transport: explicit expressions DICCA University of Genova Italy Eddy-diffusivity fields in turbulent transport: explicit expressions Andrea Mazzino andrea.mazzino@unige.it Lagrangian transport: from complex flows to complex fluids Lecce

More information

Changing coordinates to adapt to a map of constant rank

Changing coordinates to adapt to a map of constant rank Introduction to Submanifolds Most manifolds of interest appear as submanifolds of others e.g. of R n. For instance S 2 is a submanifold of R 3. It can be obtained in two ways: 1 as the image of a map into

More information

Introduction of Partial Differential Equations and Boundary Value Problems

Introduction of Partial Differential Equations and Boundary Value Problems Introduction of Partial Differential Equations and Boundary Value Problems 2009 Outline Definition Classification Where PDEs come from? Well-posed problem, solutions Initial Conditions and Boundary Conditions

More information

Josh Engwer (TTU) Improper Integrals 10 March / 21

Josh Engwer (TTU) Improper Integrals 10 March / 21 Improper Integrals Calculus II Josh Engwer TTU 10 March 2014 Josh Engwer (TTU) Improper Integrals 10 March 2014 1 / 21 Limits of Functions (Toolkit) TASK: Evaluate limit (if it exists): lim f (x) x x0

More information

1D Wave PDE. Introduction to Partial Differential Equations part of EM, Scalar and Vector Fields module (PHY2064) Richard Sear.

1D Wave PDE. Introduction to Partial Differential Equations part of EM, Scalar and Vector Fields module (PHY2064) Richard Sear. Introduction to Partial Differential Equations part of EM, Scalar and Vector Fields module (PHY2064) November 12, 2018 Wave equation in one dimension This lecture Wave PDE in 1D Method of Separation of

More information

Non-linear Scalar Equations

Non-linear Scalar Equations Non-linear Scalar Equations Professor Dr. E F Toro Laboratory of Applied Mathematics University of Trento, Italy eleuterio.toro@unitn.it http://www.ing.unitn.it/toro August 24, 2014 1 / 44 Overview Here

More information

Stochastic Spectral Approaches to Bayesian Inference

Stochastic Spectral Approaches to Bayesian Inference Stochastic Spectral Approaches to Bayesian Inference Prof. Nathan L. Gibson Department of Mathematics Applied Mathematics and Computation Seminar March 4, 2011 Prof. Gibson (OSU) Spectral Approaches to

More information

Math 4263 Homework Set 1

Math 4263 Homework Set 1 Homework Set 1 1. Solve the following PDE/BVP 2. Solve the following PDE/BVP 2u t + 3u x = 0 u (x, 0) = sin (x) u x + e x u y = 0 u (0, y) = y 2 3. (a) Find the curves γ : t (x (t), y (t)) such that that

More information

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I Physics 342 Lecture 23 Radial Separation Lecture 23 Physics 342 Quantum Mechanics I Friday, March 26th, 2010 We begin our spherical solutions with the simplest possible case zero potential. Aside from

More information

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q ! Revised Tuesday, December 8, 015! 1 Chapter 7: Diffusion Copyright 015, David A. Randall 7.1! Introduction Diffusion is a macroscopic statistical description of microscopic advection. Here microscopic

More information

Marching on the BL equations

Marching on the BL equations Marching on the BL equations Harvey S. H. Lam February 10, 2004 Abstract The assumption is that you are competent in Matlab or Mathematica. White s 4-7 starting on page 275 shows us that all generic boundary

More information

Answers to Problem Set Number MIT (Fall 2005).

Answers to Problem Set Number MIT (Fall 2005). Answers to Problem Set Number 6. 18.305 MIT (Fall 2005). D. Margetis and R. Rosales (MIT, Math. Dept., Cambridge, MA 02139). December 12, 2005. Course TA: Nikos Savva, MIT, Dept. of Mathematics, Cambridge,

More information

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments James V. Lambers September 24, 2008 Abstract This paper presents a reformulation

More information

Splitting methods with boundary corrections

Splitting methods with boundary corrections Splitting methods with boundary corrections Alexander Ostermann University of Innsbruck, Austria Joint work with Lukas Einkemmer Verona, April/May 2017 Strang s paper, SIAM J. Numer. Anal., 1968 S (5)

More information

7 Hyperbolic Differential Equations

7 Hyperbolic Differential Equations Numerical Analysis of Differential Equations 243 7 Hyperbolic Differential Equations While parabolic equations model diffusion processes, hyperbolic equations model wave propagation and transport phenomena.

More information

Instructor Quick Check: Question Block 12

Instructor Quick Check: Question Block 12 Instructor Quick Check: Question Block 2 How to Administer the Quick Check: The Quick Check consists of two parts: an Instructor portion which includes solutions and a Student portion with problems for

More information

Partial differential equations (ACM30220)

Partial differential equations (ACM30220) (ACM3. A pot on a stove has a handle of length that can be modelled as a rod with diffusion constant D. The equation for the temperature in the rod is u t Du xx < x

More information

EE 435. Lecture 29. Data Converters. Linearity Measures Spectral Performance

EE 435. Lecture 29. Data Converters. Linearity Measures Spectral Performance EE 435 Lecture 9 Data Converters Linearity Measures Spectral Performance Linearity Measurements (testing) Consider ADC V IN (t) DUT X IOUT V REF Linearity testing often based upon code density testing

More information

difference operators.

difference operators. 2D1263 : Scientific Computing Lecture 8 (2) 2D1263 : Scientific Computing Lecture 8 (1) Difference operators Let xi m i=0 be equidistant points in [a, b], x i = a + (b a)i/m, and define the forward difference

More information

8.1 Sequences. Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = 1.

8.1 Sequences. Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = 1. 8. Sequences Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = Examples: 6. Find a formula for the general term a n of the sequence, assuming

More information

LES of Turbulent Flows: Lecture 3

LES of Turbulent Flows: Lecture 3 LES of Turbulent Flows: Lecture 3 Dr. Jeremy A. Gibbs Department of Mechanical Engineering University of Utah Fall 2016 1 / 53 Overview 1 Website for those auditing 2 Turbulence Scales 3 Fourier transforms

More information

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum Updated 2013 (Mathematica Version) M1.1 Introduction. Lab M1: The Simple Pendulum The simple pendulum is a favorite introductory exercise because Galileo's experiments on pendulums in the early 1600s are

More information

Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation with Inconsistent Initial and Boundary Conditions

Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation with Inconsistent Initial and Boundary Conditions International Mathematics and Mathematical Sciences Volume 212, Article ID 82197, 13 pages doi:1.1155/212/82197 Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation

More information

Intro to Research Computing with Python: Partial Differential Equations

Intro to Research Computing with Python: Partial Differential Equations Intro to Research Computing with Python: Partial Differential Equations Erik Spence SciNet HPC Consortium 28 November 2013 Erik Spence (SciNet HPC Consortium) PDEs 28 November 2013 1 / 23 Today s class

More information

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II Elliptic Problems / Multigrid Summary of Hyperbolic PDEs We looked at a simple linear and a nonlinear scalar hyperbolic PDE There is a speed associated with the change of the solution Explicit methods

More information

On quasiperiodic boundary condition problem

On quasiperiodic boundary condition problem JOURNAL OF MATHEMATICAL PHYSICS 46, 03503 (005) On quasiperiodic boundary condition problem Y. Charles Li a) Department of Mathematics, University of Missouri, Columbia, Missouri 65 (Received 8 April 004;

More information