Accurate and efficient simulations of Hamiltonian mechanical systems with discontinuous potentials

Molei Tao, Shi Jin

TL;DR

This paper introduces a suite of numerical integrators designed to simulate Hamiltonian systems where the potential energy has sharp "jumps" or discontinuities. By incorporating the physical laws of reflection and refraction directly into the algorithms, the authors achieve high-order accuracy and long-term stability without the massive computational cost of traditional smoothing techniques.

What Problem Does This Paper Address?

In classical mechanics, Hamiltonian systems (like a planet orbiting a sun or a swinging pendulum) are usually described by smooth, differentiable functions. Numerical tools called symplectic integrators are the gold standard for simulating these systems because they preserve the underlying geometry of the motion, leading to excellent long-term energy conservation.

However, many real-world problems involve "potential barriers"—think of a particle hitting a hard wall, light passing through a lens interface, or a robot foot impacting the ground. In these cases, the potential energy function has a jump discontinuity. Standard integrators fail here: they lose their accuracy (convergence order), and the "penalty method" (smoothing the jump into a steep hill) creates "stiff" equations that require tiny, computationally expensive timesteps. This paper seeks to bridge the gap by creating integrators that handle these "cliffs" natively and efficiently.

Methods

The authors propose four distinct numerical methods, moving away from the idea of smoothing the potential and instead treating the interface crossing as a discrete event governed by the laws of reflection and refraction.

  1. Integrator 1 (1st-order Symplectic): A general-purpose method that splits the Hamiltonian into a smooth part and a discontinuous part. The discontinuous part is solved exactly using reflection/refraction logic.
  2. Integrator 2 (3rd-order Symplectic): A specialized version for 1D problems or linear interfaces. It uses a quadratic approximation of the smooth potential to boost accuracy while maintaining symplecticity.
  3. Integrator 3 (High-order Reversible): An event-driven approach that can achieve arbitrarily high-order accuracy. While not strictly symplectic, it is time-reversible, which often grants similar long-term stability benefits.
  4. Integrator 4 (Adaptive High-order): An evolution of Integrator 3 that uses adaptive timestepping to handle "clusters" of impacts, such as when a particle bounces rapidly near a sharp corner.

To find the exact moment a particle hits a "cliff," the authors utilize Newton's method or bisection, ensuring the impact time is accurate to machine precision.

Datasets

As a theoretical and computational physics paper, it does not use traditional "big data" sets. Instead, it evaluates the methods against several newly designed or adapted benchmarks:

  • 1D Quadratic Benchmark: A particle in a harmonic well with a step-function potential jump.
  • 2D Rotational Symmetry Test: A Kepler-like gravitational problem with a circular potential jump, used to test the conservation of angular momentum.
  • The "Sauteed Mushroom": A novel benchmark based on the Bunimovich Mushroom billiard. It adds a smooth, nonlinear "sautee" potential to a complex geometric boundary to study chaotic vs. trapped dynamics.

Key Insights and Ideas

  • Symplecticity vs. Reversibility: In smooth systems, symplecticity is the "holy grail." The authors find that for discontinuous systems, the benefits of symplecticity are less clear because traditional backward error analysis breaks down. Consequently, time-reversibility becomes a more practical and robust goal for high-order methods.
  • Order Reduction: The authors demonstrate that standard techniques like Strang splitting, which are 2nd-order for smooth systems, drop to 1st-order when a discontinuity is present. This highlights why specialized "discontinuous integrators" are necessary.
  • The "Sauteed Mushroom" Dynamics: By adding a smooth potential to a chaotic billiard system, the authors discovered multiple bifurcations where a particle's trajectory can switch between being "trapped" in a region and "ergodic" (covering the whole space).

Key Results

  • Efficiency: The proposed integrators are significantly faster than the "penalty method." For a benchmark problem, the new methods achieved better accuracy with a timestep $100\times$ to $1000\times$ larger than what the smoothed-potential approach required.
  • Conservation: Even with nonlinear, curved interfaces, the 1st-order symplectic method successfully conserved the "momentum map" (e.g., angular momentum) over very long simulation times ($T = 10^5$).
  • Accuracy: Integrator 2 and 4 successfully maintained their 3rd-order and 4th-order convergence rates, respectively, even when frequently crossing potential jumps.

Limitations and Future Work

  • General High-Order Symplecticity: While the authors achieved high-order reversible methods for general problems, creating a high-order symplectic method for general curved interfaces remains an open challenge.
  • Theoretical Gaps: Traditional Hamiltonian error analysis doesn't apply to these discontinuous maps. A new "discontinuous version" of canonical perturbation theory is needed to rigorously prove why these methods perform so well over long durations.
  • Quantum Extensions: The current work assumes a particle either reflects or refracts (100% probability). Future work could extend this to "surface hopping" or partial transmission/reflection, which are common in quantum-classical coupling.

Summary updated

Abstract

This article considers Hamiltonian mechanical systems with potential functions admitting jump discontinuities. The focus is on accurate and efficient numerical approximations of their solutions, which will be defined via the laws of reflection and refraction. Despite of the success of symplectic integrators for smooth mechanical systems, their construction for the discontinuous ones is nontrivial, and numerical convergence order can be impaired too. Several rather-usable numerical methods are proposed, including: a first-order symplectic integrator for general problems, a third-order symplectic integrator for problems with only one linear interface, arbitrarily high-order reversible integrators for general problems (no longer symplectic), and an adaptive time-stepping version of the previous high-order method. Interestingly, whether symplecticity leads to favorable long time performance is no longer clear due to discontinuity, as traditional Hamiltonian backward error analysis does not apply any more. Therefore, at this stage, our recommended default method is the last one. Various numerical evidence, on the order of convergence, long time performance, momentum map conservation, and consistency with the computationally-expensive penalty method, are supplied. A complex problem, namely the Sauteed Mushroom, is also proposed and numerically investigated, for which multiple bifurcations between trapped and ergodic dynamics are observed.
BibTeX
@article{tao2022accurate,
  author = {Molei Tao and Shi Jin},
  title = {{Accurate and efficient simulations of Hamiltonian mechanical systems with discontinuous potentials}},
  journal = {Journal of Computational Physics},
  year = {2022},
  doi = {10.1016/j.jcp.2021.110846},
}

Loading related content...

Figure