Example Gallery¶
Hands-on, runnable examples — from FEM building-block visualizations, through canonical PDE solves, to research-grade fluid, solid, and electromagnetic problems. Each page maps the underlying mathematics to a concrete TensorMesh script you can run.
Basis points, shape functions, element ordering, and a mesh-generation gallery.
Elliptic PDE in 2D / 3D, batched RHS, and h-adaptive refinement on the L-shape.
Transient heat equation and nonlinear Allen-Cahn phase-field evolution.
Hyperbolic PDE with explicit central-difference time stepping.
Linear elasticity, hyperelasticity, contact, and plasticity — a progressive solver ladder.
Incompressible Navier-Stokes: cavity, cylinder flow, Rayleigh-Bénard, and more.
3D Maxwell: magnetic field around a wire via a stabilized nodal curl-curl formulation.
Differentiable FEM: coefficient-field identification and density-based topology optimization.
Train a neural network to minimize the assembled Galerkin residual ||K u - F||².
Batch generation of heat and wave snapshots for training neural operators.
Graph coloring, spectral partitioning, and multi-GPU assembly benchmarks.