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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.