Course & textbook · INSA Toulouse, Applied Mathematics & Master Mod'IA - Scientific ML

Finite Element Methods

Weak solutions of PDEs, Finite Element schemes, error estimates and mixed formulations

The finite element method is the workhorse of computational sciences: structural mechanics, fluid flows, heat transfer, geophysics… The course goes from the mathematical analysis of elliptic problems (weak formulations, Sobolev spaces, Lax-Milgram theory) to the design and coding of finite element schemes, their error estimates, the treatment of unsteady, non-linear and advection-dominated problems, and mixed formulations for constrained problems such as the Stokes equations.

Moodle, open access:

The course in three pictures

A triangular mesh of an L-shaped domain, a P1 hat basis function, and the finite element solution of the Poisson equation.
1. The principle: mesh, basis functions, linear system. The domain is split into triangles (left). The unknown is sought in the space of continuous, piecewise linear functions, spanned by “hat” functions equal to 1 at one node and 0 at the others (middle). The weak formulation then becomes a sparse linear system, assembled element by element; its solution gives the FE approximation (right: Poisson equation on an L-shaped domain, whose re-entrant corner creates a singularity) (Chapters 1–2).
Log-log plot of the H1 and L2 errors versus the mesh size for P1 and P2 finite elements, with slopes 1, 2, 2 and 3.
2. Error estimates, and validating a code. For a smooth solution, Pk-Lagrange elements converge at order hk in the energy norm (Céa's lemma + interpolation) and hk+1 in L2 (Aubin–Nitsche). Measuring these slopes on a known solution is the basic validation of a computational code (Section 2.4).
One-dimensional advection-diffusion: the exact solution has a boundary layer, the standard P1 scheme oscillates, the SUPG-stabilized scheme does not.
3. When advection dominates: stabilization. For a large Péclet number, the standard (centered) scheme produces spurious oscillations upstream of the boundary layer. Stabilized schemes (SD, SUPG, GLS) add a consistent numerical diffusion along the streamlines and recover a smooth, accurate solution on the same mesh (Section 3.3).

Contents

Chapter 1Analysis of elliptic problems

From classical to weak formulations; Sobolev spaces; Lax-Milgram theory, energy minimization; the Laplace-Poisson equation with Dirichlet, Neumann and transmission conditions; regularity and singularities.

Chapter 2Finite elements: fundamentals

Internal approximation, the Galerkin method; Pk-Lagrange elements in 1D and nD; the assembly algorithm, reference element, Dirichlet conditions; interpolation and error estimates, code validation; Hermite elements; software.

Chapter 3Finite elements: complements

Non-linear PDEs and linearization; unsteady (parabolic) PDEs: mass matrix, θ-schemes, mass lumping; advection terms and stabilization (SUPG, GLS); FV and DG; linear elasticity; a-posteriori estimators and mesh adaptation.

Chapter 4Weak constraints: mixed formulations

The (Navier-)Stokes model; divergence-free formulation; pressure as a Lagrange multiplier; the LBB inf-sup condition; augmented Lagrangian, Uzawa, Schur complement; mixed FE.

ThenPDE model reductions

Reduced bases, POD, hybrid POD–neural networks and auto-encoders: see the dedicated course page.

MaterialExercises & practicals

Exercises with solutions, and programming practicals coding FE schemes, are available on the Moodle page.

How to cite

Jérôme Monnier. Finite Element Methods, PDE Models Reductions. Lecture notes, INSA Toulouse, 2024.

BibTeX
@misc{Monnier-FEM-course,
  author       = {Monnier, J{\'e}r{\^o}me},
  title        = {Finite Element Methods, {PDE} Models Reductions},
  howpublished = {Lecture notes, INSA Toulouse},
  year         = {2024},
  url          = {https://www.math.univ-toulouse.fr/~jmonnie/Enseignement/CourseFEM.pdf}
}

Prerequisites

Differential calculus, basic functional analysis (Hilbert spaces), classical PDE models, numerical linear algebra, finite differences, Python programming.

The textbook (spring 2024 version) also contains a former version of the model reduction part, now superseded by the dedicated textbook. Questions and feedback are welcome by e-mail.