The Finite Element Method (FEM)
FEM is a versatile numerical method for finding approximate solutions to partial differential equations (PDEs). In this section, we introduce the fundamental concepts of FEM through a classical, second-order elliptic PDE: the Poisson equation.
The model problem: Poisson equation
Consider a bounded domain
where
Strong form vs. weak form
The equation above represents the strong form of the problem. It requires the solution
To relax this regularity requirement, we derive the weak (or variational) form. We multiply the strong form by an arbitrary test function
Applying integration by parts (Green's first identity) to the left-hand side, we get:
Since the test function
where
is the Sobolev space of functions with square-integrable weak derivatives that vanish on the boundary; is a symmetric bilinear form; is a linear form.
This formulation requires
Bubnov-Galerkin approximation
The weak formulation is infinite-dimensional because the space
The corresponding discrete problem can then be written down as: find
To compute the solution, we will take
For instance, in 1D, an
The
The parameter
In the general setting, once we have chosen such a finite element space, let
where
Testing the discrete problem with each basis function
This can be written in matrix-vector form as:
where
is the matrix with entries .is the source vector with entries . is the vector of unknowns.