Hostname: page-component-89b8bd64d-dvtzq Total loading time: 0 Render date: 2026-05-09T23:46:20.385Z Has data issue: false hasContentIssue false

Improved accuracy in degenerate variational integrators for guiding centre and magnetic field line flow

Published online by Cambridge University Press:  25 April 2022

Joshua W. Burby*
Affiliation:
Los Alamos National Laboratory, Los Alamos, NM 87544, USA
John M. Finn
Affiliation:
Tibbar Plasma Technologies, Los Alamos, NM 87544, USA
C. Leland Ellison
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
*
Email address for correspondence: jburby@lanl.gov
Rights & Permissions [Opens in a new window]

Abstract

First-order-accurate degenerate variational integration (DVI) was introduced in Ellison et al. (Phys. Plasmas, vol. 25, 2018, 052502) for systems with a degenerate Lagrangian, i.e. one in which the velocity-space Hessian is singular. In this paper we introduce second-order-accurate DVI schemes, both with and without non-uniform time stepping. We show that it is not in general possible to construct a second-order scheme with a preserved two-form by composing a first-order scheme with its adjoint, and discuss the conditions under which such a composition is possible. We build two classes of second-order-accurate DVI schemes. We test these second-order schemes numerically on two systems having non-canonical variables, namely the magnetic field line and guiding centre systems. Variational integration for Hamiltonian systems with non-uniform time steps, in terms of an extended phase space Hamiltonian, is generalized to non-canonical variables. It is shown that preservation of proper degeneracy leads to single-step (one-step) methods without parasitic modes, i.e. to non-uniform time step DVIs. This extension applies to second-order-accurate as well as first-order schemes, and can be applied to adapt the time stepping to an error estimate.

Keywords

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NC
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial licence (http://creativecommons.org/licenses/by-nc/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use.
Copyright
Copyright © The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Phase portrait (a) and energy versus time (b) for two different methods of integrating the non-reversible Hamiltonian $H=(p^{2}+q^{2})/2+\alpha q p^{3}/3$. The ‘direct’ scheme of (3.3a,b), and shown in green, is first-order-accurate and preserves a discrete symplectic structure that depends on the numerical time-step size $h$, with similar results for the adjoint scheme in (3.5a,b). Composing the direct method with its adjoint achieves second-order accuracy by virtue of centring in time, giving smaller oscillations in $H$. However, the numerical results indicate that the composed scheme leads to growth in $H$ and therefore does not preserve a two-form.

Figure 1

Figure 2. Comparison of the order of accuracy of the MDVI scheme, the TDVI scheme and the collocated first-order-accuratescheme of Ellison et al. (2018) for the magnetic field line problem, over a range of $2^5$ in $\Delta \phi$. The dashed curves show Error$\sim h$ (blue) and Error$\sim h^2$ (green) for comparison.

Figure 2

Figure 3. Poincaré section $\phi =0$ for the magnetic field line problem. For comparison we show results from (a) the RK2 scheme with $\Delta \phi = 0.1$, (b) the RK2 scheme with $\Delta \phi = 0.005$, (c) the MDVI scheme with $\Delta \phi = 0.1$ and (d) the MDVI scheme with $\Delta \phi = 0.005$. In all cases we have $\phi _\text {final} = 3\times 10^5$. The $(m,n)=(3,2)$ and $(7,5)$ island chains are evident, and in the RK2 scheme in (a) the KAM surfaces are blurred.

Figure 3

Figure 4. Error in the second-order MDVI and TDVI schemes and the first-order collocated scheme of Ellison et al. (2018), compared with results obtained with a fourth-order Runge–Kutta method with extremely small time step $h=\Delta t$. Results are shown over almost two orders of magnitude in $\Delta t =h$. First-order and second-order reference lines, in blue dashed and green dashed, respectively, are shown for comparison. Second-order accuracy for the MDVI and TDVI schemes is confirmed.