Adaptive energy preserving methods for partial differential equations

Sølve Eidnes, Brynjulf Owren, Torbjørn RingholmAdvances 2017 · DOI

Abstract

This paper introduces a general framework for developing numerical solvers for partial differential equations (PDEs) that simultaneously adapt their computational grids and preserve physical invariants, such as total energy. By integrating discrete gradient methods with a novel correction step for grid transitions, the authors demonstrate highly accurate and stable simulations of complex wave phenomena, including solitons, while maintaining conservation properties to machine precision.

Introduction

In many physical systems governed by partial differential equations (PDEs)—ranging from wave propagation to fluid dynamics—certain quantities such as energy, mass, or momentum are "first integrals," meaning they remain constant over time. A significant challenge in numerical analysis is that standard discretization methods often "leak" or gain energy due to truncation errors. Over long simulation periods, these errors can lead to non-physical solutions or catastrophic numerical instability.

While conservative numerical schemes have been developed to address this, they are predominantly designed for fixed, uniform grids. However, many dynamic physical problems involve features like shock waves or solitons that move or sharpen over time. Capturing these features efficiently requires adaptive mesh refinement (AMR), where the grid clusters around areas of high activity. Historically, the act of moving or changing the grid has broken the conservation properties of the solver. This research bridges that gap, providing a mathematical framework to change the grid dynamically without sacrificing energy-preserving guarantees.

Methodology

The authors propose a unified framework compatible with two major classes of spatial discretization: Finite Difference Methods (FDM) and Partition of Unity Methods (PUM), the latter of which includes the Finite Element Method (FEM).

1. Discrete Gradient Formulation

The framework expresses the PDE in a form that explicitly highlights its conserved integral. By employing "discrete gradients"—a mathematical tool derived from ordinary differential equation (ODE) theory—the authors ensure that the discrete version of the energy integral is preserved exactly during each temporal step.

2. The Transfer Correction

The core innovation of the paper is the handling of the transition between time steps when the grid is modified. When the grid moves ($r$-adaptivity) or changes resolution ($h$- or $p$-adaptivity) between time step $n$ and $n+1$, the numerical definition of the discrete energy changes. The authors introduce a specific transfer correction term (detailed in Proposition 2) that adjusts the solution during the grid transfer. This ensures the energy value remains identical across different grid configurations.

3. Equidistribution and Adaptivity

To drive the adaptive component, the framework utilizes an "equidistribution principle." A monitor function, typically based on the arc-length of the solution, is used to automatically cluster grid points in regions where the solution gradient is steepest, ensuring high resolution only where it is physically necessary.

Experimental Validation

The framework was evaluated on two classic "integrable" PDEs known for their stable, traveling wave solutions (solitons):

  • The sine-Gordon equation: A nonlinear hyperbolic PDE used to model phenomena such as crystal dislocations and superconductors.
  • The Korteweg–de Vries (KdV) equation: A mathematical model describing shallow water waves.

Key Results

  • Numerical Stability: In tests involving the sine-Gordon equation, standard adaptive methods (such as the implicit midpoint rule on a moving mesh) became unstable unless extremely small time steps were used. In contrast, the Discrete Gradient Moving Mesh (DGMM) method remained stable and accurate.
  • Conservation to Machine Precision: Unlike standard methods where energy error accumulates over time, this framework maintains the conserved quantity up to the limits of computer rounding error ($\\sim 10^{-15}$), even as grid points move rapidly to follow a wave front.
  • Accuracy and Efficiency: For high-speed solitons with steep wave fronts, the adaptive energy-preserving method provided significantly higher accuracy than non-adaptive methods. By placing points only where needed, the method achieves a target accuracy with far fewer total grid points, representing a significant gain in computational efficiency.
  • Convergence: The authors confirmed the mathematical consistency of the approach, measuring a convergence order of approximately 1.5 for spatial discretization and 1.1 for time.

Discussion and Future Work

The framework successfully decouples the grid-selection strategy from the physical solver. This allows researchers to use any standard adaptive strategy while the "transfer correction" handles the bookkeeping required to keep the physics intact.

However, several avenues for future research remain. The current implementation is focused on one-dimensional (1D) problems; extending this to 2D or 3D geometries will involve significantly more complex mesh management. Additionally, while the theory supports $h$-adaptivity (changing element counts) and $p$-adaptivity (changing polynomial degrees), the numerical experiments focused primarily on $r$-adaptivity (moving a fixed number of points). Finally, optimizing the computational overhead associated with recalculating matrices at every step remains a priority for making the method competitive for large-scale industrial applications.

Summary updated

BibTeX
@inproceedings{eidnes2017adaptive,
  author = {Sølve Eidnes and Brynjulf Owren and Torbjørn Ringholm},
  title = {{Adaptive energy preserving methods for partial differential equations}},
  booktitle = {Advances},
  year = {2017},
  doi = {10.1007/s10444-017-9562-8},
}
Figure