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

Slides:



Advertisements
Similar presentations
5.1 Real Vector Spaces.
Advertisements

Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
1 LECTURE 2: DIVERGENCE THEOREM, PRESSURE, ARCHIMEDES PRINCIPLE Outward normal vector: consider an arbitrarily shaped simply- connected volume. I have.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
Introduction to Finite Elements
Quantum One: Lecture 16.
By S Ziaei-Rad Mechanical Engineering Department, IUT.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Chapter 3 Steady-State Conduction Multiple Dimensions
1cs542g-term Notes  Preemptive make-up lecture this week  Assignment 2 due by tomorrow morning  Assignment 3 coming soon.
BVP Weak Formulation Weak Formulation ( variational formulation) where Multiply equation (1) by and then integrate over the domain Green’s theorem gives.
ECIV 720 A Advanced Structural Mechanics and Analysis
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
CE An Intro Problem—will lead to first homework Fluid is contained in along square duct, see cross section below, three faces of the duct are kept.
Introduction to Numerical Methods I
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 32.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 6 Various Finite Difference Discretizations for the Advection Equations.
Finite Element: Theory, Applications & Implementation Presented By: Arthur Anconetani Barbara Gault Ryan Whitney.
Geometric Intuition Randy Gaul. Vectors, Points and Basis Matrices Rotation Matrices Dot product and how it’s useful Cross product and how it’s useful.
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
Linear Algebra Chapter 4 Vector Spaces.
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
MA/CS471 Lecture 8 Fall 2003 Prof. Tim Warburton
Sections 1.8/1.9: Linear Transformations
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
Partial Differential Equations Finite Difference Approximation.
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.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 31.
1 20-Oct-15 Last course Lecture plan and policies What is FEM? Brief history of the FEM Example of applications Discretization Example of FEM softwares.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 31.
Precise definition of limits The phrases “x is close to a” and “f(x) gets closer and closer to L” are vague. since f(x) can be arbitrarily close to 5 as.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 5 Summary of convergence checks for LMM and one-step time stepping Instructor:
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
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.
Chapter 5 Eigenvalues and Eigenvectors 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Chapter 5-The Integral Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Chapter 24 Sturm-Liouville problem Speaker: Lung-Sheng Chien Reference: [1] Veerle Ledoux, Study of Special Algorithms for solving Sturm-Liouville and.
Jump to first page Chapter 3 Splines Definition (3.1) : Given a function f defined on [a, b] and a set of numbers, a = x 0 < x 1 < x 2 < ……. < x n = b,
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 23.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
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.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Finite Element Method. History Application Consider the two point boundary value problem.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 32.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Numerical Methods for Partial Differential Equations
ISOPARAMETRIC ELEMENT
Nodal Methods for Core Neutron Diffusion Calculations
Lecture 19 MA471 Fall 2003.
Quantum One.
Three-Dimensional Object Representation
Quantum Two.
Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 – 14, Tuesday 8th November 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR)
العلاقات والدوال أ. ريما عباس ريض 152.
Presentation transcript:

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

2 Recap So far we have derived the advection-(diffusion) equation in a one- dimensional domain. We created a numerical scheme based on piecewise polynomial approximations. Boundary conditions between sub-intervals are imposed by the use of fluxes. We proved stability and consistency for these schemes. But…. we do not live in a one-dimensional world So – on the march to our three-dimensional world we are going to investigate PDE’s with two spatial-dimensions.

3 Two-Dimensional Polynomial Space For the following we will use a two-dimensional space which is spanned by the polynomials of total order not greater than p: Later we will choose an orthonormal basis to discretize this space.

4 Two-Dimensional Advection Recall in one-dimensions we chose an arbitrary section of a pipe. We monitored the flux of fluid into and out of the ends of the pipe. The conservation equation in 1D we derived was: Now we start with a 2D domain and consider any simply connected sub-region:

5 Our Domain

6 Our Sub-region

7 Outward Normal n n

8 Conservation Suppose the fluid has a mean velocity everywhere. This time is a two-vector. The flux of fluid through the boundary is the integral of the concentration C being advected normal to the surface of w: n=outward pointing normal

9 Conservation Law Now we know how much of the concentrate is being advected through the boundary of our sub-region. The conservation law is now: We apply the divergence theorem (beware this relies on smoothness arguments):

10 In Component Form Assuming ubar is constant this becomes:

11 Finalize For all sub-regions: Assuming enough continuity we obtain:

12 Straight To DG The pde is: We substitute the DG scheme (using Lax-Friedrichs fluxes):

13 +/- Notation For the purpose of the numerical scheme notation: –The + notation implies the limit of C from outside the sub-region –The - notation implies the limit of C from inside the sub-region C-C- C+C+

14 Sample Domain Partition 1- Suppose we have a domain: Which we partition into 5 triangles: We note the unique edges, and arbitrarily label their edge limits with +/

15 Stability

16 Suppose We Partition

17 Continuing Where we have gathered like terms (note we ignored the boundary terms)

18 Finally -- Stability Where we have gathered like terms (note we dropped the boundary terms)

19 Now The Details Recall in 1D we were restricted to breaking the interval [a,b] into segments. In 2D there are many more choices. Two obvious shapes for sub-regions are the triangle and quadrilateral. There is plenty of software available for mesh generation using triangles. Building quadrilateral meshes is slightly tougher for a complex domain.

20 Mesh Generation For simplicity we will use the Triangle mesh generator. This has been built into WinUSEMe – review the previous notes. For now assume that the task of creating a mesh has been done – and – the mesh is held in a file. Note that for the DG we do not need to much information about how the element are connected – it is mostly sufficient to know which edge connects to which edge. We also need to know which faces lie on a domain boundary.

21 Reference Triangle The following will be our basic triangles: All straight sided triangles are the image of this triangle under the map: s r (-1,-1) (1,-1) (-1,1)

22 Reference Triangle The following will be our basic triangles: All straight sided triangles are the image of this triangle under the map: s r (-1,-1) (1,-1) (-1,1)

23 Orthonormal Basis for the Triangle Fortunately an orthonormal basis for the triangle has been discovered (and rediscovered multiple times). First we need to know some details about the Jacobi polynomials. These polynomials are parameterized by two reals: and their integer orders n,m such that they satisfy the orthogonality relationship (for integer alpha,beta): Basic identity:

24 Rodrigues’ Formula The Jacobi polynomials can be generated in a similar way to the Legendre polynomials: Note the Legendre polynomials are a special case of the Jacobi polynomials:

25 Recurrence Relation See:

26 Orthonormal Basis for the Triangle The following basis is due to Koornwinder (later revived by Proriol, Dubiner, Owens,….) Part of HW7 is to show that this is an orthogonal basis in the sense that:

27 Homework 7 Q1) Prove that the Koornwinder-Proriol-Dubiner-Owens… basis is orthogonal on the triangle: T={-1<=r,s;r+s<=0}: (HINT: under the mapping (r,s)->(a,b) the image of the triangle T is the square Q={-1<=a,b<=1} and the Jacobian is (1-b)/2 ) Q2) Determine an orthonormal basis for the triangle by normalizing the basis functions of the KPDO.. basis Q3) Construct a p’th order Vandermonde for the equally spaced points on the triangle (take half of the square of (p+1)x(p+1) points) using the orthonormal KPDO basis. In Matlab calculate the condition number of this Vandermonde basis as a function of p.

28 HW7 cont Q3cont) Use the lower left triangle of points:

29 HW7 cont Q3cont) The Vandermonde matrix V will be have (p+1)(p+2)/2 rows and columns. Q4) Extra credit: repeat 3 using half of the tensor product of the one-dimensional Chebychev nodes. For Q3 and (Q4) plot the polynomial order on the horizontal axis and cond(V) on the vertical axis

30 HW7 cont Q4cont) Use the lower left triangle of points:

31 Next Class We will create the derivative and surface matrices used in the DG scheme. We will transform the modal scheme into a nodal scheme. We will use a better set of nodes (improve the condition number of the Vandermonde matrix). Time permitting we will prove consistency. For more info on Jacobi polynomials: