1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25.

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Elliptic Equations: 1D Problem Lectures 2 and 3.
Advertisements

MANE 4240 & CIVL 4240 Introduction to Finite Elements
Interpolation A standard idea in interpolation now is to find a polynomial pn(x) of degree n (or less) that assumes the given values; thus (1) We call.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Isoparametric Elements Element Stiffness Matrices
Norms and spaces Definition: The space of all square integrable funcions defined in the domain is a finite number not infinity L2 norm of f Examplecompute.
Asymptotic error expansion Example 1: Numerical differentiation –Truncation error via Taylor expansion.
1cs542g-term Notes  Preemptive make-up lecture this week  Assignment 2 due by tomorrow morning  Assignment 3 coming soon.
1cs542g-term Notes  Make-up lecture tomorrow 1-2, room 204.
ECIV 720 A Advanced Structural Mechanics and Analysis
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
A posteriori Error Estimate - Adaptive method Consider the boundary value problem Weak form Discrete Equation Error bounds ( priori error )
Approximation on Finite Elements Bruce A. Finlayson Rehnberg Professor of Chemical Engineering.
Introduction to Numerical Methods I
Notes, part 4 Arclength, sequences, and improper integrals.
Error estimates for degenerate parabolic equation Yabin Fan CASA Seminar,
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 2 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 6 Various Finite Difference Discretizations for the Advection Equations.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 8 Instructor: Tim Warburton.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
1 Lesson 9: Solution of Integral Equations & Integral Boltzmann Transport Eqn Neumann self-linked equations Neumann self-linked equations Attacking the.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 1 Equations, Inequalities, and Mathematical Models
1 MA557/MA578/CS557 Numerical Partial Differential Equations Spring 2002 Prof. Tim Warburton
Lecture 22 MA471 Fall Advection Equation Recall the 2D advection equation: We will use a Runge-Kutta time integrator and spectral representation.
Finite Element Method.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 3 AB2,AB3, Stability, Accuracy Instructor: Tim Warburton.
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 21.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 31.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 31.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
Alternating Series.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 8.
6. Introduction to Spectral method. Finite difference method – approximate a function locally using lower order interpolating polynomials. Spectral method.
1 MA/CS471 Lecture 7 Fall 2003 Prof. Tim Warburton
1 Markov Decision Processes Infinite Horizon Problems Alan Fern * * Based in part on slides by Craig Boutilier and Daniel Weld.
Programming assignment #2 Solving a parabolic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
1 MA557/MA578/CS557 Lecture 3 Spring 2003 Prof. Tim Warburton
Elliptic PDEs and the Finite Difference Method
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Parallel and Domain Decomposed Marching Method for Poisson Equation 大氣五 b 簡睦樺.
HEAT TRANSFER FINITE ELEMENT FORMULATION
EMLAB 1 3D Update Equations with Perfectly Matched Layers.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 23.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 12 Instructor: Tim Warburton.
Final Project Topics Numerical Methods for PDEs Spring 2007 Jim E. Jones.
1 HOW MANY ELEMENTS? How to choose element size? –Critically important in obtaining good results –Mesh refinement improves solution accuracy. –How small.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 17.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 13.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 19.
Finite Element Method. History Application Consider the two point boundary value problem.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 32.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Implementing Finite Volume Methods 1.  Continue on Finite Volume Methods for Elliptic Equations  Finite Volumes in Two-Dimensions  Poisson’s Equation.
Numerical Methods for Partial Differential Equations
EEE 431 Computational Methods in Electrodynamics
Applied Electricity and Magnetism
Boundary Element Analysis of Systems Using Interval Methods
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Lecture 19 MA471 Fall 2003.
Craig Schroeder October 26, 2004
Assignment 1: due 1/16/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Assignment 1: due 1/17/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Numerical Computation and Optimization
1st semester a.y. 2018/2019 – November 22, 2018
Generalized Finite Element Methods
Presentation transcript:

1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25

2 Resuming Proof of Convergence

3 2D Advection Equation Equation: Scheme (assuming s’th order time integration):

4 Summary of Needed Theorems: We will now use the

5 Convergence Theorem Assume that a solution exists in the domain Omega. Then the numerical solution Ctilde to the semidiscrete approximation from the DG scheme converges to the exact solution, and the global error is bounded as: Where c (lower case) is independent of h and p.

6 Proof Step 1: Recall the DG scheme: We define the Truncation error T C as

7 Proof Step 2:Three Important Equations We now consider three equations: 1)Numerical: 2)Truncation – projection of exact solution in numerical scheme: 3)Exact equation, with exact solution:

8 Proof Step 4: Truncation Error Subtract equation 3 from equation 2: Substitute phi=Tc and apply Cauchy-Schwarz:

9 Proof Step 4: cont Substituting phi=T c

10 Individual Volume Terms: Assume exact time discretization: Using the polynomial approximation theorem:

11 Surface Term We can add the jump in C due to continuity of C:

12 Jump Terms Break the jump terms with triangle inequality and use the trace theorem:

13 Plugging In These Results Using the previous results and the polynomial inverse trace inequality:

14 Simplifying We can now bound the truncation error: We now know the price we are paying at every time step for using a finite, discrete space. The estimates are constructed using the L2- projection and norm. The estimates can be improved using a more sophisticated norm and projection.

15 Now The Conclusion We now need to track how far the numerical solution compares to the L2 projection of the actual solution diverge in time. Then we find out how far the L2 projection of the actual solution can be from the actual solution at a given time.

16 Recall Equations 1 & 2 1)DG scheme 2)DG scheme acting on projection of solution and generated truncation term:

17 Difference of Equations 1 & 2 Subtracting (2) from (1):

18 Estimating Since both numerical solution Ctilde and the projection of the exact solution is in the p’th order space:

19 Simplify Taking the time derivative out of the inner-product:

20 Look at Total Gap We now sum over all elements to look for the total gap between the numerical and projected solution:

21 Use Stability We should now recognize that the sum of the first two terms on the right hand side is negative (here we can assume that the boundary contributions are zero as the numerical solution and projection of C should agree at the boundary):

22 Bounding We next use Cauchy-Schwarz:

23 Bringing It All Together: To obtain the red terms we plugged in estimate for the truncation error To obtain the blue term we plugged in the estimate for the projection of the initial condition

24 End Game We now know how far away the DG solution is from the L2 projection of the exact solution: So one last step we estimate the total error as:

25 Finally: So let’s recap where each term comes from:

26 Finally: So let’s recap where each term comes from: L2 norm of total error Initial projection error Accumulation of truncation error in time. Portion of solution outside polynomial space

27 Comment Ok – we now know that if the solution we are trying to compute has enough regularity then the error is going to be of order : sigma for small time t sigma-1 after longer time

28 Enough Theory I am going to provide you with a basic code which solves the advection equation with the DG scheme Keep in mind that we will soon be converting this code to work for other 2D PDEs (Maxwell’s, Acoustics..) Your job is to compute the interpolation nodes on the triangle using the code from umFEKETE and run the code on some test cases.

29 Homework 8 1) Grab copy of umSCALAR2d.zip from cd-rom 2) Unzip the file 3) Use the umFEKETE codes to create the nodes for p=1,…,10 and save into one file for each order. 4) Edit umSCALAR2d/umSCALARdemo.m to load the node locations into the umR and umS vectors for the given polynomial order. 5) Run the umSCALARdemo in Matlab 6) Plot p-convergence (choosing a final time when the pulse is still inside the domain) 7) Create your own sequence of refined meshes with the windows code for say a square domain. 8) For p=1,…,10 model the error as h^order and estimate the value of order.

30 Here’s the code you modify in umSCALARdemo.m

31 Nect lecture Time to finish the homework – but make sure you make a good stab at this before hand I will collect your efforts at the end of class!!!.