Symplectic tracking through curved three dimensional fields by a method of generating functions

Jie Li, Kedong Wang, Kai Wang, Xu Zhang, Xueqing Yan, Kun Zhu · 2025

Read Symplectic tracking through curved three dimensional fields by a method of generating functions by Jie Li, Kedong Wang, Kai Wang, Xu Zhang, Xueqing Yan, Kun Zhu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-05192.txt.

Introduction

Jie Li and five co-authors build a way to track charged grains through curved three way fields in rings that speed them up. Long term tests of such rings need step tools that keep the base form of the rules. Their way starts by splits of free source wave fields into parts that sing in tune. Those parts are built from data on the edge face. The split works for straight paths and for curved paths too.

The team then finds rules that make new maps and that meet a key math law through a small step guess. The maps jump straight from start marks to end marks in one large step. They do not hinge on the size of the guess steps. Their track tool turns field parts into grain paths.

Catalog record

CREATORJie Li, Kedong Wang, Kai Wang, Xu Zhang, Xueqing Yan, Kun Zhu
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE62 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-05192

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Symplectic tracking through curved three dimensional fields by a method of generating functions Jie Li, Kedong Wang, Kai Wang, Xu Zhang, Xueqing Yan, Kun Zhu Abstract Symplectic integrator plays a pivotal role in the long-term tracking of charged particles within accelerators. To get symplectic maps in accurate simulation of single-particle trajectories, two key components are addressed: precise analytical expressions for arbitrary electromagnetic fields and a robust treatment of the equations of motion. In a source-free region, the electromagnetic fields can be decomposed into harmonic functions, applicable to both scalar and vector potentials, encompassing both straight and curved reference trajectories. These harmonics are constructed according to the boundary surface’s field data due to uniqueness theorem. Finding generating functions to meet the Hamilton-Jacobi equation via a perturbative ansatz, we derive symplectic maps that are independent of the expansion order. This method yields a direct mapping from initial to final coordinates in a large step, bypassing the transition of intermediate coordinates. Our developed particle-tracking algorithm translates the field harmonics into beam trajectories, offering a high-resolution integration method in accelerator simulations. Preprint: APS/123-QED I Introduction Accurate prediction of particle trajectories in an accelerator beamline is essential for both the design and operation of the accelerator. This is especially important for a circular machine where particles will revolves for millions of turns, as the effect by any nonlinear fields or complex fringe fields will be magnified. And the emittance acceptance should be carefully estimated. Accurate tracking of the exact particle path along a reference trajectory requires a precise and well-defined prior description of the electromagnetic fields. Standard expressions in simple cases, like hard-edge model, are not applicable to complex magnets. For example, novel superconducting coils, or complex magnets used for FFAG accelerator, put challenge in calculating particle trajectories [ 1 , 2 ] . So we need an efficient evaluation of arbitrary static electromagnetic fields before tracking. An analytical representation of the fields, which can be differentiated and integrated, is more suitable for programming to get the precise result of particle tracking. For most accelerator elements, the equations of motion can not be solved analytically and must therefore be addressed using numerical integration methods. In Hamiltonian mechanics, these equations of motion can be equivalently expressed using Hamilton’s canonical equations, Poisson brackets, or the Hamilton-Jacobi equation. Symplecticity, a fundamental property of any Hamiltonian conservative system, ensures the preservation of phase-space structure and is crucial for accurate long-term particle tracking [ 3 ] . As the system described by the Hamiltonian H cannot be solved analytically, numerical integration techniques preserving the symplecticity should be employed. Explicit Runge-Kutta algorithms can be applied to solve Hamilton’s canonical equations to obtain particle coordinates and momenta. But it require sufficiently small step sizes and do not inherently preserve symplecticity [ 4 ] . Poisson brackets naturally extend to Lie algebra method, which is powerful and widely used in particle tracking [ 5 , 6 , 7 ] . This includes applications such as the approximation of nonseparable Hamiltonians [ 8 ] and symplectic multiparticle tracking with self-consistent space-charge simulations [ 9 ] . For tracking obeying the symplectic condition, each step in these algorithms generate lots of intermediate variables and add complexity to the computation time. But a Taylor expanded generating function(GF) method can generate a flexible, and symplectic mapping routine for particle tracking in external magnetic fields [ 10 , 11 , 12 ] . This method is quite general and is based on the solution of the Hamilton-Jacobi equation. The approach has been successfully used for particle tracking in straight 3D fields for accelerator-driven light sources, allowing a complete parametrization and simplifying tracking studies [ 13 ] . It provides a complete set of differential equations to arbitrary orders for the expansion functions. However, if the magnetic fields in an accelerator are configured to guide particles along a curved trajectory, such as ring accelerators, this application of the generating function method remains unexplored. To address this, a field representation that satisfies Maxwell’s equations must first be established, followed by the development of an efficient method to integrate the equations of motion for particles traversing these fields. The organization of this paper is as follows: After the introduction, we present the theory of 3D descriptions for magnetic field using harmonics, and symplectic tracking based on generating functions in Sec. II . In Sec. III , we provide the numerical results of our method and illustrate different approaches to addressing the magnetic field. Finally, conclusions are drawn in Sec. IV . II Theory II.1 Field representation Accurate models of the electric and magnetic fields for beamline elements are essential for computing precise particle orbits and high-order transfer maps, which are critical for the performance of accelerators. In particular, for long straight 2D accelerator magnets, the field quality is efficiently characterized by a set of Fourier coefficients a_{n},b_{n} , known as field harmonics in the polar coordinate system, where \rho_{0} is a reference radius. A_{s}(\rho,\theta)=\sum_{n=1}^{\infty}\left(\frac{\rho}{\rho_{0}}\right)^{n}(a_{n}\sin n\theta-b_{n}\cos n\theta). (1) In a curved system characterized by curvature h , with invariance along the magnet axis, and using transverse beam coordinates x and y centered on the reference trajectory, the longitudinal magnetic vector potential A_{s} is governed by the following equation: \displaystyle\frac{\partial^{2}A_{s}}{\partial x^{2}} \displaystyle+\frac{\partial^{2}A_{s}}{\partial y^{2}}+\frac{h}{1+hx}\frac{\partial A_{s}}{\partial x}-\frac{h^{2}}{\left(1+hx\right)^{2}}A_{s}=0, (2) \displaystyle B_{x} \displaystyle=\frac{1}{1+hx}\frac{\partial\left[\left(1+hx\right)A_{s}\right]}{\partial y}, \displaystyle B_{y} \displaystyle=\frac{-1}{1+hx}\frac{\partial\left[\left(1+hx\right)A_{s}\right]}{\partial x}. It is noted that the x -axis of the local coordinate system is oriented away from the center of curvature for positive h and toward the center for negative h , as illustrated in Fig. 1 . Figure 1: The x -axis (green color) of the local coordinate system is oriented away from the center of curvature for positive h (left), and toward the center for negative h (right). Specifically, for the dipole field, the solution of Eq. 2 is expressed as A_{s}\sim-x+\frac{hx^{2}}{2(1+hx)}. (3) Other solutions to Eq. 2 can be determined through specific analytical techniques [ 14 ] . By substituting A_{s} with A_{s}=\frac{\mathbb{A}}{\sqrt{1+hx}} , Eq. 2 transforms into \frac{\partial^{2}\mathbb{A}}{\partial x^{2}}+\frac{\partial^{2}\mathbb{A}}{\partial y^{2}}=\frac{3h^{2}}{4(1+hx)^{2}}\mathbb{A}. (4) This transformed equation isolates the Laplace operator on the left-hand side, suggesting that the preliminary approximate solutions resemble those of Eq. 1 . If the curvature is small and the region of interest is very close to the bending axis, the right-hand side of Eq. 4 can be neglected, and we obtain the following solution: A_{s}\approx\frac{\rho^{n}e^{\text{i}n\theta}}{\sqrt{1+hx}}. (5) To achieve higher accuracy, an iterative method substitutes this initial solution into the right-hand side of Eq. 4 , refining the left-hand side solution with each iteration to progressively improve the approximation, as follows. A_{s}=\frac{\rho^{n}e^{\text{i}n\theta}}{\sqrt{1+hx}}\left(1+\frac{3}{16}\frac{h^{2}\rho^{2}}{n+1}\right). (6) Whether in two dimensions or under axisymmetric conditions, these models provide simplified representations of the electromagnetic field distribution, whereas the actual three-dimensional distribution is significantly more complex. In a region where no net current is enclosed by any closed loop, the magnetic field \vec{B} is curl-free and can therefore be most simply described in terms of a magnetic scalar potential \psi , \vec{B}=\nabla\psi . And it must obey the Laplace equation \nabla^{2}\psi=0 , which is usually solved numerically via finite element method. Figure 2: Solutions to Laplace’s equation in ring, cylindrical, and spherical domains are typically analyzed within their respective coordinate systems. In mathematics, general solutions \psi satisfying the Laplace equation in

Read the complete text