Appendix BAlgorithms Used by PDE2D

This appendix includes frequent references to “The Numerical Solution of Ordinary and Partial Differential Equations, Third Edition” (Sewell 2015), and “Computational Methods of Linear Algebra, Third Edition” (Sewell 2014), where many of the algorithms used are described in more detail.

B.1 The Galerkin and Collocation Finite Element Methods

By far the most widely used form of the finite element method is the Galerkin method, and it is one of the two finite element variants used by PDE2D. We will illustrate its use for the following simple 3D steady‐state PDE and will discuss the time‐dependent and eigenvalue problems later, in Sections B.6 and B.7:

We try to find an approximate solution of the form

where images is a set of linearly independent basis functions that vanish on the boundary images and images is another function that satisfies the boundary condition on . Clearly, will satisfy the boundary condition regardless of the values chosen for .

Get Solving Partial Differential Equation Applications with PDE2D now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.