Examples and tutorials » Partial differential equations

Guided solves from scalar diffusion to coupled systems.

Start with Poisson. It introduces the full sequence of mesh creation, weak formulation, linear solution, and visualization. The remaining tutorials extend one or more parts of that sequence.

TutorialMain idea
Solving the Poisson equationScalar diffusion and homogeneous Dirichlet data
Solving diffusion with discontinuous GalerkinDiscontinuous affine space, SIPG fluxes and convergence checks
Solving the elasticity equationVector displacement and boundary traction
Solving the Helmholtz equationWave propagation and complex-valued fields
Solving the Stokes equationsIncompressibility, mixed spaces, and pressure normalization
Solving the Navier–Stokes equationsCoupled velocity and pressure
Poisson equation with periodic boundary conditionsPeriodic boundary identification
Solving PDEs on surface meshesDifferential operators on an embedded surface

For the derivation of the forms, see Weak formulations. For solver requirements, see Solvers.