Postdoctoral Research Associate, University of Oxford (he / him)
| Patrick Farrell| 31.DEC.2025 (SISC)We propose a general strategy for enforcing multiple conservation laws and dissipation inequalities in the numerical solution of initial value problems. […] We demonstrate these ideas by their application to the Navier-Stokes equations. We generalize […] the energy-dissipating and helicity-tracking scheme of Rebholz for the incompressible […] equations, and devise a time discretization of the compressible equations that conserves mass, momentum, and energy, and provably dissipates entropy.
No matter whether you’re modelling a fluid, a plasma, any mechanical system, whatever, your partial differential equations (PDEs) almost always possess some fundamental physical structures. These might be include conserved quantities like mass, momentum, or energy, or dissipated quantites such as (as famously dictated by the Second Law of Thermodynamics) entropy.
In the continuous world, these laws are mathematical certainties. Exact solutions to our PDE models must satisfy these laws.
In the discrete world of numerical simulations, however, they’re often the first casualties. Numerical simulations give approximate solutions; approximate solutions only necessarily satisfy physical laws approximately.
When a solver fails to respect these invariants, simulations can drift. They can become unstable. They can produce physically impossible results, like the coffee in your cup magically generating its own energy and jumping onto your desk.
That’s not something you want to just “accept” when you’re simulating the air flowing past the wings of an aircraft…
Conserving simple, quadratic quantities (e.g. the (L^2) energy in Navier–Stokes) is pretty well-understood (in particular in finite element discretisations). The challenge spikes dramatically when dealing with non-quadratic quantities of interest, in particular when there are multiple such structures.
Standard time-stepping schemes generally force an unhappy compromise:
Conservative or accurately dissipative PDE integrators have then generally historically been constructed on an ad-hoc system-by-system basis.
If you’re familiar with the field, you may know of some of these integrators. In particular, I’ll highlight two disparate bodies of work:
Our work unifies these distinct ideas.
We introduce a general, arbitrary-order framework that doesn’t just give you one integrator; we provide a sequence of procedural steps that allows you to turn pretty much any specific PDE model of your choosing into a structure-preserving scheme. The core innovation is the systematic joint use of auxiliary variables and finite elements in time.
Here’s the key idea:
It’s as simple and general as that! All those existing mixed finite element methods and finite-element-in-time schemes mentioned above for example just turn out actually to be special cases of our wider framework.
To prove the power of this framework, we applied it to one of the most challenging systems in computational physics: the compressible Navier–Stokes equations.
This is a nasty system with a lot of physically important structures:
We use our framework to preserve all of these properties simultaneously. To our knowledge, this is the first scheme to achieve this in the general setting we consider.
Just to get you excited, here’s a fun video of some numerical results from the paper, illustrating a numerical shockwave simulation using our discretisation:
If you’re looking to build simulations that are both simple and physically meaningful, we invite you to explore the full details of the framework, proofs, and implementation strategies in the manuscript.
We would both gladly discuss it further!
Check out Patrick’s Langtangen Seminar (22.APR.2025) at Simula below:
His earlier ACM Colloquium (13.NOV.2024) at the University of Edinburgh and Heriot-Watt University can be found here.
In a recently submitted manuscript, Patrick Farrell and I apply these ideas to two very general classes of problems:
For a neat and related application of these ideas to a problem in magnetic relaxation that really highlights their importance, check out my subsequent work with Mingdong He, Patrick Farrell & Kaibo Hu, on structure-preserving integrators for the magneto-frictional equations.

| University of Oxford
| Helicity-preserving finite element discretization for magnetic relaxation / Enforcing conservation laws and dissipation inequalities numerically via auxiliary variables / Conservative and dissipative discretisations of multi-conservative ODEs and GENERIC systems / An augmented Lagrangian preconditioner for natural convection at high Reynolds number* / Automated Galerkin time stepping in Irksome*