Accurate and Efficient Simulations of Hamiltonian Mechanical Systems with Discontinuous Potentials

Molei Tao, Shi Jin · DOI

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 the success of symplectic integrators for smooth mechanical systems, their construction for discontinuous ones is nontrivial, and numerical convergence order can be impaired. Several 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, and an adaptive time-stepping version. 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. Therefore, our recommended default method is the adaptive high-order reversible integrator. Various numerical evidence on the order of convergence, long-time performance, momentum map conservation, and consistency with the penalty method are supplied. A complex problem, the "Sauteed Mushroom," is also investigated, revealing multiple bifurcations between trapped and ergodic dynamics.

Introduction

In classical mechanics, Hamiltonian systems are typically described by smooth, differentiable functions. Numerical tools known as symplectic integrators are the gold standard for simulating these systems because they preserve the underlying symplectic geometry, leading to excellent long-term energy conservation. However, many physical scenarios—such as particles hitting hard walls, light passing through lens interfaces, or robotic impacts—involve potential barriers with jump discontinuities.

Standard integrators struggle with these "cliffs": they lose accuracy (convergence order), and traditional "penalty methods" (smoothing the jump into a steep gradient) create stiff equations that require prohibitively small timesteps. This research addresses these challenges by developing integrators that handle discontinuities natively and efficiently by incorporating the physical laws of reflection and refraction.

Proposed Numerical Integrators

The authors propose four distinct numerical methods that avoid smoothing the potential, instead treating interface crossings as discrete events. These methods range from low-order symplectic schemes to high-order reversible ones.

Summary of the four proposed numerical integrators and their properties.
  1. 1st-order Symplectic Integrator: A general-purpose method that splits the Hamiltonian into smooth and discontinuous parts, solving the latter exactly.
  2. 3rd-order Symplectic Integrator: A specialized version for 1D problems or linear interfaces using quadratic approximations to boost accuracy.
  3. High-order Reversible Integrator: An event-driven approach achieving arbitrary accuracy. While not strictly symplectic, its time-reversibility provides similar long-term stability.
  4. Adaptive High-order Integrator: An evolution of the reversible method using adaptive timestepping to handle complex impact clusters, such as those near sharp corners.

Handling the Interface

To maintain accuracy, the integrators must precisely determine the moment of impact using root-finding techniques like Newton's method. Once an interface is reached, the particle's trajectory is updated based on its momentum relative to the potential jump $\Delta V$.

Reflection and refraction at a curved potential interface in 2D.

As illustrated above, if the normal component of the momentum is sufficient ($p_n^2 > 2\Delta V$), the particle refracts through the interface. If the energy is insufficient ($p_n^2 < 2\Delta V$), the particle undergoes reflection. This discrete handling preserves the physical integrity of the simulation without the computational overhead of smoothing.

Benchmarking and Key Insights

The methods were evaluated against several benchmarks, including a 1D quadratic well, a 2D rotational symmetry test, and the "Sauteed Mushroom"—a complex system based on the Bunimovich Mushroom billiard.

One key finding is that for discontinuous systems, the benefits of symplecticity are less clear than in smooth systems. Because traditional backward error analysis breaks down at the discontinuity, time-reversibility emerges as a more practical and robust goal for high-order methods. Additionally, the authors demonstrated that standard techniques like Strang splitting drop from 2nd-order to 1st-order accuracy when a discontinuity is present, underscoring the need for specialized integrators.

Results and Conclusion

The proposed integrators demonstrate significant efficiency gains, achieving higher accuracy with timesteps $100\times$ to $1000\times$ larger than those required by penalty methods. Furthermore, the 1st-order symplectic method successfully conserved momentum maps (e.g., angular momentum) over long durations ($T = 10^5$), and the high-order methods maintained their theoretical convergence rates even with frequent interface crossings.

While high-order symplectic methods for general curved interfaces remain an open challenge, the adaptive reversible integrator stands as a robust default for complex discontinuous Hamiltonian systems. Future work may extend these classical methods to quantum-classical coupling scenarios involving surface hopping or partial transmission.

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},
}
Figure