Laplace s Equation FEM Methods. Jacob White. Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy, Jaime Peraire and Tony Patera

Similar documents
Fast Methods for Integral Equations. Jacob White. Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Introduction to Simulation - Lecture 9. Multidimensional Newton Methods. Jacob White

Introduction to Simulation - Lecture 10. Modified Newton Methods. Jacob White

Introduction to Simulation - Lecture 2. Equation Formulation Methods. Jacob White. Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy

1. Let a(x) > 0, and assume that u and u h are the solutions of the Dirichlet problem:

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems

Methods for Computing Periodic Steady-State Jacob White

Scientific Computing I

1 Discretizing BVP with Finite Element Methods.

Resources. Introduction to the finite element method. History. Topics

Methods for Ordinary Differential Equations. Jacob White

Chapter 1: The Finite Element Method

Electrodynamics PHY712. Lecture 3 Electrostatic potentials and fields. Reference: Chap. 1 in J. D. Jackson s textbook.

Question 9: PDEs Given the function f(x, y), consider the problem: = f(x, y) 2 y2 for 0 < x < 1 and 0 < x < 1. x 2 u. u(x, 0) = u(x, 1) = 0 for 0 x 1

Numerical methods for PDEs FEM convergence, error estimates, piecewise polynomials

Finite Element Clifford Algebra: A New Toolkit for Evolution Problems

Algorithms for Scientific Computing

Stochastic Processes

An Introductory Course on Modelling of Multiphysics Problems

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1

Mathematics Qualifying Exam Study Material

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

ACM/CMS 107 Linear Analysis & Applications Fall 2017 Assignment 2: PDEs and Finite Element Methods Due: 7th November 2017

Past, present and space-time

A Brief Overview of Uncertainty Quantification and Error Estimation in Numerical Simulation

Lehrstuhl Informatik V. Lehrstuhl Informatik V. 1. solve weak form of PDE to reduce regularity properties. Lehrstuhl Informatik V

Numerical Solution of PDEs: Bounds for Functional Outputs and Certificates

PDEs, part 1: Introduction and elliptic PDEs

Numerical Methods for PDEs

WELL POSEDNESS OF PROBLEMS I

An Introduction to the Discontinuous Galerkin Method

A Sobolev trust-region method for numerical solution of the Ginz

A Fast, Parallel Potential Flow Solver

From Completing the Squares and Orthogonal Projection to Finite Element Methods

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

FEM Convergence for PDEs with Point Sources in 2-D and 3-D

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

Space time finite element methods in biomedical applications

Space time finite and boundary element methods

FEniCS Course. Lecture 8: A posteriori error estimates and adaptivity. Contributors André Massing Marie Rognes

Numerical methods for PDEs FEM convergence, error estimates, piecewise polynomials

A Domain Decomposition Method for Quasilinear Elliptic PDEs Using Mortar Finite Elements

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

Expansion of 1/r potential in Legendre polynomials

Xingye Yue. Soochow University, Suzhou, China.

FEniCS Course. Lecture 0: Introduction to FEM. Contributors Anders Logg, Kent-Andre Mardal

Approximation of Geometric Data

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

LECTURE 3: DISCRETE GRADIENT FLOWS

INTRODUCTION TO FINITE ELEMENT METHODS ON ELLIPTIC EQUATIONS LONG CHEN

Numerical Solution I

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

Iterative methods for positive definite linear systems with a complex shift

Poisson Equation in 2D

UNIVERSITY OF MANITOBA

Weighted Residual Methods

Bake, shake or break - and other applications for the FEM. 5: Do real-life experimentation using your FEM code

Preconditioned space-time boundary element methods for the heat equation

Introduction to PDEs and Numerical Methods Lecture 1: Introduction

Finite Element Methods

Parallel Discontinuous Galerkin Method

Lecture 18 Finite Element Methods (FEM): Functional Spaces and Splines. Songting Luo. Department of Mathematics Iowa State University

Space-time sparse discretization of linear parabolic equations

Lecture on: Numerical sparse linear algebra and interpolation spaces. June 3, 2014

A very short introduction to the Finite Element Method

Numerical Solution of BLT Equation for Inhomogeneous Transmission Line Networks

The Dirichlet s P rinciple. In this lecture we discuss an alternative formulation of the Dirichlet problem for the Laplace equation:

Course and Wavelets and Filter Banks

Finite Difference and Finite Element Methods

Applied/Numerical Analysis Qualifying Exam

A space-time Trefftz method for the second order wave equation

Solving PDEs with freefem++

Isogeometric Analysis:

A globally convergent numerical method and adaptivity for an inverse problem via Carleman estimates

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

Aspects of Multigrid

Space-time Finite Element Methods for Parabolic Evolution Problems

Discontinuous Galerkin methods Lecture 2

LECTURE-13 : GENERALIZED CAUCHY S THEOREM

Adaptive Finite Element Methods Lecture 1: A Posteriori Error Estimation

Scientific Computing

The Laplace Transform

Axioms of Adaptivity (AoA) in Lecture 3 (sufficient for optimal convergence rates)

Lecture 26: Putting it all together #5... Galerkin Finite Element Methods for ODE BVPs

A space-time Trefftz method for the second order wave equation

Numerik 2 Motivation

3 2 6 Solve the initial value problem u ( t) 3. a- If A has eigenvalues λ =, λ = 1 and corresponding eigenvectors 1

Electrostatics: Electrostatic Devices

Meshfree Approximation Methods with MATLAB

20D - Homework Assignment 4

Weighted Residual Methods

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Matrix square root and interpolation spaces

Towards a highly-parallel PDE-Solver using Adaptive Sparse Grids on Compute Clusters

A Balancing Algorithm for Mortar Methods

A Balancing Algorithm for Mortar Methods

Nonlinear stabilization via a linear observability

Chapter 1 Foundations of Elliptic Boundary Value Problems 1.1 Euler equations of variational problems

Transcription:

Introduction to Simulation - Lecture 19 Laplace s Equation FEM Methods Jacob White Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy, Jaime Peraire and Tony Patera

Outline for Poisson Equation Section Why Study Poisson s equation Heat Flow, Potential Flow, Electrostatics Raises many issues common to solving PDEs. Basic Numerical Techniques basis functions (FEM) and finite-differences Integral equation methods Fast Methods for 3-D Preconditioners for FEM and Finite-differences Fast multipole techniques for integral equations SMA-HPC 2003 MIT

Outline for Today Why Poisson Equation Reminder about heat conducting bar Finite-Difference And Basis function methods Key question of convergence Convergence of Finite-Element methods Key idea: solve Poisson by minimization Demonstrate optimality in a carefully chosen norm SMA-HPC 2003 MIT

Drag Force Analysis of Aircraft Potential Flow Equations Poisson Partial Differential Equations. SMA-HPC 2003 MIT

Engine Thermal Analysis Thermal Conduction Equations The Poisson Partial Differential Equation. SMA-HPC 2003 MIT

Capacitance on a microprocessor Signal Line Electrostatic Analysis The Laplace Partial Differential Equation. SMA-HPC 2003 MIT

HeatFlow 1-D Example Incoming Heat T ( 0) Near End Temperature Unit Length Rod T () 1 Far End Temperature T ( 0) Question: What is the temperature distribution along the bar T T x () 1

HeatFlow 1-D Example Discrete Representation 1) Cut the bar into short sections 2) Assign each cut a temperature T (0) T (1) T1 T2 TN 1 TN

HeatFlow 1-D Example Constitutive Relation T i Heat Flow through one section x Ti 1 Ti T i + 1 hi 1, i heat flow κ + + = = x h i + 1, i Limit as the sections become vanishingly small T( x) lim x 0 hx ( ) κ = x

HeatFlow control volume 1-D Example Two Adjacent Sections Incoming Heat ( h s ) Conservation Law Ti 1 hii, 1 Ti h i+ 1, i T i + 1 x Heat Flows into Control Volume Sums to zero h h = h x i+ 1, i i, i 1 s

HeatFlow h 1-D Example Conservation Law Heat Flows into Control Volume Sums to zero Incoming Heat ( h s ) h = h x i+ 1, i i, i 1 s Ti 1 hii, 1 Ti h i+ 1, i T i + 1 x Heat in from left Heat out from right Incoming heat per unit length Limit as the sections become vanishingly small lim h ( x) x 0 s hx ( ) T( x) = = κ x x x

HeatFlow 1-D Example CircuitAnalogy Temperature analogous to Voltage Heat Flow analogous to Current T1 1 R κ = x TN + - vs = T(0) is = h x s + - vs = T(1) SMA-HPC 2003 MIT

HeatFlow 1-D Example Normalized 1-D Equation Normalized Poisson Equation T( x) u( x) κ = h = s x x x 2 2 f ( x) u ( x) = f ( x) xx

Using Basis Functions Residual Equation Partial Differential Equation form 2 u = 2 x Basis Function Representation SMA-HPC 2003 MIT f u(0) = 0 u(1) = 0 u( x) u ( ) ( ) h x ωi i x { ϕ Plug Basis Function Representation into the Equation d ϕ ( x) R x f x ( ) n = i= 1 n 2 i = ωi + 2 i= 1 dx Basis Functions ( )

Using Basis Functions Example Basis functions Introduce basis representation u h ( x) is a weighted sum of basis functions The basis functions define a space n Xh= v Xh v= βϕ i i for some βi's i= 1 Hat basis functions ϕ 2 ϕ ϕ4 6 Example u( x) u ( ) ( ) h x ωi ϕi x { i= 1 Basis Functions Piecewise linear Space n = ϕ 1 ϕ3 ϕ5 SMA-HPC 2003 MIT

Using Basis functions Basis Weights Galerkin Scheme Force the residual to be orthogonal to the basis functions 1 ϕ ( ) ( ) l x R x dt = 0 Generates n equations in n unknowns 0 1 0 ϕ l ( ) d ( ) n 2 ϕi x ω ( ) i f x dx 2 i= 1 dx x + = 0 l { 1,..., n} SMA-HPC 2003 MIT

Using Basis Functions Basis Weights Galerkin with integration by parts Only first derivatives of basis functions ( x) n d ωϕ ( x) i i i= 1 dx ϕ ( x) f ( x) dx = i dx 1 dϕ 1 l dx 0 0 0 l { 1,..., n} SMA-HPC 2003 MIT

Convergence Analysis u The question is u h How does u u decrease with refinement? 123h SMA-HPC 2003 MIT error This time Finite-element methods Next time Finite-difference methods

Heat Equation Convergence Analysis Overview of FEM Partial Differential Equation form 2 u = 2 x Nearly Equivalent weak form SMA-HPC 2003 MIT f u(0) = 0 u(1) = 0 u v dx = f v dx for all v x x Ω Ω 14243 14243 auv (, ) lv ( ) Introduced an abstract notation for the equation u must satisfy auv (, ) = lv ( ) for all v

Heat Equation Introduce basis representation u h Convergence Analysis Overview of FEM ( x) is a weighted sum of basis functions The basis functions define a space n Xh= v Xh v= βϕ i i for some βi's i= 1 Hat basis functions ϕ 2 ϕ ϕ4 6 Example u( x) u ( ) ( ) h x ωi ϕi x { i= 1 Basis Functions Piecewise linear Space n = ϕ 1 ϕ3 ϕ5 SMA-HPC 2003 MIT

Heat Equation Convergence Analysis Overview of FEM Key Idea auu (, ) defines a norm auu (, ) u U is restricted to be 0 at 0 and1!! Using the norm properties, it is possible to show If au (, ϕ ) = l( ϕ ) h i i for all ϕ ϕ, ϕ,..., ϕ i { } 1 2 n Then u uh = min wh X u w h h 14243 14243 Solution Projection Error Error SMA-HPC 2003 MIT

Heat Equation Convergence Analysis Overview of FEM The question is only u u h How well can you fit u with a member of X h But you must measure the error in the norm For piecewise linear: SMA-HPC 2003 MIT 1 u uh = O 14243 n error

Summary Why Poisson Equation Reminder about heat conducting bar Finite-Difference And Basis function methods Key question of convergence Convergence of Finite-Element methods Key idea: solve Poisson by minimization Demonstrate optimality in a carefully chosen norm SMA-HPC 2003 MIT