Partial Differential Equations

Similar documents
Finite-Elements Method 2

Finite Difference Methods (FDMs) 2

ME Computational Fluid Mechanics Lecture 5

Numerical Methods for Engineers and Scientists

Applied Numerical Analysis

Partial Differential Equations

Preface. 2 Linear Equations and Eigenvalue Problem 22

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

Basic Aspects of Discretization

Additive Manufacturing Module 8

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Chapter 6. Finite Element Method. Literature: (tiny selection from an enormous number of publications)

Scientific Computing: An Introductory Survey

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

Numerical Methods for Engineers

1 Polynomial approximation of the gamma function

Basics of Discretization Methods

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

The Finite Difference Method

Classification of partial differential equations and their solution characteristics

Partial differential equations

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

NUMERICAL METHODS FOR ENGINEERING APPLICATION

SOLUTION OF EQUATION AND EIGENVALUE PROBLEMS PART A( 2 MARKS)

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

Introduction to Finite Element Method

Scientific Computing: An Introductory Survey

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36

where is the Laplace operator and is a scalar function.

Finite Difference Methods (FDMs) 1

ECE539 - Advanced Theory of Semiconductors and Semiconductor Devices. Numerical Methods and Simulation / Umberto Ravaioli

Time-dependent variational forms

Introduction to Computational Stochastic Differential Equations

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Fractional Spectral and Spectral Element Methods

Lecture 42 Determining Internal Node Values

Syllabus (Session )

Advanced. Engineering Mathematics

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Module - 01 Lecture - 16

Ordinary Differential Equations

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

METHODS OF ENGINEERING MATHEMATICS

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

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9

Review for Exam 2 Ben Wang and Mark Styczynski

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

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

Chapter 5. Formulation of FEM for Unsteady Problems

MA22S3 Summary Sheet: Ordinary Differential Equations

Least-Squares Finite Element Methods

Computer Aided Design of Thermal Systems (ME648)

Math 302 Outcome Statements Winter 2013

Contents. Chapter 1 Vector Spaces. Foreword... (vii) Message...(ix) Preface...(xi)

Exact and Approximate Numbers:

Numerical Solution of partial differential equations

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

10 The Finite Element Method for a Parabolic Problem

University of Hertfordshire Department of Mathematics. Study on the Dual Reciprocity Boundary Element Method

Semester I. Mathematics I (Calculus with applications in Chemistry I) Code: MM

Numerical Mathematics

Numerical Marine Hydrodynamics Summary

PDEs, part 1: Introduction and elliptic PDEs

Partial Differential Equations (PDEs) and the Finite Difference Method (FDM). An introduction

Mathematics Qualifying Exam Study Material

Contents. Chapter 1 Vector Spaces. Foreword... (vii) Message...(ix) Preface...(xi)

Numerical Analysis of Electromagnetic Fields

Numerical Methods for Problems with Moving Fronts Orthogonal Collocation on Finite Elements

Module 1: Introduction to Finite Difference Method and Fundamentals of CFD Lecture 1: Finite Difference Method

The method of lines (MOL) for the diffusion equation

Contents. 2 Sequences and Series Approximation by Rational Numbers Sequences Basics on Sequences...

Numerical methods Revised March 2001

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

INTRODUCTION TO FINITE ELEMENT METHODS ON ELLIPTIC EQUATIONS LONG CHEN

A THEORETICAL INTRODUCTION TO NUMERICAL ANALYSIS

Meshfree Approximation Methods with MATLAB

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

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

Numerical Solution of One-dimensional Advection-diffusion Equation Using Simultaneously Temporal and Spatial Weighted Parameters

Characteristic finite-difference solution Stability of C C (CDS in time/space, explicit): Example: Effective numerical wave numbers and dispersion

Chapter 2 Finite-Difference Discretization of the Advection-Diffusion Equation

First, Second, and Third Order Finite-Volume Schemes for Diffusion

Solving PDEs with Multigrid Methods p.1

PDE Solvers for Fluid Flow

Solution Methods. Steady State Diffusion Equation. Lecture 04

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

10.34 Numerical Methods Applied to Chemical Engineering. Quiz 2

Optimization. Next: Curve Fitting Up: Numerical Analysis for Chemical Previous: Linear Algebraic and Equations. Subsections

Solution of Differential Equation by Finite Difference Method

Middle East Technical University Department of Mechanical Engineering ME 413 Introduction to Finite Element Analysis. Chapter 2 Introduction to FEM

8. Introduction to Computational Fluid Dynamics

Tyn Myint-U Lokenath Debnath. Linear Partial Differential Equations for Scientists and Engineers. Fourth Edition. Birkhauser Boston Basel Berlin

NUMERICAL METHODS. lor CHEMICAL ENGINEERS. Using Excel', VBA, and MATLAB* VICTOR J. LAW. CRC Press. Taylor & Francis Group

Computational Fluid Dynamics Prof. Dr. SumanChakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Mathematical Methods for Engineers and Scientists 1

An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations.

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A

Transcription:

Next: Using Matlab Up: Numerical Analysis for Chemical Previous: Ordinary Differential Equations Subsections Finite Difference: Elliptic Equations The Laplace Equations Solution Techniques Boundary Conditions The Control Volume Approach Finite Difference: Parabolic Equations The Heat Conduction Equation Explicit Methods A Simple Implicit Method The Crank-Nicholson Method Finite Element Method Calculus of variation Example: The shortest distance between two points The Rayleigh-Ritz Method The Collocation and Galerkin Method Finite elements for ordinary-differential equations Engineering Applications: Partial Differential Equations Partial Differential Equations An equation involving partial derivatives of an unknown function of two or more independent variables is called a partial differential equation, PDE. The order of a PDE is that of the highest-order partial derivative appearing in the equation. A general linear second-order differential equation is (8.1) Depending on the values of the coefficients of the second-derivative terms eq. (8.1) can be classified int one of three categories. : Elliptic Laplace equation(steady state with two spatial dimensions) : Parabolic Heat conduction equation(time variable with one spatial dimension) : Hyperbolic

Wave equation(time variable with one spatial dimension) Finite Difference: Elliptic Equations Elliptic equations in engineering are typically used to characterize steady-state, boundary-value problems. The Laplace Equations The Laplace equation The Poisson equation Solution Techniques The Laplacian Difference Equation : use central difference based on the grid scheme and Substituting these equations into the Laplace equation gives For the square grid,, and by collecting terms This relationship, which holds for all interior point on the plate, is referred to as the Laplacian difference equation. This approach gives a large size of linear algebraic equations.

The Liebmann Method : For larger-sized grids, a significant number of the terms will be zero. When applied to such sparse system, full-matrix elimination methods waste great amounts of computer memory storing these zeros. For this reason, approximate methods provide a viable approach for obtaining solutions for elliptical equation. The most commonly employed approach is Guass-Seidel, which when applied to PDEs is also referred to as Liebmann's method. Boundary Conditions Derivative boundary conditions : including the derivative boundary conditions into the problem. Irregular boundaries : use contstants to depict the curvature. The Control Volume Approach Figure 8.1: Two different perspectives for developing approximate solutions of PDEs. Two different developing approximate solutions of PDEs Finite-difference : divides the continuum into nodes and convert the equations to an algebraic form. Control volume : approximates the PDEs with a volume surrounding the point. Finite Difference: Parabolic Equations The Heat Conduction Equation Fourier's law of heat conduction (8.11) which is the heat-conduction equation. Problems of parabolic equation consider changes in time as well as in space temporally open-ended consider the stability problem Explicit Methods With finite divided differences (8.12) and

(8.13) which give (8.14) where. Figure 8.2: A computational modelcule for the explicit form. Convergence and Stability Convergence : as and approach zero, the results of the finite-difference technique approach the true solution. Stability : errors at any stage of the computation are not amplified but are attenuated as the computation progresses. Convergence: consider the following unsteady-state heat-flow equation in one dimension. (8.15) Let the symbol to represent the exact solution and to represent the numerical solution. Let, at the point,. By the explicit method, (8.16) where. Substituting into the above equation,

(8.17) By using Taylor series expansion, (8.18) (8.19) (8.20) Substituting these into (8.17) and simplifying (8.21) Let be the magnitude of the maximum error in the row of calculation for, and let be an upper bound for the magnitude of the expression. If, all the coefficients in the above equation are positive (or zero) and we may write the inequality (8.22) This is true for all the at, so (8.23) This is true at each time step, (8.24) because, the errors at, are zero, as is given by the initial conditions. As, if, and, because, as both and get smaller (8.25)

Consequently, the explicit method is convergent for, because the errors approach zero as and are made smaller. A Simple Implicit Method The problems of explicit finite-difference formulation stability exclusion of information that has a bearing on the solution See figure 30.6 at p838. Figure 8.3: Computational molecules demonstrating the funcdamental differences. In implicit methods, the spatial derivative is approximated at an advanced time level. (8.26) When this relationship is substituted into the original PDE, the resulting difference equation contains several unknowns. Thus, it cannot be solved explicitly by simple algebraic rearrangement. Instead, the entire system of equations must be solved simultaneously. This is possible because, along with the boundary conditions, the implicit formulations result in a set of linear algebraic equations with the same number of unknowns. The Crank-Nicholson Method The Crank-Nicolson method provides an alternative implicit scheme that is second-order accurate in both space and time. To do this, develops difference approximations at the midpoint of the time increment. (8.27) Substituting and collecting terms gives (8.28) Finite Element Method Finite-difference method divide the solution domain into a grid of discrete points or nodes write the PDE for each node and replace the derivative with finite divided differences it is hard to apply for system with irregular geometry, unusual boundary conditions, or heterogeuous composition

Finite-element method divide the solution domain into simply shaped regions or ``elements''. develop an approximate solution for the PDE for each of these elements. link together the individiual solutions Calculus of variation The calculus of variations involves problems in which the quantity to be minimized appears as an integral. As the simplest case, (8.29) Let is the quantity that takes on an extreme value. Under the integral sign, is a known function of the indicated variables,, and but the dependence of on is not fixed: that is, is unknown. Thus, the calculus of variation seeks to optimize a special class of functions called functionals. A functional can be thought of as a ``function of function.'' Figure 8.4: A varied path. In figure 8.3.1 two possible paths are shown. The difference between these two for a given is called the variation of,, and introduce to define the arbitrary deformation of the path and a scale factor to give the magnitude of the variation. The function is arbitrary except for two restrictions. First (8.30) which means that all varied paths must pass through the fixed end points. Second,

(8.31) With the path described with and, (8.32) and (8.33) Let be the unknown path that will minimize. Then describes a neighboring path. Then is now a function of new parameter : (8.34) and the extreme value is (8.35) The partial derivative of is (8.36) From eq. (8.32) (8.37) (8.38) Equation (8.36) becomes (8.39) Integrating the second term by parts

(8.40) The integrated part is zero and (8.41) Multiply (8.42) The condition for stationary is (8.43) which is known as the Euler(or Euler-Lagrange) equation. Example: The shortest distance between two points We have to determine the path that minimize the distance between two points which are given as and. (8.44) Equation (8.44) is a funtional that is a function of path and our problem is to find which will make (8.45) as small as possible. And is called an extremal. Assuming a neighboring line (8.46) Select a make (8.47)

a minimum. Now is a function of the parameter ; when,. Our problem then is to make take its minimum value when. (8.48) Differentiating gives (8.49) is (8.50) Then (8.51) Put (8.52) Integrate by part (8.53) The first term is zero and because is arbitarary function, (8.54) In the Euler equation case, (8.55) Then

(8.56) and the Euler equation gives (8.57) From this (8.58) Solving for (8.59) and (8.60) The Rayleigh-Ritz Method It is based on an elegant branch of methematics, the calculus of variations. With this method we solve a boundary-value problem by approximating the solution with a finite linear combination of simple basis functions that are chosen to fulfill certain ceiteria, including meeting the boundary conditions. For example, consider the second-order linear boundary-value problem over : (8.61) The functional that corresponds to the above equation is (8.62) We can transform eq. (8.62) to eq. (8.61) through the Euler-Lagrange conditions, so optimizing (8.62) give the solution to eq. (8.61). The benifits of operating with the functional rather than the original equation: only the first-order instead of second-order derivative simplify the mathematics and permits to find solutions even when there are discontinuities that cause not to have sufficiently high

derivatives. If we know the solution to our differential equation, substituting it for the solution will make a minimum. Let, which is the approximation to, be a sum: (8.63) Two conditions on the 's which is called as trial function. chosen such that meets the boundary conditions 's are linearly independent. Now fina a way of getting values fro the 's to force to be close to using the functional. (8.64) To minimize, take its partial derivatives with respect to each unknown and set to zero. (8.65) The Collocation and Galerkin Method The collocation method is another way to approximate which is called a ``residual method.'' (8.66) Algorithm of the collocation method: approximate with equal to a sum of trial function, usually chosen as linearly independent polynomials. substitute int and attempt to make by a suitable choice of the coefficients in. Like collocation, Galerkin method is a ``residual method'' that use the, except that now we multiply by weighting function,. (8.67)

The advantages of collocation and Galerkin method amount of arithmetic is cetainly less much easier and never have to find the variational form. Finite elements for ordinary-differential equations The disadvantages of the previous methods Find a good trial function(it it not so easy) polynomial may interpolate poorly. The remedy to the above problems is based on the observation that even low-degree polynomials can reflect the behavior of a function if based on values that are closely spaced. 1. subdivide into subintervals, called elements, that join at which are called the nodes of the interval. 2. apply the Galerkin method to each element separately to interpolate between the end nodal values, and, where these 's are approximations to the 's. 3. use a low-degree polynomial for. 4. combine the separate element equations 5. adjust for the boundary conditions and solve equations to get approximations to at the nodes. Engineering Applications: Partial Differential Equations Next: Using Matlab Up: Numerical Analysis for Chemical Previous: Ordinary Differential Equations Taechul Lee 2001-11-29