This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

FOXTAIL: Modeling the nonlinear interaction between
Alfvén eigenmodes and energetic particles in tokamaks

Emmi Tholerus emmi.tholerus@ee.kth.se Thomas Johnson thomas.johnson@ee.kth.se Torbjörn Hellsten torbjorn.hellsten@ee.kth.se KTH Royal Institute of Technology, School of Electrical Engineering, Department of Fusion Plasma Physics, SE-100 44 Stockholm, Sweden
Abstract

FOXTAIL is a new hybrid magnetohydrodynamic–kinetic code used to describe interactions between energetic particles and Alfvén eigenmodes in tokamaks with realistic geometries. The code simulates the nonlinear dynamics of the amplitudes of individual eigenmodes and of a set of discrete markers in five-dimensional phase space representing the energetic particle distribution. Action–angle coordinates of the equilibrium system are used for efficient tracing of energetic particles, and the particle acceleration by the wave fields of the eigenmodes is Fourier decomposed in the same angles. The eigenmodes are described using temporally constant eigenfunctions with dynamic complex amplitudes. Possible applications of the code are presented, e.g., making a quantitative validity evaluation of the one-dimensional bump-on-tail approximation of the system. Expected effects of the fulfillment of the Chirikov criterion in two-mode scenarios have also been verified.

keywords:
Magnetohydrodynamic waves , Tokamaks , Fast particle effects , Nonlinear dynamics , Hybrid plasma simulation methods , Lagrangian and Hamiltonian mechanics
PACS:
05.45.-a , 45.20.Jj , 52.35.Bj , 52.55.Fa , 52.55.Pi , 52.65.Ww
journal: Computer Physics Communications

1 Introduction

Toroidal Alfvén eigenmodes (TAEs) are discrete frequency MHD waves that exist in the toroidicity induced gap of the Alfvén continuum spectra in toroidal magnetized plasmas. TAEs are typically excited by an ensemble of energetic ions (e.g. coming from auxiliary heating or from fusion reactions) with an inverted energy distribution along the characteristic curves of wave–particle interaction in momentum space. If these waves are excited to large amplitudes, they might eject a large fraction of energetic ions from the plasma before the ions transfer their energy to the bulk plasma, causing a significant reduction of heating efficiency of fast ions [1, 2]. It is therefore of great importance to understand the significance of TAEs in future devices, such as ITER. Accurate modeling is required that can resolve the nonlinear evolution of the wave–particle interactions.

Many hybrid MHD–kinetic Monte Carlo codes developed for this purpose are orbit following, requiring temporal resolutions well below bounce time scales of the resonant energetic particles. These are many orders of magnitude shorter than the time scales for the relevant dynamics of long-lived eigenmodes in large tokamaks, such as ITER. Relatively simple equations of motion that can resolve the relevant time scales for wave–particle interaction more efficiently can be acquired by using action–angle coordinates [3] of the equilibrium system for the phase space of energetic particles. Particles in the unperturbed equilibrium system then follow straight lines in configuration space at constant velocities, and their canonical momenta are constants of motion. This coordinate system has the advantage that particles exactly remain on their guiding center orbits in the unperturbed system, independently of the time step length.

In order to get satisfactory convergence of the Monte Carlo codes describing nonlinear wave–particle interactions, δf\delta f methods are often used. Although the method is computationally advantageous, it makes the code more difficult to use in conjunction with existing Monte Carlo codes that use full-ff methods or that use a different background distribution.

FOXTAIL (“FOurier series eXpansion of fasT particle–Alfvén eigenmode Interaction”-modeL) is a new hybrid magnetohydrodynamic–kinetic model that both uses action–angle coordinates for particle phase space and a full-ff Monte Carlo method to represent the resonant energetic particle distribution. It is based on a model by Berk et al. [4], which is derived from a Lagrangian formulation of the wave–particle interaction. The use of action–angle variables can give scenarios where the shortest time scale needed to be resolved in FOXTAIL is on the order of ωp1\omega_{\mathrm{p}}^{-1}, where ωp\omega_{\mathrm{p}} is the precession frequency of the energetic particles interacting strongly with the eigenmodes.

A simplification used in FOXTAIL is that the spatial structures of the eigenmode wave fields are taken to be constant in time. This limitation means that FOXTAIL is unable to model, e.g., energetic particle modes. There also exist scenarios where the time evolution of TAE eigenfunctions is of importance (see e.g. Ref. [5]). Such scenarios can be modeled by other existing codes, not having the limitation of static eigenfunctions, such as the hybrid MHD–gyrokinetic code, HMGC [6, 7, 8], and the gyrokinetic toroidal code, GTC [9, 10, 11].

The structure of this paper is the following: Section 2 presents the mathematical, the physical and the technical background of FOXTAIL, including derivations of the equations used in the different parts of the code and the overall structure of the code. Section 3 describes how some of the resulting equations are numerically implemented. Section 4 presents some of the possible applications of FOXTAIL, including quantitative comparisons with the corresponding one-dimensional bump-on-tail approximation of the system and numerical studies of the Chirikov criterion in scenarios with two eigenmodes. Section 5 summarizes the paper.

2 Model description

2.1 Physics overview

The equations used in FOXTAIL are based on a Lagrangian formulation of the wave–particle system [4]. Each simulation is formulated as an initial value problem, starting from an energetic particle distribution in a background equilibrium plasma and a set of eigenmodes with a static spatial structure and a dynamical amplitude and phase. Eigenmodes are treated as weak perturbations of the equilibrium, excluding direct mode–mode interaction. The nonlinear coupling of eigenmodes is taken into account only by the energy and momentum exchange between the modes via the energetic particles.

The physical process of the considered wave–particle interactions is essentially absorption and stimulated emission, and the interactions are energy and momentum conserving. The total energy of the eigenmode is proportional to the amplitude squared. Energy conservation is ensured by the equation

particlesW˙wave+eigenmodesCRe(AA˙)=0,\sum_{\mathrm{particles}}\dot{W}_{\mathrm{wave}}+\sum_{\mathrm{eigenmodes}}C\operatorname{Re}(A\dot{A}^{*})=0, (1)

where W˙wave\dot{W}_{\mathrm{wave}} is the time derivative of the kinetic particle energy, as accelerated by the wave field, AA is the complex amplitude of the eigenmode, and CC is the ratio between the eigenmode energy and |A|2/2|A|^{2}/2. A Lagrangian formulation of the wave–particle interaction is presented in section 2.7, which is shown to be consistent with eq. (1).

The acceleration of a particle by an Alfvén eigenmode convects the momentum of the particles along curves in the phase space (W,Pϕ,μ)(W,P_{\phi},\mu) according to

dWω=dPϕn,dμ=0,\frac{\mathrm{d}W}{\omega}=\frac{\mathrm{d}P_{\phi}}{n},\leavevmode\nobreak\ \mathrm{d}\mu=0, (2)

where WW is the particle kinetic energy, PϕP_{\phi} is the toroidal canonical momentum, μ\mu is the magnetic moment, nn is the toroidal mode number of the eigenmode and ω\omega is the eigenmode frequency. The magnetic moment is unperturbed, since the Alfvén eigenmodes are low frequency waves (ωωc\omega\ll\omega_{\mathrm{c}}). The curves in W,PϕW,P_{\phi}-space specified by eq. (2) are referred to as the characteristic curves of wave–particle interaction. Within certain parameter limits, FOXTAIL is equivalent with a one-dimensional bump-on-tail model describing the wave–particle interaction (cf. Ref. [12]). Different characteristic curves are indistinguishable in this limit, and the momentum of the 1D model then corresponds to a variable indexing the location of the particle along the characteristic curves. From the theory of the 1D bump-on-tail model, it is apparent that an inverted energy distribution along the characteristic curves at the wave–particle resonance can excite eigenmodes via a process analogous to Landau damping.

Refer to caption
Figure 1: Flowchart of the FOXTAIL code. As input, FOX takes the mass and charge of the energetic particle species and a grid in the space spanned by the adiabatic invariants of the equilibrium motion. On this grid, the orbits are solved using the input equilibrium configuration. External routines are used to calculate spatial wave field structures and frequencies of a chosen set of Alfvén eigenmodes. Eigenmode data and orbit data is sent to a routine that integrates all guiding center orbits along the wave fields of the eigenmodes in order to obtain a set of interaction coefficients characterizing the particle response with respect to the wave. A set of particle, eigenmode and wave–particle interaction data is collected and sent to the TAIL code, along with an initial distribution of markers and initial complex amplitudes of the eigenmodes. TAIL then solves the nonlinear time evolution of the markers and the considered eigenmodes.

2.2 Overview of the FOXTAIL code

The FOXTAIL code is essentially split into two parts, “FOX” and “TAIL”, as illustrated in Fig. 1. TAIL is the numerical dynamics solver of the eigenmodes and the energetic particles, solving the wave–particle system as an initial value problem. FOX can be viewed as a preprocessor of TAIL, calculating orbital, eigenmode and interaction related data for a given set of eigenmodes and energetic particle species in a defined equilibrium configuration. The distribution of energetic particles is represented using a finite set of markers with predefined weights.

2.3 Action–angle coordinates

The phase space of markers in TAIL is described using action–angle coordinates of the equilibrium system [3]. The equations of motion of the system become particularly simple in this choice of coordinates, which contributes to the computational efficiency of the solver. In the absence of wave field perturbations, the “action” coordinates (i.e. the momentum coordinates of the canonical action–angle coordinate system) are constants of motion, whereas the “angle” coordinates (configuration space coordinates) evolve with constant velocities. The presence of eigenmodes perturbs this simple dynamics, and the adiabatic invariants are convected according to eq. (2).

The angle coordinates of the system are given by

{α~=α+0θdθω¯c(𝑷)ωc(𝑷,θ)θ˙(𝑷,θ),θ~=0θdθωB(𝑷)θ˙(𝑷,θ),ϕ~=ϕ+0θdθωp(𝑷)ϕ˙(𝑷,θ)θ˙(𝑷,θ),\left\{\begin{array}[]{*3{>{\displaystyle\vspace{1mm}}l}}\vskip 2.84526pt\tilde{\alpha}=\alpha+\int_{0}^{\theta}\mathrm{d}\theta^{\prime}\frac{\bar{\omega}_{\mathrm{c}}(\bm{P})-\omega_{\mathrm{c}}(\bm{P},\theta^{\prime})}{\dot{\theta}(\bm{P},\theta^{\prime})},\\ \vskip 2.84526pt\tilde{\theta}=\int_{0}^{\theta}\mathrm{d}\theta^{\prime}\frac{\omega_{\mathrm{B}}(\bm{P})}{\dot{\theta}(\bm{P},\theta^{\prime})},\\ \vskip 2.84526pt\tilde{\phi}=\phi+\int_{0}^{\theta}\mathrm{d}\theta^{\prime}\frac{\omega_{\mathrm{p}}(\bm{P})-\dot{\phi}(\bm{P},\theta^{\prime})}{\dot{\theta}(\bm{P},\theta^{\prime})},\end{array}\right. (3)

where α\alpha is the gyro-angle, θ\theta and ϕ\phi are the poloidal and toroidal angles, respectively, 𝑷(Pα,Pθ,Pϕ)\bm{P}\equiv(P_{\alpha},P_{\theta},P_{\phi}) are the action coordinates, canonical to the angles (α~,θ~,ϕ~)(\tilde{\alpha},\tilde{\theta},\tilde{\phi}). Furthermore, ωc\omega_{\mathrm{c}} (ω¯c\bar{\omega}_{\mathrm{c}}) is the (time averaged) gyro-frequency and ωB\omega_{\mathrm{B}} and ωp\omega_{\mathrm{p}} are the bounce and precession frequencies, respectively. The integrals of eq. (3) are evaluated on the poloidal coordinates along the guiding center orbits.

FOXTAIL uses the adiabatic invariants 𝑱(μ,Λ,Pϕ)\bm{J}\equiv(\mu,\Lambda,P_{\phi}) as momentum coordinates (Λ=μB0/W\Lambda=\mu B_{0}/W is the normalized magnetic moment, where B0B_{0} is the on-axis magnetic field strength). These momentum coordinates can be expressed as functions of 𝑷\bm{P}. The angle coordinates (α~,θ~,ϕ~)(\tilde{\alpha},\tilde{\theta},\tilde{\phi}) are referred to as the transformed gyro-angle, poloidal angle and toroidal angle, respectively. In the equilibrium system, where the momentum coordinates 𝑱\bm{J} are constant, the transformed angles evolve at a constant velocity (ω¯c,ωB,ωp)(\bar{\omega}_{\mathrm{c}},\omega_{\mathrm{B}},\omega_{\mathrm{p}}). The dynamics in the FOXTAIL model is averaged over gyration time scales, and consequently α~\tilde{\alpha} is an ignorable coordinate of the system.

The transformed poloidal angle, θ~\tilde{\theta}, can be viewed as an index of the location of the particle in the guiding center orbit, where θ~:02π\tilde{\theta}:0\to 2\pi is a complete period of the guiding center orbit in the poloidal plane (θ~=0\tilde{\theta}=0 is defined as the point where the outer leg of the orbit intersects with the equatorial plane). In section 2.5, it is shown that a Fourier expansion of the instant acceleration of the particle in the wave field is a convenient representation of the wave–particle interactions.

Complications arise for the θ~\tilde{\theta} coordinate close to the boundary ωB=0\omega_{\mathrm{B}}=0, where the particle asymptotically approaches one of the turning points. In this limit, all points along the orbit besides the turning points are represented by infinitely narrow intervals in θ~\tilde{\theta}, and the representation of the wave–particle interaction using Fourier series expansions in θ~\tilde{\theta}-space becomes invalid. These complications can potentially be resolved either by ad hoc boundary conditions or by more sophisticated coordinate transformations close to this boundary. However, all of the numerical studies presented in this paper consider scenarios where the simulated energetic particle distributions are sufficiently far from the boundary.

2.4 Orbit solver

FOX contains subroutines that solves the 3D motion of particles in a given equilibrium field configuration on a grid in 𝑱\bm{J}-space. The equilibrium configuration and the particle orbits are described in ψ,θ,ϕ\psi,\theta,\phi-space, where ψ\psi is the poloidal magnetic flux per radian. For each orbit on the 𝑱\bm{J}-grid, the time evolution of ψ\psi, θ\theta and ϕs\phi_{\mathrm{s}} is calculated, where ϕsϕϕ~+ωpθ~/ωB\phi_{\mathrm{s}}\equiv\phi-\tilde{\phi}+\omega_{\mathrm{p}}\tilde{\theta}/\omega_{\mathrm{B}} is the shifted toroidal coordinate (ϕs\phi_{\mathrm{s}} is ϕ\phi shifted such that ϕs=0\phi_{\mathrm{s}}=0 coincides with θ~=0\tilde{\theta}=0). The equilibrium configuration is taken to be axisymmetric. Assuming MHD force balance and nested magnetic flux surfaces, the equilibrium magnetic field can be expressed as

𝑩=F(ψ)ϕ+ϕ×ψ.\bm{B}=F(\psi)\nabla\phi+\nabla\phi\times\nabla\psi. (4)

The guiding center motion consists of a parallel motion and a drift motion, where the drift is given by the combined 𝑬×𝑩\bm{E}\times\bm{B}, B\nabla B and curvature drifts according to

𝒗d=𝑬×𝑩B2+μ(2B0ΛB)ZeΛB3𝑩×B.\bm{v}_{\mathrm{d}}=\frac{\bm{E}\times\bm{B}}{B^{2}}+\frac{\mu(2B_{0}-\Lambda B)}{Ze\Lambda B^{3}}\bm{B}\times\nabla B. (5)

By combining W=mv2/2+μBW=mv_{\parallel}^{2}/2+\mu B with Pϕ=mvF/B+mvd,ϕZeψP_{\phi}=mv_{\parallel}F/B+mv_{\mathrm{d},\phi}-Ze\psi and eliminating vv_{\parallel}, it can be shown that the coordinates of the guiding center orbits in the poloidal plane follow the equation

f(ψ,θ,𝑱)=0,f(\psi,\theta,\bm{J})=0, (6)

where

f(ψ,θ,𝑱)\displaystyle f(\psi,\theta,\bm{J}) 1ΛB(ψ,θ)B0ΛB2(ψ,θ)2mμB0F2(ψ)\displaystyle\equiv 1-\frac{\Lambda B(\psi,\theta)}{B_{0}}-\frac{\Lambda B^{2}(\psi,\theta)}{2m\mu B_{0}F^{2}(\psi)}
×[Pϕ+Zeψmvd,ϕ(ψ,θ,μ,Λ)]2,\displaystyle\quad\,\times[P_{\phi}+Ze\psi-mv_{\mathrm{d},\phi}(\psi,\theta,\mu,\Lambda)]^{2}, (7)
vd,ϕ(ψ,θ,μ,Λ)\displaystyle v_{\mathrm{d},\phi}(\psi,\theta,\mu,\Lambda) =Eψ(ψ,θ)B2(ψ,θ)μ[2B0ΛB(ψ,θ)]ZeΛB3(ψ,θ)\displaystyle=\frac{E^{\psi}(\psi,\theta)}{B^{2}(\psi,\theta)}-\frac{\mu[2B_{0}-\Lambda B(\psi,\theta)]}{Ze\Lambda B^{3}(\psi,\theta)}
×[B(ψ,θ)]ψ\displaystyle\quad\,\times[\nabla B(\psi,\theta)]^{\psi} (8)

is the covariant toroidal component of the drift velocity, EψE^{\psi} and [B]ψ[\nabla B]^{\psi} are the contravariant ψ\psi-components of 𝑬\bm{E} and B\nabla B, respectively, and mm is the particle mass.

Once the projections of the orbits on the poloidal plane are solved on the chosen 𝑱\bm{J}-grid using eq. (6), the corresponding time coordinates are calculated according to

t(ψ)=ψ0ψdψψ˙,t(\psi)=\int_{\psi_{0}}^{\psi}\frac{\mathrm{d}\psi}{\dot{\psi}}, (9)

where

ψ˙=JFEθgθθEϕJ2B2μF(2B0ΛB)ZeΛJB3Bθ,\dot{\psi}=\frac{JFE_{\theta}-g_{\theta\theta}E_{\phi}}{J^{2}B^{2}}-\frac{\mu F(2B_{0}-\Lambda B)}{Ze\Lambda JB^{3}}\frac{\partial B}{\partial\theta}, (10)
J(𝒓ψ×𝒓θ)𝒓ϕ,J\equiv\left(\frac{\partial\bm{r}}{\partial\psi}\times\frac{\partial\bm{r}}{\partial\theta}\right)\cdot\frac{\partial\bm{r}}{\partial\phi}, (11)

and ψ(t=0)=ψ0\psi(t=0)=\psi_{0} is defined as the point where the outer leg of the guiding center orbit intersects the equatorial plane (θ~=0\tilde{\theta}=0). Similarly, the ϕs\phi_{\mathrm{s}} coordinates are calculated from the toroidal velocity according to

ϕs(t)=0tdtϕ˙(𝑱,t),\phi_{\mathrm{s}}(t)=\int_{0}^{t}\mathrm{d}t^{\prime}\>\dot{\phi}(\bm{J},t^{\prime}), (12)

where

ϕ˙(𝑱,t)=Pϕ+Zeψ(𝑱,t)mR2(𝑱,t).\dot{\phi}(\bm{J},t)=\frac{P_{\phi}+Ze\psi(\bm{J},t)}{mR^{2}(\bm{J},t)}. (13)

When calculating the wave–particle interaction coefficients, the poloidal velocity is required at each point of the orbit (see eq. (22)). It is given by

θ˙\displaystyle\dot{\theta} =Pϕ+Zeψmvd,ϕmJFJFEψ+gψθEϕJ2B2\displaystyle=\frac{P_{\phi}+Ze\psi-mv_{\mathrm{d},\phi}}{mJF}-\frac{JFE_{\psi}+g_{\psi\theta}E_{\phi}}{J^{2}B^{2}}
+μF(2B0ΛB)ZeΛJB3Bψ.\displaystyle\quad\,+\frac{\mu F(2B_{0}-\Lambda B)}{Ze\Lambda JB^{3}}\frac{\partial B}{\partial\psi}. (14)

2.5 Wave field description

The present version of FOXTAIL describes the dynamics of low frequency, shear eigenmodes, such as the toroidal Alfvén eigenmodes (TAEs), but the model can be extended to describe eigenmodes with, e.g., compressible components as well.

Neglecting plasma resistivity, the general electric wave field can be represented by the two scalar potentials Φ\Phi and Ψ\Psi according to

δ𝑬=Φ+𝑩×ΨB,\delta\bm{E}=-\nabla_{\perp}\Phi+\frac{\bm{B}\times\nabla\Psi}{B}, (15)

where the first term is associated with magnetic shear, and the second term is associated with magnetic compression. When parallel gradients in the plasma are negligible in comparison to perpendicular gradients, the excitation of the two scalar potentials Φ\Phi and Ψ\Psi is almost decoupled, and it is sufficient to describe the shear Alfvén wave using the first term [4].

In an axisymmetric toroidal plasma, the scalar potential of each eigenmode (indexed by ii) can be written on the form

Φi(𝒓,t)\displaystyle\Phi_{i}(\bm{r},t) =RemCi(t)eiχi(t)Φi,m(ψ)\displaystyle=\operatorname{Re}\sum_{m}C_{i}(t)\mathrm{e}^{\mathrm{i}\chi_{i}(t)}\Phi_{i,m}(\psi)
×ei(niϕmθωit),\displaystyle\quad\,\times\mathrm{e}^{\mathrm{i}(n_{i}\phi-m\theta-\omega_{i}t)}, (16)

where CiC_{i} and χi\chi_{i} are the slowly varying amplitude and phase of the eigenmode, respectively (C˙i/Ciωi\dot{C}_{i}/C_{i}\ll\omega_{i}, χi˙ωi\dot{\chi_{i}}\ll\omega_{i}), nin_{i} is the toroidal mode number and ωi\omega_{i} is the eigenmode frequency. The electric wave field therefore given by

δ𝑬=ReiCieiχi𝑬~iei(niϕωit),\delta\bm{E}=\operatorname{Re}\sum_{i}C_{i}\mathrm{e}^{\mathrm{i}\chi_{i}}\tilde{\bm{E}}_{i}\mathrm{e}^{\mathrm{i}(n_{i}\phi-\omega_{i}t)}, (17)

where

𝑬~i\displaystyle\tilde{\bm{E}}_{i} =meimθ([iΦi,mgψθGi,mdΦi,mdψ]ψ+iΦi,m\displaystyle=\sum_{m}\mathrm{e}^{-\mathrm{i}m\theta}\bigg{(}\left[\mathrm{i}\Phi_{i,m}g_{\psi\theta}G_{i,m}-\frac{\mathrm{d}\Phi_{i,m}}{\mathrm{d}\psi}\right]\nabla\psi+\mathrm{i}\Phi_{i,m}
×[(gθθGi,m+m)θ+(JFGi,mni)ϕ]),\displaystyle\quad\,\times\Big{[}(g_{\theta\theta}G_{i,m}+m)\nabla\theta+(JFG_{i,m}-n_{i})\nabla\phi\Big{]}\bigg{)}, (18)

Gi,m(niJFmR2)/(J2R2B2)G_{i,m}\equiv(n_{i}JF-mR^{2})/(J^{2}R^{2}B^{2}).

2.6 Fourier series expansion of fast particle–Alfvén eigenmode interaction

The acceleration of the energetic particle in the wave field is described by the equation

W˙=Ze𝒗δ𝑬Ze𝒗δ𝑬g,\dot{W}=Ze\bm{v}\cdot\delta\bm{E}\approx Ze\langle\bm{v}\cdot\delta\bm{E}\rangle_{\mathrm{g}}, (19)

where g\langle\cdot\rangle_{\mathrm{g}} averages over the gyro-motion. Initial versions of FOXTAIL only consider the lowest order averaging over the gyro-motion, but gyro-kinetic corrections to the averaging may be included in later versions. The averaged 𝒗δ𝑬\bm{v}\cdot\delta\bm{E} can be written as

𝒗δ𝑬g=𝒗gδ𝑬g+μZeδBSgt,\langle\bm{v}\cdot\delta\bm{E}\rangle_{\mathrm{g}}=\langle\bm{v}\rangle_{\mathrm{g}}\cdot\langle\delta\bm{E}\rangle_{\mathrm{g}}+\frac{\mu}{Ze}\frac{\partial\langle\delta B_{\parallel}\rangle_{S_{\mathrm{g}}}}{\partial t}, (20)

where δBSg\langle\delta B_{\parallel}\rangle_{S_{\mathrm{g}}} averages the parallel magnetic wave field over the surface SgS_{\mathrm{g}} enclosed by the gyro-ring (generated by the span of the gyro-angle. For shear waves, the δB\delta B_{\parallel} term can be neglected, and we are left with

W˙=Ze𝒗gδ𝑬g=ReiCieiχiViei(niϕωit),\dot{W}=Ze\langle\bm{v}\rangle_{\mathrm{g}}\cdot\langle\delta\bm{E}\rangle_{\mathrm{g}}=\operatorname{Re}\sum_{i}C_{i}\mathrm{e}^{\mathrm{i}\chi_{i}}V_{i}\mathrm{e}^{\mathrm{i}(n_{i}\phi-\omega_{i}t)}, (21)

where

Vi(𝑱,t)=Ze(ψ˙E~ψ+θ˙E~θ+ϕ˙E~ϕ),V_{i}(\bm{J},t)=Ze(\dot{\psi}\tilde{E}_{\psi}+\dot{\theta}\tilde{E}_{\theta}+\dot{\phi}\tilde{E}_{\phi}), (22)

ψ˙(𝑱,t)\dot{\psi}(\bm{J},t), θ˙(𝑱,t)\dot{\theta}(\bm{J},t) and ϕ˙(𝑱,t)\dot{\phi}(\bm{J},t) are the guiding center velocities, given by eqs. (10), (2.4) and (13), respectively, and E~ψ(ψ(t),θ(t))\tilde{E}_{\psi}(\psi(t),\theta(t)), E~θ(ψ(t),θ(t))\tilde{E}_{\theta}(\psi(t),\theta(t)) and E~ϕ(ψ(t),θ(t))\tilde{E}_{\phi}(\psi(t),\theta(t)) are given by eq. (18).

All guiding center coordinates (ψ,θ,ϕs)(\psi,\theta,\phi_{\mathrm{s}}) and their velocities can be written as functions of 𝑱\bm{J} and θ~\tilde{\theta}. It is then possible to write W˙\dot{W} on a very compact form using action–angle coordinates:

W˙=Rei,CieiχiVi,ei(θ~+niϕ~ωit),\dot{W}=\operatorname{Re}\sum_{i,\ell}C_{i}\mathrm{e}^{\mathrm{i}\chi_{i}}V_{i,\ell}\mathrm{e}^{\mathrm{i}(\ell\tilde{\theta}+n_{i}\tilde{\phi}-\omega_{i}t)}, (23)

where

Vi,(𝑱)\displaystyle V_{i,\ell}(\bm{J}) =Ze2π02πdθ~Vi(θ~,𝑱)\displaystyle=\frac{Ze}{2\pi}\int_{0}^{2\pi}\mathrm{d}\tilde{\theta}\>V_{i}(\tilde{\theta},\bm{J})
×exp[i(ni[ϕs(θ~,𝑱)ωp(𝑱)ωB(𝑱)θ~]θ~)]\displaystyle\quad\,\times\exp\bigg{[}\mathrm{i}\bigg{(}n_{i}\left[\phi_{\mathrm{s}}(\tilde{\theta},\bm{J})-\frac{\omega_{\mathrm{p}}(\bm{J})}{\omega_{\mathrm{B}}(\bm{J})}\tilde{\theta}\right]-\ell\tilde{\theta}\bigg{)}\bigg{]} (24)

The coefficients Vi,V_{i,\ell} are the Fourier series expansion of the wave–particle interaction that named the FOX code. It can be seen in eq. (23) that a wave–particle resonance is characterized by the condition ωB+niωpωi\ell\omega_{\mathrm{B}}+n_{i}\omega_{\mathrm{p}}\approx\omega_{i}. The model is very efficient in the sense that one can select the relevant modes ii and coefficients \ell that are close to resonant with an ensemble of energetic particles and neglect all other modes and non-resonant Fourier coefficients. If the relevant coefficients only have =0\ell=0, θ~\tilde{\theta} becomes an ignorable coordinate of the system, and the shortest time scales that need to be resolved in simulations using TAIL are the precession time scales, ωp1\omega_{\mathrm{p}}^{-1}.

As was mentioned in section 2.3, complications arise for the choice of action–angle coordinates when describing the wave–particle interaction in regions where ωB0\omega_{\mathrm{B}}\approx 0. This is explicitly seen in eq. (24), where ωp/ωB\omega_{\mathrm{p}}/\omega_{\mathrm{B}}\to\infty, and the integrand oscillates infinitely fast in θ~\tilde{\theta}. Vi(θ~,𝑱)V_{i}(\tilde{\theta},\bm{J}) is bounded, and constant for all θ~\tilde{\theta} in this limit except for the infinitely narrow intervals that do not represent the turning points. For this reason, it can be understood that Vi,V_{i,\ell} tends to zero towards the ωB=0\omega_{\mathrm{B}}=0 boundary surface. Note that the sum of eq. (23) over all integers \ell\in\mathbb{Z} should remain finite, given that particles can be accelerated across these surfaces by wave fields.

2.7 Lagrangian formulation of wave–particle interaction

A model for describing the dynamics of the momentum variables (μ,Λ,Pϕ)(\mu,\Lambda,P_{\phi}) and the amplitudes and phases of the eigenmodes remains to be found. Such a model can be derived from a Lagrangian formulation of the wave–particle system. We consider additions to the equilibrium Lagrangian by power series of the eigenmode amplitude CiC_{i}.

Expressed in action–angle variables, the zeroth order Lagrangian reads [13]

0=k[Pα,kα~˙k+Pθ,kθ~˙k+Pϕ,kϕ~˙k0(𝑷k)],\mathcal{L}_{0}=\sum_{k}\left[P_{\alpha,k}\dot{\tilde{\alpha}}_{k}+P_{\theta,k}\dot{\tilde{\theta}}_{k}+P_{\phi,k}\dot{\tilde{\phi}}_{k}-\mathcal{H}_{0}(\bm{P}_{k})\right], (25)

where kk is the particle index, and 0\mathcal{H}_{0}, satisfying

0𝑷=(ω¯c,ωB,ωp),\frac{\partial\mathcal{H}_{0}}{\partial\bm{P}}=(\bar{\omega}_{\mathrm{c}},\omega_{\mathrm{B}},\omega_{\mathrm{p}}), (26)

is the equilibrium Hamiltonian. A first order Lagrangian consistent with eq. (23) is

1=Imi,k,CiωieiχiVi,(𝑱k)ei(θ~k+niϕ~kωit).\mathcal{L}_{1}=\operatorname{Im}\sum_{i,k,\ell}\frac{C_{i}}{\omega_{i}}\mathrm{e}^{\mathrm{i}\chi_{i}}V_{i,\ell}(\bm{J}_{k})\mathrm{e}^{\mathrm{i}(\ell\tilde{\theta}_{k}+n_{i}\tilde{\phi}_{k}-\omega_{i}t)}. (27)

In a low-β\beta plasma, the second order Lagrangian for shear Alfvén eigenmodes can be expressed on the form [4]

2=iχ˙iCi22μ0ωidV|𝑬~i(𝒓)|2vA2(𝒓)\mathcal{L}_{2}=-\sum_{i}\frac{\dot{\chi}_{i}C_{i}^{2}}{2\mu_{0}\omega_{i}}\int\mathrm{d}V\>\frac{|\tilde{\bm{E}}_{i}(\bm{r})|^{2}}{v_{\mathrm{A}}^{2}(\bm{r})} (28)

when neglecting rapidly oscillating terms (on time scales ωi1\omega_{i}^{-1}), where μ0\mu_{0} is the vacuum permeability.

Note that the system is invariant under the transformation CieiχiκiCieiχiC_{i}\mathrm{e}^{\mathrm{i}\chi_{i}}\to\kappa_{i}C_{i}\mathrm{e}^{\mathrm{i}\chi_{i}}, Φi,mΦi,m/κi\Phi_{i,m}\to\Phi_{i,m}/\kappa_{i} for any constant κi\kappa_{i}. A normalization can be imposed by the condition

dV|𝑬~i(𝒓)|2μ0vA2(𝒓)=1\int\mathrm{d}V\>\frac{|\tilde{\bm{E}}_{i}(\bm{r})|^{2}}{\mu_{0}v_{\mathrm{A}}^{2}(\bm{r})}=1 (29)

for each mode ii. Then the second order Lagrangian reduces to

2=iχ˙iCi22ωi.\mathcal{L}_{2}=-\sum_{i}\frac{\dot{\chi}_{i}C_{i}^{2}}{2\omega_{i}}. (30)

Assuming that the amplitudes CiC_{i} are small enough, such that |1||0||\mathcal{L}_{1}|\ll|\mathcal{H}_{0}|, the corresponding Hamiltonian for the wave–particle system is =01\mathcal{H}=\mathcal{H}_{0}-\mathcal{L}_{1}, with the canonically conjugate pairs (α~k;Pα,k)(\tilde{\alpha}_{k}\,;P_{\alpha,k}), (θ~k;Pθ,k)(\tilde{\theta}_{k}\,;P_{\theta,k}), (ϕ~k;Pϕ,k)(\tilde{\phi}_{k}\,;P_{\phi,k}) and (χi;Ci2/2ωi)(-\chi_{i}\,;C_{i}^{2}/2\omega_{i}). From this, one can derive all the remaining equations of motion of the wave–particle system self-consistently.

Defining the complex amplitude AiCieiχiA_{i}\equiv C_{i}\mathrm{e}^{\mathrm{i}\chi_{i}} and using that μ=ZePα/m\mu=ZeP_{\alpha}/m, the equations of motion of the wave–particle system is

{μ˙k=0,θ~˙k=ωB(𝑱k),Λ˙k=Λk2μkB0ReiAiUi,k,ϕ~˙k=ωp(𝑱k),P˙ϕ,k=ReiniωiAiUi,k,A˙i=kUi,k,\left\{\begin{array}[]{*3{>{\displaystyle\vspace{1mm}}l}}\vskip 2.84526pt\dot{\mu}_{k}=0,&\vskip 2.84526pt\dot{\tilde{\theta}}_{k}=\omega_{\mathrm{B}}(\bm{J}_{k}),\\ \vskip 2.84526pt\dot{\Lambda}_{k}=-\frac{\Lambda_{k}^{2}}{\mu_{k}B_{0}}\operatorname{Re}\sum_{i}A_{i}U_{i,k},&\vskip 2.84526pt\dot{\tilde{\phi}}_{k}=\omega_{\mathrm{p}}(\bm{J}_{k}),\\ \vskip 2.84526pt\dot{P}_{\phi,k}=\operatorname{Re}\sum_{i}\frac{n_{i}}{\omega_{i}}A_{i}U_{i,k},&\vskip 2.84526pt\dot{A}_{i}=-\sum_{k}U_{i,k}^{*},\end{array}\right. (31)

where

Ui,kVi,(𝑱k)ei(θ~k+niϕ~kωit).U_{i,k}\equiv\sum_{\ell}V_{i,\ell}(\bm{J}_{k})\mathrm{e}^{\mathrm{i}(\ell\tilde{\theta}_{k}+n_{i}\tilde{\phi}_{k}-\omega_{i}t)}. (32)

2.8 Additional operators

The effects of particle collisions are not covered by the theory presented in the preceding sections. These effects can be added explicitly to the system, e.g. by using a diffusion operator in momentum space [14] combined with a momentum drag [15] derived from the Fokker–Planck operator, which act directly on the energetic particle distribution. Adding diffusion to the system transforms the system of ordinary differential equations in eq. (31) to a system of stochastic differential equations. The general drag–diffusion operator can be written on Itō form according to

{dμc=aμdt+𝒃μd𝑾t,dΛc=aΛdt+𝒃Λd𝑾t,dPϕ,c=aPϕdt+𝒃Pϕd𝑾t,\left\{\begin{array}[]{*3{>{\displaystyle\vspace{1mm}}l}}\vskip 2.84526pt\mathrm{d}\mu_{\mathrm{c}}=a_{\mu}\mathrm{d}t+\bm{b}_{\mu}\cdot\mathrm{d}\bm{W}_{t},\\ \vskip 2.84526pt\mathrm{d}\Lambda_{\mathrm{c}}=a_{\Lambda}\mathrm{d}t+\bm{b}_{\Lambda}\cdot\mathrm{d}\bm{W}_{t},\\ \vskip 2.84526pt\mathrm{d}P_{\phi,\mathrm{c}}=a_{P_{\phi}}\mathrm{d}t+\bm{b}_{P_{\phi}}\cdot\mathrm{d}\bm{W}_{t},\end{array}\right. (33)

where a𝑱a_{\bm{J}} is associated with drag, 𝒃𝑱\bm{b}_{\bm{J}} is associated with diffusion and the components of 𝑾t\bm{W}_{t} are independent Wiener processes in time. Both a𝑱a_{\bm{J}} and 𝒃𝑱\bm{b}_{\bm{J}} are functions of 𝑱\bm{J} and θ~\tilde{\theta} in general, but orbit averaged (i.e. θ~\tilde{\theta} averaged) versions of the operators may be used for simplicity (see e.g. Ref. [16]).

There are other processes external to the energetic particle–Alfvén eigenmode system which may be included. Depending on the source of the energetic particle distribution (e.g. neutral beam injection, cyclotron resonance heating or nuclear fusion), operators can be added that continuously supply particles and/or energy to the system. Particle sources are typically modeled by dynamical weights and statistical redistribution of markers. Losses from Bremsstrahlung and cyclotron radiation can be modeled by additions to the a𝑱a_{\bm{J}} terms in eq. (33).

An additional γd,iAi-\gamma_{\mathrm{d},i}A_{i} term can be added to the amplitude equation (A˙i\dot{A}_{i} in eq. (31)) in order to model various damping mechanisms on the eigenmode amplitudes, where γd,i\gamma_{\mathrm{d},i} is the damping rate of the ii:th mode. This damping can, e.g., come from Landau damping in the interaction with thermal particles or damping due to mode conversion. The γd,iAi-\gamma_{\mathrm{d},i}A_{i} term of the amplitude equation is here referred to as explicit wave damping, unlike the Landau damping coming from the interaction with the energetic particle distribution, which arises implicitly from the model equations.

2.9 Lowest order corrections to the angle perturbation

When going from the Lagrangians of eqs. (25), (27) and (30) to eq. (31), it was assumed that |1||0||\mathcal{L}_{1}|\ll|\mathcal{H}_{0}|, which allowed one to neglect corrections of the canonical momenta coming from the implicit dependence of 1\mathcal{L}_{1} with respect to θ~˙\dot{\tilde{\theta}} and ϕ~˙\dot{\tilde{\phi}}. For a small enough 1\mathcal{L}_{1}, the final equations for θ~˙\dot{\tilde{\theta}} and ϕ~˙\dot{\tilde{\phi}} are given only by the derivatives of the equilibrium Hamiltonian 0\mathcal{H}_{0} with respect to PθP_{\theta} and PϕP_{\phi}, respectively. However, the above assumptions might not be valid for large amplitude eigenmodes and for processes affecting the energetic particles or the eigenmodes that are not direct wave–particle interaction, and one may have to consider the lowest order correction to θ~˙\dot{\tilde{\theta}} and ϕ~˙\dot{\tilde{\phi}} due to momentum perturbation. The correction can be understood from the fact that θ~\tilde{\theta} maps differently to locations on the guiding center orbit for different 𝑱\bm{J}. Without the correction, one pushes the particle forwards or backwards along the orbit due to different mapping of θ~\tilde{\theta}.

Assuming a minimal perturbation of the guiding center position in R,ZR,Z-space while perturbing 𝑱\bm{J} by the amount d𝑱\mathrm{d}\bm{J}, it can be shown that θ~\tilde{\theta} should be corrected by the amount θ~/𝑱d𝑱\partial\tilde{\theta}/\partial\bm{J}\cdot\mathrm{d}\bm{J}, where

θ~𝑱=ωBR˙2+Z˙2(R˙R𝑱+Z˙Z𝑱),\frac{\partial\tilde{\theta}}{\partial\bm{J}}=-\frac{\omega_{\mathrm{B}}}{\dot{R}^{2}+\dot{Z}^{2}}\left(\dot{R}\frac{\partial R}{\partial\bm{J}}+\dot{Z}\frac{\partial Z}{\partial\bm{J}}\right), (34)

RR is the distance from the symmetry axis and ZZ is the vertical guiding center position. Using that ϕ~=ϕϕs+ωpθ~/ωB\tilde{\phi}=\phi-\phi_{\mathrm{s}}+\omega_{\mathrm{p}}\tilde{\theta}/\omega_{\mathrm{B}}, it can be shown that

ϕ~𝑱\displaystyle\frac{\partial\tilde{\phi}}{\partial\bm{J}} =ϕ˙ωpR˙2+Z˙2(R˙R𝑱+Z˙Z𝑱).\displaystyle=\frac{\dot{\phi}-\omega_{\mathrm{p}}}{\dot{R}^{2}+\dot{Z}^{2}}\left(\dot{R}\frac{\partial R}{\partial\bm{J}}+\dot{Z}\frac{\partial Z}{\partial\bm{J}}\right).
+𝑱(ωpωBθ~ϕs).\displaystyle\quad\,+\frac{\partial}{\partial\bm{J}}\left(\frac{\omega_{\mathrm{p}}}{\omega_{\mathrm{B}}}\tilde{\theta}-\phi_{\mathrm{s}}\right). (35)

All the derivatives with respect to 𝑱\bm{J} on the right hand sides of eqs. (34) and (2.9) are evaluated while keeping θ~\tilde{\theta} constant.

When the 𝑱\bm{J} perturbations of any process is stochastic (𝒃𝑱\bm{b}_{\bm{J}} of eq. (33) is nonzero), the angle coordinates become stochastic as well when including the θ~/𝑱\partial\tilde{\theta}/\partial\bm{J} and ϕ~/𝑱\partial\tilde{\phi}/\partial\bm{J} corrections. This is typically how phase decorrelation is introduced to the system. Such an operator was analyzed for the one-dimensional bump-on-tail model in Ref. [17].

2.10 Summary of the TAIL model equations

To summarize, the model equations used by TAIL are

{dθ~k=ωB(𝑱k)dt+θ~(θ~k,𝑱k)𝑱d𝑱k,dϕ~k=ωp(𝑱k)dt+ϕ~(θ~k,𝑱k)𝑱d𝑱k,dμk=dμc(𝑱k),dΛk=Λk2μkB0ReiAiUi,kdt+dΛc(𝑱k),P˙ϕ,k=ReiniωiAiUi,k+dPϕ,c(𝑱k),A˙i=kwkUi,kγd,iAi,\left\{\begin{array}[]{*3{>{\displaystyle\vspace{1mm}}l}}\vskip 2.84526pt\mathrm{d}\tilde{\theta}_{k}=\omega_{\mathrm{B}}(\bm{J}_{k})\mathrm{d}t+\frac{\partial\tilde{\theta}(\tilde{\theta}_{k},\bm{J}_{k})}{\partial\bm{J}}\cdot\mathrm{d}\bm{J}_{k},\\ \vskip 2.84526pt\mathrm{d}\tilde{\phi}_{k}=\omega_{\mathrm{p}}(\bm{J}_{k})\mathrm{d}t+\frac{\partial\tilde{\phi}(\tilde{\theta}_{k},\bm{J}_{k})}{\partial\bm{J}}\cdot\mathrm{d}\bm{J}_{k},\\ \vskip 2.84526pt\mathrm{d}\mu_{k}=\mathrm{d}\mu_{\mathrm{c}}(\bm{J}_{k}),\\ \vskip 2.84526pt\mathrm{d}\Lambda_{k}=-\frac{\Lambda_{k}^{2}}{\mu_{k}B_{0}}\operatorname{Re}\sum_{i}A_{i}U_{i,k}\mathrm{d}t+\mathrm{d}\Lambda_{\mathrm{c}}(\bm{J}_{k}),\\ \vskip 2.84526pt\dot{P}_{\phi,k}=\operatorname{Re}\sum_{i}\frac{n_{i}}{\omega_{i}}A_{i}U_{i,k}+\mathrm{d}P_{\phi,\mathrm{c}}(\bm{J}_{k}),\\ \vskip 2.84526pt\dot{A}_{i}=-\sum_{k}w_{k}U_{i,k}^{*}-\gamma_{\mathrm{d},i}A_{i},\end{array}\right. (36)

where kk is now the marker index with weight wkw_{k}, and (dμc,dΛc,dPϕ,c)(\mathrm{d}\mu_{\mathrm{c}},\mathrm{d}\Lambda_{\mathrm{c}},\mathrm{d}P_{\phi,\mathrm{c}}) represents additional differential operators acting on the momentum space of markers. The total wave–particle energy of the system can be defined as

Wtot\displaystyle W_{\mathrm{tot}} kwkWk+i|Ai|22\displaystyle\equiv\sum_{k}w_{k}W_{k}+\sum_{i}\frac{|A_{i}|^{2}}{2}
=kwkμkB0Λk+i|Ai|22.\displaystyle=\sum_{k}w_{k}\frac{\mu_{k}B_{0}}{\Lambda_{k}}+\sum_{i}\frac{|A_{i}|^{2}}{2}. (37)

In the absence of explicit wave damping and particle sources and sinks, it can easily be shown that

W˙tot=kwkμkB0Λk2Λ˙k+ReiAiA˙i=0,\dot{W}_{\mathrm{tot}}=-\sum_{k}\frac{w_{k}\mu_{k}B_{0}}{\Lambda_{k}^{2}}\dot{\Lambda}_{k}+\operatorname{Re}\sum_{i}A_{i}\dot{A}_{i}^{*}=0, (38)

which is consistent with the condition for energy conservation in eq. (1).

3 Code implementation

As input, FOX takes a file that contains all information characterizing the equilibrium configuration on a format compatible with Integrated Tokamak Modelling standards [18]. All scalar fields, such as BB, JJ and FF, are specified on a grid in ψ,θ\psi,\theta-space. The user defines an equidistant grid in 𝑱\bm{J}-space, where all guiding center orbits are to be solved in the given equilibrium. Equation (6) is then solved for each 𝑱\bm{J} on the grid by bilinear interpolation of ff in ψ,θ\psi,\theta-space. An example of such a solution is shown in Fig. 2. The solution method is optimal for wide orbits, whereas thinner orbits require a large enough ψ\psi resolution of the equilibrium.

Once the guiding center orbit points are found in the poloidal plane, the time dependence of the orbit is calculated using eq. (9). Numerically, the integration is performed by assuming ψ¨\ddot{\psi} to be constant between adjacent points of the guiding center orbit. This assumption generates the approximation

tj=ψ0ψjdψψ˙2k=1jψkψk1ψ˙k+ψ˙k1,t_{j}=\int_{\psi_{0}}^{\psi_{j}}\frac{\mathrm{d}\psi}{\dot{\psi}}\approx 2\sum_{k=1}^{j}\frac{\psi_{k}-\psi_{k-1}}{\dot{\psi}_{k}+\dot{\psi}_{k-1}}, (39)

where (ψj,θj)(\psi_{j},\theta_{j}) is the jj:th ψ,θ\psi,\theta-point along the orbit and ψ˙j\dot{\psi}_{j} is ψ˙\dot{\psi} evaluated at (ψj,θj)(\psi_{j},\theta_{j}). Equation (39) becomes singular at the points where ψ˙j=ψ˙j1\dot{\psi}_{j}=-\dot{\psi}_{j-1}. Close to such a singularity, or when the ψ,θ\psi,\theta-grid is coarse, large or even non-monotonous time coordinates may result. When these events are identified,111“Large” time steps are identified by FOX using the condition |ψ˙j|>C|ψj+1ψj|/|tj+1tj||\dot{\psi}_{j}|>C|\psi_{j+1}-\psi_{j}|/|t_{j+1}-t_{j}|, where the constant C=4C=4. FOX successively eliminates points along the guiding center orbit until all time steps are small and monotonous. The ϕs\phi_{\mathrm{s}} coordinates of the orbit are then solved simply by using the trapezoidal method on eq. (12).

Refer to caption
Figure 2: Guiding center orbit in the poloidal plane solved by FOX in an ITER equilibrium, using a deuterium ion with μ=4 MeV/T\mu=$4\text{\,}\mathrm{M}\mathrm{e}\mathrm{V}\mathrm{/}\mathrm{T}$, Λ=0.85\Lambda=0.85 and Pϕ=5 eVsP_{\phi}=$5\text{\,}\mathrm{e}\mathrm{V}\mathrm{s}$ (1 eV1\text{\,}\mathrm{e}\mathrm{V} = 1.6022×1019 J1.6022\text{\times}{10}^{-19}\text{\,}\mathrm{J}).

The eigenfunctions of the wave field, Φi,m(ψ)\Phi_{i,m}(\psi) and the corresponding mode frequencies ω\omega are solved by using the analytical approximations presented in Ref. [19]. Future versions of FOXTAIL intend to use the MHD eigenmode analyzer code MISHKA [20, 21, 22, 23] to solve the TAEs numerically. Besides ideal MHD effects, MISHKA also considers effects from finite ion Larmor radii, ion and electron drift, neoclassical ion viscosity and bootstrap current, indirect energetic ion effects and the collisionless skin effect. The interaction coefficients Vi,V_{i,\ell} are calculated from eq. (24) on each point on the 𝑱\bm{J}-grid also by using the trapezoidal method.

The user specifies which mode–Fourier coefficient pairs to be calculated by FOX. All bounce frequencies, precession frequencies, interaction coefficients, mode frequencies and toroidal mode numbers are then collected in a single output file. A separate output file is generated that contains all initial conditions used in a specific TAIL simulation, which contains the initial energetic particle distribution, flags on the mode–Fourier coefficient pairs to be active in the simulation, initial mode amplitudes, etc.

In the absence of collisions, the TAIL model equations of eq. (31) defines a system of ordinary differential equation, which is solved numerically using the standard 4th order Runge-Kutta method. When momentum diffusion is present, the model equations instead become a system of stochastic differential equations, which can be modeled numerically, e.g. by using an Itō–Taylor numerical scheme [24].

4 Numerical studies

4.1 Comparison with the 1D bump-on-tail model

One of the possible applications of FOXTAIL is to determine whether a one-dimensional bump-on-tail approximation of the system is sufficient to capture the essential wave–particle dynamics, such as growth rate and saturation amplitude. A higher computational efficiency typically follows from the lower dimensionality of the approximation. However, the 1D bump-on-tail model is only valid within certain parameter regimes. Section 4.1 presents a quantitative numerical study of these regimes.

4.1.1 Theoretical comparison

A simple bump-on-tail model, neglecting collisions, explicit wave damping and particle sources and sinks, can be written on the form [17]

dξkdτ=uk,dukdτ=Re(A~eiξk),dA~dτ=keiξk,\frac{\mathrm{d}\xi_{k}}{\mathrm{d}\tau}=u_{k},\leavevmode\nobreak\ \frac{\mathrm{d}u_{k}}{\mathrm{d}\tau}=\operatorname{Re}(\tilde{A}\mathrm{e}^{\mathrm{i}\xi_{k}}),\leavevmode\nobreak\ \frac{\mathrm{d}\tilde{A}}{\mathrm{d}\tau}=-\sum_{k}\mathrm{e}^{-\mathrm{i}\xi_{k}}, (40)

where τ\tau is the time coordinate, ξ\xi is the particle phase, uu is the particle momentum and A~\tilde{A} is the complex eigenmode amplitude.

Now, consider the FOXTAIL model, only including a single mode ii and a single Fourier coefficient \ell. We define the particle phase as

ξkθ~k+niϕ~kωit,\xi_{k}\equiv\ell\tilde{\theta}_{k}+n_{i}\tilde{\phi}_{k}-\omega_{i}t, (41)

and the relative wave–particle frequency as

Ω(𝑱k)ξ˙k=ωB(𝑱k)+niωp(𝑱k)ωi.\Omega(\bm{J}_{k})\equiv\dot{\xi}_{k}=\ell\omega_{\mathrm{B}}(\bm{J}_{k})+n_{i}\omega_{\mathrm{p}}(\bm{J}_{k})-\omega_{i}. (42)

Next, we define a new momentum coordinate system 𝑲(μ,S,W)\bm{K}\equiv(\mu,S,W), where both μ\mu and

SWωiniPϕS\equiv W-\frac{\omega_{i}}{n_{i}}P_{\phi} (43)

are constants of motion as particles move along the wave–particle characteristic curves of mode ii.

Assuming that the energetic particle distribution is located in a neighborhood around the wave–particle resonance 𝑲res\bm{K}_{\mathrm{res}} (such that Ω(𝑲res)=0\Omega(\bm{K}_{\mathrm{res}})=0) where Ω=Ω/W\Omega^{\prime}=\partial\Omega/\partial W and the interaction coefficient Vi,V_{i,\ell} is constant in 𝑲\bm{K}, the coordinate substitution

{τt/t~,A~t~2Ω(𝑲res)Vi,(𝑲res)Ai,ukt~Ω(𝑲k),t~(Ω|Vi,|2)𝑲res1/3,\left\{\begin{array}[]{*3{>{\displaystyle\vspace{1mm}}l}}\vskip 2.84526pt\tau\equiv t/\tilde{t},&\vskip 2.84526pt\tilde{A}\equiv\tilde{t}^{2}\Omega^{\prime}(\bm{K}_{\mathrm{res}})V_{i,\ell}(\bm{K}_{\mathrm{res}})A_{i},\\ \vskip 2.84526ptu_{k}\equiv\tilde{t}\Omega(\bm{K}_{k}),&\vskip 2.84526pt\tilde{t}\equiv\left(\Omega^{\prime}|V_{i,\ell}|^{2}\right)_{\bm{K}_{\mathrm{res}}}^{-1/3},\end{array}\right. (44)

transforms the FOXTAIL model exactly to the 1D bump-on-tail model of eq. (40). Note that the substitutions of eq. (44) can be made for any FOXTAIL scenario, as long as one chooses a relevant eigenmode–Fourier coefficient pair and a resonant point 𝑲res\bm{K}_{\mathrm{res}}.

According to the theory of the 1D bump-on-tail model, the linear growth rate of the mode (|A~(τ)|A~0eγLτ|\tilde{A}(\tau)|\approx\tilde{A}_{0}\mathrm{e}^{\gamma_{\mathrm{L}}\tau}) is [17]

γL=π2dF~0du|u=0,\gamma_{\mathrm{L}}=\frac{\pi}{2}\left.\frac{\mathrm{d}\tilde{F}_{0}}{\mathrm{d}u}\right|_{u=0}, (45)

where F~0\tilde{F}_{0} is the initial distribution function in uu. The growth rate in time tt can be approximated by

γL=π2|Vi,(𝑲res)|2Ω(𝑲res)dF0dW|Wres,\gamma_{\mathrm{L}}=\frac{\pi}{2}\frac{|V_{i,\ell}(\bm{K}_{\mathrm{res}})|^{2}}{\Omega^{\prime}(\bm{K}_{\mathrm{res}})}\left.\frac{\mathrm{d}F_{0}}{\mathrm{d}W}\right|_{W_{\mathrm{res}}}, (46)

where F0F_{0} is the WW distribution of energetic particles along the characteristic curves of wave–particle interaction (F0(W)=dμdSf0(𝑲)F_{0}(W)=\int\mathrm{d}\mu\,\mathrm{d}S\,f_{0}(\bm{K})). In the 1D bump-on-tail model, particles deeply trapped by the wave field oscillate in ξ,u\xi,u-space around the resonance with the frequency222The frequency of eq. (47) is in real time, tt. For the frequency in the normalized time, τ\tau, the expression should be multiplied by t~\tilde{t}.

ωb|A~|t~=|Ω(𝑲res)Vi,(𝑲res)Ai|.\omega_{\mathrm{b}}\approx\frac{\sqrt{|\tilde{A}|}}{\tilde{t}}=\sqrt{\left|\Omega^{\prime}(\bm{K}_{\mathrm{res}})V_{i,\ell}(\bm{K}_{\mathrm{res}})A_{i}\right|}. (47)

By comparing the numerical growth rates and other system properties of the 1D bump-on-tail model and FOXTAIL, one can make estimations of the effects of having non-constant Ω\Omega^{\prime} and interaction coefficients, and of having multiple modes and/or Fourier coefficients.

4.1.2 Simulation parameters

In this study, we consider an ITER equilibrium configuration with an energetic particle distribution consisting of 3He2+ ions. For simplicity, we neglect collisions, explicit wave damping and particle sources and sinks. In such scenarios, the amplitudes of the modes are expected to grow exponentially until saturation at an amplitude proportional to the growth rate squared [25], assuming that the modes interact more or less independently with the energetic particle distribution. Since the magnetic moment is not a dynamical variable in this system, the dimensionality of the problem can be reduced by considering an energetic particle distribution on a μ=const.\mu=\mathrm{const.} surface. An ad hoc energetic particle distribution functions is constructed, with μ=0.5 MeV/T\mu=$0.5\text{\,}\mathrm{M}\mathrm{e}\mathrm{V}\mathrm{/}\mathrm{T}$ (1 eV1\text{\,}\mathrm{e}\mathrm{V} = 1.6022×1019 J1.6022\text{\times}{10}^{-19}\text{\,}\mathrm{J}). The distribution in WW and SS are chosen to be Gaussians localized near the two resonances defined by (ni,)=(5,1)(n_{i},\ell)=(5,1) and (ni,)=(6,1)(n_{i},\ell)=(6,1).

Refer to caption
Figure 3: The orbit categories, the bounce and the precession frequencies of trapped 3He2+ ions on a Λ,Pϕ\Lambda,P_{\phi}-grid with μ=0.5 MeV/T\mu=$0.5\text{\,}\mathrm{M}\mathrm{e}\mathrm{V}\mathrm{/}\mathrm{T}$. Category 0 orbits cross the last flux surface. For other categories, the convention of Ref. [26] is used.
Refer to caption
Figure 4: The interaction coefficient |Vi,||V_{i,\ell}| plotted in 𝑱\bm{J}-space, with μ=0.5 MeV/T\mu=$0.5\text{\,}\mathrm{M}\mathrm{e}\mathrm{V}\mathrm{/}\mathrm{T}$. The bold purple curves are the resonant curves ωB+niωp=ωi\ell\omega_{\mathrm{B}}+n_{i}\omega_{\mathrm{p}}=\omega_{i} for =1\ell=1 and i=1i=1 (Fig. 4.a), i=2i=2 (Fig. 4.b). The thin black curves are the same resonant curves, but for ={2,1,0,2}\ell=\{-2,-1,0,2\}. The dashed curves are the wave–particle characteristic curves for the corresponding mode.
Refer to caption
Figure 5: The energetic particle distributions of this study is placed close to the =1\ell=1 resonant curves. Figure 5.a shows the 3σ\sigma curves for the Gaussian distributions of the energetic particles (97 % of the particles are contained within the 3σ\sigma curves). The solid black curve is the “narrow” initial distribution, and the dashed black curve is the “wide” initial distribution. The solid purple curve is the (i,)=(1,1)(i,\ell)=(1,1) resonance, and the dashed purple curve is the (i,)=(2,1)(i,\ell)=(2,1) resonance. The reference point (blue dot) used for transforming to the 1D bump-on-tail coordinate system is placed on the (1,1)(1,1) resonance. Both initial distributions have the same corresponding 1D bump-on-tail distribution, shown in Fig. 5.b, where NEPN_{\mathrm{EP}} is the total number of energetic particles. The Gaussian bump-on-tail distribution is centered at WWres=3 keVW-W_{\mathrm{res}}=$3\text{\,}\mathrm{k}\mathrm{e}\mathrm{V}$, and it has a width of σ=3 keV\sigma=$3\text{\,}\mathrm{k}\mathrm{e}\mathrm{V}$.

The chosen 𝑱\bm{J}-grid to calculate the guiding center orbits is in the region of trapped particles (category V- and VII-orbits in Fig. 3.a) on the μ=0.5 MeV/T\mu=$0.5\text{\,}\mathrm{M}\mathrm{e}\mathrm{V}\mathrm{/}\mathrm{T}$ surface. The corresponding bounce and precession frequencies, presented in Figs. 3.b and 3.c, respectively, are found from the time dependence of the guiding center orbits, which are solved using eqs. (9) and (12).

Two TAEs are chosen for this study: the first mode with a toroidal mode number n=5n=5, and the second one with n=6n=6. The energetic particle distribution is placed close to the resonance (i,)=(1,1)(i,\ell)=(1,1), i.e., the surface defined by ωB+5ωp=ω1\omega_{\mathrm{B}}+5\omega_{\mathrm{p}}=\omega_{1}, where ω1\omega_{1} is the frequency of the first TAE. Figure 4 shows the calculated interaction coefficients Vi,(𝑱)V_{i,\ell}(\bm{J}) for (i,)=(1,1)(i,\ell)=(1,1), Fig. 4.a, and (i,)=(2,1)(i,\ell)=(2,1), Fig. 4.b. The frequencies of the two modes are 38.2 kHz38.2\text{\,}\mathrm{k}\mathrm{H}\mathrm{z} and 40.2 kHz40.2\text{\,}\mathrm{k}\mathrm{H}\mathrm{z}, respectively. Since the precession frequency is small compared to the bounce frequency at the (1,1)(1,1) resonance, the (1,1)(1,1) and the (2,1)(2,1) resonances are almost the same in Λ,Pϕ\Lambda,P_{\phi}-space.

A reference point is chosen on the (1,1)(1,1) resonance, as shown in Fig. 5.a. Around this point, the bounce and precession frequencies are approximated to first order in W,PϕW,P_{\phi}-space, and V1,1V_{1,1} is approximated to zeroth order, when transforming from the FOXTAIL to the 1D bump-on-tail coordinate system. Two different initial distribution functions are used in these studies: one localized around the reference point and one that is more spread along the resonance. The two distributions transform to the same distribution in the 1D bump-on-tail model, shown in Fig. 5.b. The initial distributions are chosen such that there is a positive derivative of the energy distribution at the resonance, giving a positive linear growth rate according to eq. (45).

An energetic particle distribution consisting of 2.510162.5\cdot 10^{16} 3He2+ ions are distributed on 2.51052.5\cdot 10^{5} markers. The markers are spread out in phase space using quasi-random low-discrepancy sequences (a Sobol’ sequence [27] combined with the Matoušek scrambling method [28]). They are placed as a Gaussian in WW-space centered around the resonance, and then the marker weights are set such that they represent the shifted Gaussian as in Fig. 5.b. This is done in order to improve the statistics of markers around the resonance as compared to a scenario with equal weights.

Case Eigenmodes Fourier coefficients σS\sigma_{S} [keV] σW\sigma_{W} [keV] V2,1V_{2,1} factor Δω/2π\Delta\omega/2\pi [kHz] NpartN_{\mathrm{part}} [101610^{16}]
#1 i={1,2}i=\{1,2\} ={2,,2}\ell=\{-2,\ldots,2\} 5.7 3.0 1 2.0 2.5
#2 i=1i=1 =1\ell=1 5.7 3.0 2.5
#3 i={1,2}i=\{1,2\} ={2,,2}\ell=\{-2,\ldots,2\} 22.7 3.0 1 2.0 2.5
#4 i=1i=1 =1\ell=1 22.7 3.0 2.5
#5 i={1,2}i=\{1,2\} =1\ell=1 5.7 3.0 10.1 2.0 2.5
#6 i=2i=2 =1\ell=1 5.7 3.0 10.1 2.5
#7 i=1i=1 =1\ell=1 5.7 4.0 3.0
#8 i={1,2}i=\{1,2\} =1\ell=1 5.7 4.0 13.2 6.1 3.0
#9 i=2i=2 =1\ell=1 5.7 4.0 13.2 3.0
Table 1: Summary of the initial parameters used in the FOXTAIL simulations presented in Figs. 68, where σS\sigma_{S} and σW\sigma_{W} are the energy widths of the Gaussian energetic particle distribution along the resonance curve and along the characteristic curves for wave–particle interaction, respectively, Δω\Delta\omega is the frequency separation between the two modes and NpartN_{\mathrm{part}} is the amount of energetic particles that the markers represent.

4.1.3 Numerical comparison with the 1D bump-on-tail model

Here, different FOXTAIL scenarios are compared with the corresponding 1D bump-on-tail scenario by varying initial parameters such as the width of the initial energetic particle distribution along the resonances and the number of eigenmodes and Fourier coefficients to include in the simulations. Besides the 1D scenario, four FOXTAIL scenarios are presented. In the first two scenarios (referred to as cases #1 and #2), a narrow initial distribution is used (see Fig. 5.a), whereas the two latter scenarios (cases #3 and #4) use the wide initial distribution. Furthermore, cases #1 and #3 include both of the TAEs presented in section 4.1.2 and a range of Fourier coefficients 22-2\leq\ell\leq 2 for both eigenmodes. Cases #2 and #4 only include the first eigenmode (n=5n=5) and a single Fourier coefficient =1\ell=1. For a complete list of initial parameter values used in the FOXTAIL simulations presented in this paper, see Table 1.

Figure 6 shows the amplitude evolutions of the first eigenmode for the bump-on-tail simulation and FOXTAIL simulations #1 – 4. The amplitude of the second mode never grows larger than \approx 0.8 % of the amplitude of the first mode after saturation in case #1, and up to 5 % in case #3. It can immediately be seen that the two FOXTAIL scenarios with a narrow initial distribution (cases #1 and #2) agrees well with the corresponding 1D bump-on-tail scenario, both in growth rate and in saturation amplitude. On the other hand, the wider distribution (cases #3 and #4) gives a different growth rate and saturation level of the amplitude. This is presumably due to the fact that the wide distribution spans over regions where the interaction coefficient V1,1V_{1,1} is considerably lower than in the reference point, giving a lower growth rate on average.

Including multiple eigenmodes and Fourier coefficients in the simulations seem to have negligible effects on the system in the considered scenarios, both for the narrow and the wide initial distributions. The reason for why the second mode does not influence the system considerably is because it has an expected growth rate of approximately 100 times lower than the first mode, which is due to the comparably lower values of the interaction coefficient V2,1V_{2,1} in the region of the initial distribution function (recall that the growth rate scales as |Vi,|2|V_{i,\ell}|^{2}, see eq. (46)).

When comparing growth rates of the different scenarios, it should be noted that γL\gamma_{\mathrm{L}} of the 1D bump-on-tail scenario is approximately 81 % of the analytical growth rate of eq. (45), whereas the growth rates of cases #1 and #2 are 77 % of the analytical growth rate, and 68 % for cases #3 and #4. The reason why the growth rate of the 1D bump-on-tail scenario is considerably lower than the analytical one is primarily because of the finite extension of the energetic particle distribution along the characteristic curves (this issue was analyzed in more detail in Ref. [17]).

Refer to caption
Figure 6: Amplitude evolution of the first mode (n=5)(n=5). ωb|Ai|\omega_{\mathrm{b}}\propto\sqrt{|A_{i}|} is the bounce frequency of particles deeply trapped by the wave field, and γL\gamma_{\mathrm{L}} is the analytical linear growth rate of the mode, calculated from the value of |Vi,||V_{i,\ell}| and Ω/W\partial\Omega/\partial W in the reference point. The solid black curve uses the 1D bump-on-tail model, which is analogous to FOXTAIL using a single mode–Fourier coefficient pair (in this case (i,)=(1,1)(i,\ell)=(1,1)) and constant Vi,V_{i,\ell} and Ω\Omega^{\prime} in Λ,Pϕ\Lambda,P_{\phi}-space. Cases #1 and #2 use a narrow initial energetic distribution function along the (i,)=(1,1)(i,\ell)=(1,1) resonance curve in Λ,Pϕ\Lambda,P_{\phi}-space, whereas cases #3 and #4 use a wide initial distribution. Cases #1 and #3 include both TAEs and Fourier coefficients 22-2\leq\ell\leq 2, whereas cases #2 and #4 only include the (i,)=(1,1)(i,\ell)=(1,1) mode–Fourier coefficient pair. See Table 1 for a list of parameter values used in all FOXTAIL simulations.

4.2 Numerical multi-mode studies

The presence of multiple eigenmodes proved to have negligible effect on the system in the scenarios presented in section 4.1.3 due to the low interaction coefficient of the second mode in the considered part of Λ,Pϕ\Lambda,P_{\phi}-space, compared to the interaction coefficient of the first mode. Scenarios with significant multimode dynamics can be constructed by adding an ad hoc scaling factor to the interaction coefficient of the second mode. Multiplying V2,1V_{2,1} by a factor of 10.1 gives approximately the same linear growth rate of the two modes. This has been done for cases #5 and #6, presented in Fig. 7, along with the previous case #2. The three scenarios are the same, except that in cases #2 and #6 the eigenmodes are simulated individually, whereas in case #5 both modes are included to the system. Such a comparison allows one to isolate the nonlinear effects of mode interaction via the energetic particle distribution.

Refer to caption
Figure 7: Figure 7.a shows the mode amplitude evolution for a set of FOXTAIL simulations using the narrow initial distribution function. Case #4 includes both TAEs, and the Fourier coefficient =1\ell=1 for each mode. Only the evolution of the first mode is presented. Case #5 is the same as #4, but the interaction coefficient V2,1V_{2,1} is scaled up by a factor of 10.1, such that the linear growth rates of the two modes approximately match. Case #6 is the same as #5, but the first mode is deactivated in the simulation. See Table 1 for a list of parameter values used in all FOXTAIL simulations. Figure 7.b shows the corresponding 1D bump-on-tail distribution of the above simulations (the final distribution is at t=10 mst=$10\text{\,}\mathrm{m}\mathrm{s}$). Figure 7.c tests the Chirikov criterion for case #5 by dividing the average resonance width in WW-space and divide by the average energy separation between the resonances along the two characteristic curves.
Refer to caption
Figure 8: The same as Fig. 7, but for slightly different scenarios. The frequency separation between the two modes is increased by a factor of 3, the width of the Gaussian energetic particle distribution along the characteristic curve of the first mode is increased from σ=3 keV\sigma=$3\text{\,}\mathrm{k}\mathrm{e}\mathrm{V}$ to σ=4 kev\sigma=$4\text{\,}\mathrm{k}\mathrm{e}\mathrm{v}$ and the number of particles is increased from 2.5×10162.5\times 10^{16} to 3.0×10163.0\times 10^{16}. The scaling factor of the interaction coefficient V2,1V_{2,1} is increased from 10.1 to 13.2 in order to match the linear growth rates of the two modes. The amplitude evolutions of the second mode (A2A_{2}) in Fig. 8.a are smoothened in order to remove high frequency amplitude oscillations coming from the interactions with off-resonant particles and from statistical fluctuations. ΔF(W)\Delta F(W) of Fig. 8.b is the difference between the final and the initial corresponding bump-on-tail distributions.

Comparing the multimode scenario with the scenarios where the modes are included individually, it can be seen that the indirect interaction between the modes via the energetic particles has significant macroscopic effects on the system. This can partly be understood as a consequence of stochastization of particle trajectories in phase space due to resonance overlap of the two eigenmodes. Stochastization of trajectories causes a locally enhanced transport of energetic particles around the resonances, allowing the eigenmodes to exhaust more energy from the energetic particle distribution (see e.g. stochastization from resonance overlap, [29, 30], and from phase decorrelation, [17]). This results in a wider portion of the energetic particle distribution being flattened around the resonances, compared to the individual eigenmode cases, as seen in Fig. 7.b.

The resonance width of an eigenmode can be estimated as the separatrix width of the unperturbed mode (i.e. in the absence of other modes) along the characteristic curve in WW-space, using the 1D bump-on-tail approximation. When the resonance widths of the two modes are comparable, the resonance-overlap parameter [31] (English translation: Ref. [32]), estimated as the average resonance width of the two modes divided by their distance in phase space, is an approximate measure of the level of stochastization of particle trajectories. The Chirikov criterion for stochastization is satisfied when the resonance-overlap parameter is larger than unity. The full separatrix width in WW-space, WsepW_{\mathrm{sep}}, is 4ωb/Ω(𝑲res)4\omega_{\mathrm{b}}/\Omega^{\prime}(\bm{K}_{\mathrm{res}}), with ωb\omega_{\mathrm{b}} given by eq. (47). As seen in Fig. 7.c, the Chirikov criterion is well satisfied for case #5 after t1.3 mst\gtrsim$1.3\text{\,}\mathrm{m}\mathrm{s}$.

Slightly different scenarios are tested in the simulations presented in Fig. 8. Cases #7, #8 and #9 are the same as cases #2, #5 and #6, respectively, except that the frequency separation between the two eigenmodes is artificially increased by a factor of 3, and the width of the energetic distribution function along the characteristic curves of the first mode is increased to σ=4 keV\sigma=$4\text{\,}\mathrm{k}\mathrm{e}\mathrm{V}$ instead of 3 keV3\text{\,}\mathrm{k}\mathrm{e}\mathrm{V}. The scaling factor of the interaction coefficient is also adjusted such that the linear growth rates of the two modes approximately match. As can be seen in Fig. 8.c, the Chirikov criterion is never satisfied for case #8, although the resonance-overlap parameter is of the order of unity. Comparing the amplitude evolutions in Figs. 7.a and 8.a, the two modes of case #8 evolves more similarly to the corresponding individual mode scenarios than case #5 does. This is especially seen in Fig. 8.b, where the modes of case #8 flattens two separate regions of the energetic distribution function, matching the flattening regions of the individual mode scenarios.

5 Summary

This paper presents the theoretical framework of the FOXTAIL code, which is used to describe the nonlinear interaction between Alfvén eigenmodes and energetic particles in toroidal geometries. FOXTAIL is a hybrid magnetohydrodynamic–kinetic model based on a model developed by Berk et al. [4], where each simulation is formulated as an initial value problem. Eigenmodes are treated as perturbations of the equilibrium system, with temporally constant eigenfunctions and dynamic complex amplitudes that vary on time scales longer than the inverse mode frequency. The energetic particle distribution is modeled by a finite set of markers in an action–angle phase space of the unperturbed system. The use of action–angle coordinates rather than conventional toroidal coordinates simplifies the equations of motion of the individual markers, and it allows for efficient resolution of time scales relevant for resonant eigenmode–particle interaction in numerical simulations.

The particle response with respect to the wave field is quantized by a Fourier series expansion of the kinetic energy change q𝒗δ𝑬q\bm{v}\cdot\delta\bm{E} along the transit period of the unperturbed guiding center orbit, where qq is the particle charge, 𝒗\bm{v} is the guiding center velocity and δ𝑬\delta\bm{E} is the electric wave field at the guiding center position. A Lagrangian formulation of the wave–particle system, consistent with the derived particle response with respect to the wave, is used to derive equations for the eigenmode amplitudes and phases. The resulting system of equations describing direct wave–particle interaction has a phase space with four particle dimensions and two eigenmode dimensions (amplitude and phase). When including mechanisms that perturb the magnetic moment of energetic particles, the particle phase space extends to five dimensions.

When splitting the interaction in the Fourier terms along the transit period, each term contributes to resonant nonlinear interaction mainly in a narrow region around surfaces in the adiabatic invariant space, referred to as resonant surfaces. These surfaces are given by ωB+nϕωp=ωmode\ell\omega_{\mathrm{B}}+n_{\phi}\omega_{\mathrm{p}}=\omega_{\mathrm{mode}}, where \ell is the Fourier index of interaction, ωB\omega_{\mathrm{B}} is the bounce frequency, nϕn_{\phi} is the toroidal mode number of the eigenmode, ωp\omega_{\mathrm{p}} is the precession frequency and ωmode\omega_{\mathrm{mode}} is the eigenmode frequency. The width of the relevant region around the resonant surfaces depends on the amplitude of the eigenmode, the strength of wave–particle interaction at the resonant surfaces (quantified by the Fourier coefficients of interaction) and the variation of bounce and precession frequencies of particles along the characteristic curves of wave–particle interaction (the curves in adiabatic invariant space along which a given eigenmode accelerates particles).

The presented multi-dimensional model can be approximated with a conventional 1D bump-on-tail model. For the 1D approximation to be valid, three approximate criteria must be met:

  • 1.

    No more than one eigenmode–Fourier coefficient pair interacts significantly with the energetic particle distribution.

  • 2.

    The complex Fourier coefficient of interaction is approximately constant in adiabatic invariant space throughout the resonant part of the energetic particle distribution.

  • 3.

    The bounce and precession frequencies of the energetic particles vary approximately linearly in kinetic energy–toroidal canonical momentum space across the region of the resonance where the energetic particle distribution is located.

All these conditions can be quantitatively evaluated with FOXTAIL.

Effects of the fulfillment of the Chirikov criterion in scenarios with two active eigenmodes have been studied numerically using FOXTAIL. It has been verified that eigenmodes can be treated independently in scenarios where the criterion is not satisfied. On the other hand, when the resonance-overlap parameter becomes larger than unity, indirect mode–mode interaction via the energetic particle distribution becomes significant, and a larger portion of the inverted energetic particle distribution becomes flattened in energy space due to stochastization of particle trajectories in phase space.

Acknowledgments

This work was supported by the Swedish research council (VR) contract 621-2011-5387.

References

  • [1] W. W. Heidbrink, E. J. Strait, E. Doyle, G. Sager, R. T. Snider, Nucl. Fusion 31 (9) (1991) 1635 – 1648. doi:10.1088/0029-5515/31/9/002.
  • [2] K. L. Wong, R. J. Fonck, S. F. Paul, D. R. Roberts, E. D. Fredrickson, R. Nazikian, H. K. Park, M. Bell, N. L. Bretz, R. Budny, S. Cohen, G. W. Hammett, F. C. Jobes, D. M. Meade, S. S. Medley, D. Mueller, Y. Nagayama, D. K. Owens, E. J. Synakowski, Phys. Rev. Lett. 66 (14) (1991) 1874 – 1877. doi:10.1103/PhysRevLett.66.1874.
  • [3] A. N. Kaufman, Phys. Fluids 15 (6) (1972) 1063 – 1069. doi:10.1063/1.1694031.
  • [4] H. L. Berk, B. N. Breizman, M. S. Pekker, Nucl. Fusion 35 (12) (1995) 1713 – 1720. doi:10.1088/0029-5515/35/12/I36.
  • [5] Z. Wang, Z. Lin, I. Holod, W. W. Heidbrink, B. Tobias, M. Van Zeeland, M. E. Austin, Phys. Rev. Lett. 111 (14) (2013) 145003. doi:10.1103/PhysRevLett.111.145003.
  • [6] S. Briguglio, G. Vlad, F. Zonca, C. Kar, Phys. Plasmas 2 (10) (1995) 3711 – 3723. doi:10.1063/1.871071.
  • [7] G. Vlad, C. Kar, F. Zonca, F. Romanelli, Phys. Plasmas 2 (2) (1995) 418 – 441. doi:10.1063/1.870968.
  • [8] S. Briguglio, F. Zonca, G. Vlad, Phys. Plasmas 5 (9) (1998) 3287 – 3301. doi:10.1063/1.872997.
  • [9] Z. Lin, T. S. Hahm, W. W. Lee, W. M. Tang, R. B. White, Science 281 (5384) (1998) 1835 – 1837. doi:10.1126/science.281.5384.1835.
  • [10] W. Zhang, Z. Lin, L. Chen, Phys. Rev. Lett. 101 (9) (2008) 095001. doi:10.1103/PhysRevLett.101.095001.
  • [11] Y. Xiao, Z. Lin, Phys. Rev. Lett. 103 (8) (2009) 085004. doi:10.1103/PhysRevLett.103.085004.
  • [12] H. L. Berk, B. N. Breizman, M. S. Pekker, Plasma Phys. Rep. 23 (9) (1997) 778 – 788.
  • [13] R. B. White, Phys. Fluids B 2 (4) (1009) 845 – 847. doi:10.1063/1.859270.
  • [14] H. L. Berk, B. N. Breizman, J. Candy, M. Pekker, N. V. Petviashvili, Phys. Plasmas 6 (8) (1999) 3102 – 3113. doi:10.1063/1.873550.
  • [15] M. K. Lilley, B. N. Breizman, S. E. Sharapov, Phys. Plasmas 17 (9) (2010) 092305. doi:10.1063/1.3486535.
  • [16] L.-G. Eriksson, P. Helander, Phys. Plasmas 1 (2) (1994) 308 – 314. doi:10.1063/1.870832.
  • [17] E. Tholerus, T. Hellsten, T. Johnson, Phys. Plasmas 22 (8) (2015) 082106. doi:10.1063/1.4928094.
  • [18] F. Imbeaux, J. B. Lister, G. T. A. Huysmans, W. Zwingmann, M. Airaj, L. Appel, V. Basiuk, D. Coster, L.-G. Eriksson, B. Guillerminet, D. Kalupin, C. Konz, G. Manduchi, M. Ottaviani, G. Pereverzev, Y. Peysson, O. Sauter, J. Signoret, P. Strand, ITM-TF work programme contributors, Comput. Phys. Commun. 181 (6) (2010) 987 – 998. doi:10.1016/j.cpc.2010.02.001.
  • [19] J. Candy, B. N. Breizman, J. W. Van Dam, T. Ozeki, Phys. Lett. A 215 (1996) 299 – 304. doi:10.1016/0375-9601(96)00197-1.
  • [20] A. B. Mikhailovskii, G. T. A. Huysmans, W. O. K. Kerner, S. E. Sharapov, Plasma Phys. Rep. 23 (10) (1997) 844 – 857.
  • [21] G. T. A. Huysmans, S. E. Sharapov, A. B. Mikhailovskii, W. Kerner, Phys. Plasmas 8 (10) (2001) 4292 – 4305. doi:10.1063/1.1398573.
  • [22] S. E. Sharapov, A. B. Mikhailovskii, G. T. A. Huysmans, Phys. Plasmas 11 (5) (2004) 2286 – 2302. doi:10.1063/1.1690303.
  • [23] I. T. Chapman, S. E. Sharapov, G. T. A. Huysmans, A. B. Mikhailovskii, Phys. Plasmas 13 (6) (2006) 062511. doi:10.1063/1.2212401.
  • [24] P. E. Kloeden, E. Platen, Numerical Solution of Stochastic Differential Equations, Second Corrected Printing Edition, Vol. 23 of Applications of Mathematics, Springer-Verlag, Berlin, 1995, ISBN 978-3-540-54062-5.
  • [25] M. B. Levin, M. G. Lyubarskiĭ, I. N. Onishchenko, V. D. Shapiro, V. I. Shevchenko, J. Exp. Theor. Phys. 35 (5) (1972) 898 – 901.
  • [26] J. Hedin, T. Hellsten, L.-G. Eriksson, T. Johnson, Nucl. Fusion 42 (5) (2002) 527 – 540. doi:10.1088/0029-5515/42/5/305.
  • [27] I. M. Sobol’, U.S.S.R. Comput. Maths. Math. Phys. 7 (4) (1967) 86 – 112. doi:10.1016/0041-5553(67)90144-9.
  • [28] J. Matoušek, J. Complexity 14 (4) (1998) 527 – 556. doi:10.1006/jcom.1998.0489.
  • [29] H. L. Berk, B. N. Breizman, H. Ye, Phys. Rev. Lett. 68 (24) (1992) 3563 – 3566. doi:10.1103/PhysRevLett.68.3563.
  • [30] H. L. Berk, B. N. Breizman, M. Pekker, Phys. Plasmas 2 (8) (1995) 3007 – 3016. doi:10.1063/1.871198.
  • [31] B. V. Chirikov, At. Energ. 6 (1959) 630 – 638.
  • [32] B. V. Chirikov, J. Nucl. Energy, Pt. C 1 (1960) 253 – 260.