High order interpolation of magnetic fields with vector potential reconstruction for particle simulations
Oleksii Beznosov, Jesus Bonilla, Xianzhu Tang, Golo Wimmer
TL;DR
This work adversities the challenge of maintaining a divergence-free magnetic field while enabling high-order particle simulations. It develops a Hermite-interpolation-based vector potential reconstruction that yields $C(m)$ continuity and high-order accuracy, enabling reliable use of adaptive ODE solvers like the Dormand–Prince Runge–Kutta method. The approach combines 1D Hermite theory with higher-dimensional tensor-product extensions and a rational approximation framework to reconstruct a globally solenoidal $\mathbf{B}$ from discrete data, validated through convergence tests and guiding center conservation analyses across analytic and finite-element field data. The results demonstrate improved accuracy in field evaluation, robust Poincaré section analysis, and preserved physical invariants in long-term particle trajectories, suggesting broad applicability to complex magnetic-field data in fusion plasma simulations.
Abstract
We propose a method for interpolating divergence-free continuous magnetic fields via vector potential reconstruction using Hermite interpolation, which ensures high-order continuity for applications requiring adaptive, high-order ordinary differential equation (ODE) integrators, such as the Dormand-Prince method. The method provides C(m) continuity and achieves high-order accuracy, making it particularly suited for particle trajectory integration and Poincaré section analysis under optimal integration order and timestep adjustments. Through numerical experiments, we demonstrate that the Hermite interpolation method preserves volume and continuity, which are critical for conserving toroidal canonical momentum and magnetic moment in guiding center simulations, especially over long-term trajectory integration. Furthermore, we analyze the impact of insufficient derivative continuity on Runge-Kutta schemes and show how it degrades accuracy at low error tolerances, introducing discontinuity-induced truncation errors. Finally, we demonstrate performant Poincaré section analysis in two relevant settings of field data collocated from finite element meshes
