Enforcing conservation laws and dissipation inequalities numerically via auxiliary variables
Boris D. Andrews, Patrick E. Farrell
TL;DR
This work introduces a general, order-agnostic framework for enforcing multiple conservation laws and dissipation inequalities in time-discretized PDEs by embedding auxiliary variables that project invariant-related test functions onto a discrete test space. The approach applies to both incompressible and compressible Navier–Stokes equations, enabling simultaneous preservation of mass, momentum, energy, and entropy (or helicity in the incompressible case) without reparametrization of the system. Central to the method is a systematic identification of associated test functions for the quantities of interest and the construction of a modified right-hand side via auxiliary variables, yielding fully discrete schemes that exactly reproduce the desired invariant behavior up to quadrature and solver tolerances. Numerical experiments on Hill vortices, inviscid Euler tests, and supersonic flows illustrate improved fidelity in conserving invariants and dissipating entropy, with code openly available for reproducibility and extension.
Abstract
We propose a general strategy for enforcing multiple conservation laws and dissipation inequalities in the numerical solution of initial value problems. The key idea is to represent each conservation law or dissipation inequality by means of an associated test function; we introduce auxiliary variables representing the projection of these test functions onto a discrete test set, and modify the equation to use these new variables. We demonstrate these ideas by their application to the Navier-Stokes equations. We generalize to arbitrary order the energy-dissipating and helicity-tracking scheme of Rebholz for the incompressible Navier-Stokes equations, and devise a time discretization of the compressible equations that conserves mass, momentum, and energy, and provably dissipates entropy.
