Hostname: page-component-78c5997874-s2hrs Total loading time: 0 Render date: 2024-11-16T17:16:14.412Z Has data issue: false hasContentIssue false

The available energy of trapped electrons: a nonlinear measure for turbulent transport

Published online by Cambridge University Press:  13 October 2023

R.J.J. Mackenbach*
Affiliation:
Eindhoven University of Technology, 5612 AZ Eindhoven, The Netherlands Max Planck Institute for Plasma Physics, 17491 Greifswald, Germany
J.H.E. Proll
Affiliation:
Eindhoven University of Technology, 5612 AZ Eindhoven, The Netherlands
R. Wakelkamp
Affiliation:
Utrecht University, 3584 CS Utrecht, The Netherlands
P. Helander
Affiliation:
Max Planck Institute for Plasma Physics, 17491 Greifswald, Germany
*
Email address for correspondence: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

A collisionless plasma possesses a certain amount of ‘available energy’, which is that part of the thermal energy that can be converted into kinetic energy of plasma motion and electromagnetic fluctuations. In this paper we present a calculation of the available energy carried by trapped electrons in a slender non-omnigenous flux tube of plasma. This quantity is compared with gyrokinetic simulations of the nonlinear saturated radial energy flux resulting from turbulence driven by collisionless trapped-electron modes in various stellarators and a tokamak. The numerical calculation of available energy is fast and shows a strong correlation with the turbulent energy fluxes found in the gyrokinetic simulations. Indeed, the energy flux is found to be proportional to the available energy to the power of approximately $3/2$, which is what one would expect from a simple argument. We furthermore investigate how available energy is distributed across different bounce wells, and it is found that deeply trapped electrons typically contribute most to the available energy. Finally, we investigate the dependence of available energy on gradient strength, and we find important differences between weakly and strongly driven regimes for stellarators and tokamaks.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
Copyright © The Author(s), 2023. Published by Cambridge University Press

1 Introduction

One of the major challenges facing magnetically confined fusion plasmas is the degradation of energy confinement due to transport. This transport arises because the density and temperature vary across the plasma volume, giving rise to neoclassical transport as well as free energy which drives instabilities, turbulence and transport. The dependence on the geometry of the magnetic field is well understood in the case of neoclassical transport, and stellarators can be designed in such a way as to minimize these losses (Wolf et al. Reference Wolf, Ali, Alonso, Baldzuhn, Beidler, Beurskens, Biedermann, Bosch, Bozhenkov and Brakel2017; Dinklage et al. Reference Dinklage, Beidler, Helander, Fuchert, Maaßberg, Rahbarnia, Pedersen, Turkin, Wolf and Alonso2018; Klinger et al. Reference Klinger2019; Beidler et al. Reference Beidler, Smith, Alonso, Andreeva, Baldzuhn, Beurskens, Borchardt, Bozhenkov, Brunner and Damm2021).

The main transport channel is then turbulent transport, which typically exceeds the neoclassical channel, see e.g. Bozhenkov et al. (Reference Bozhenkov, Kazakov, Ford, Beurskens, Alcusón, Alonso, Baldzuhn, Brandt, Brunner and Damm2020) and Beidler et al. (Reference Beidler, Smith, Alonso, Andreeva, Baldzuhn, Beurskens, Borchardt, Bozhenkov, Brunner and Damm2021). Accordingly, insights into the interplay between turbulence and geometry are desired so that one can understand, and perhaps minimize, the turbulent losses. However, due to the complex nonlinear nature of the problem, it has proved difficult to quantify the dependence of turbulence on geometry, although significant strides have been made in recent years (Barnes, Parra & Schekochihin Reference Barnes, Parra and Schekochihin2011; Proll et al. Reference Proll, Helander, Connor and Plunk2012; Helander, Proll & Plunk Reference Helander, Proll and Plunk2013; Plunk et al. Reference Plunk, Helander, Xanthopoulos and Connor2014; Pueschel et al. Reference Pueschel, Faber, Citrin, Hegna, Terry and Hatch2016; Citrin et al. Reference Citrin, Bourdelle, Casson, Angioni, Bonanomi, Camenen, Garbet, Garzotti, Görler and Gürcan2017; Proll et al. Reference Proll, Plunk, Faber, Görler, Helander, McKinney, Pueschel, Smith and Xanthopoulos2022). These methods, although not all of them, typically employ (quasi-)linear theory to estimate the turbulence properties for any given configuration. Such methods do not always capture important nonlinear effects and suffer, in particular, from uncertainties concerning the turbulent saturation amplitude. The most reliable option to assess nonlinear turbulent transport is to carry out nonlinear gyrokinetic simulations (Beer, Cowley & Hammett Reference Beer, Cowley and Hammett1995; Garbet et al. Reference Garbet, Idomura, Villard and Watanabe2010), but it is currently computationally expensive to do so, although significant improvements have been made (Mandell et al. Reference Mandell, Dorland, Abel, Gaur, Kim, Martin and Qian2022).

In a recent publication (Mackenbach, Proll & Helander Reference Mackenbach, Proll and Helander2022), it was shown that the so-called available energy (Æ) can provide a quantitative estimate of the turbulence driven by the trapped-electron mode (Kadomtsev & Pogutse Reference Kadomtsev and Pogutse1967; Dannert & Jenko Reference Dannert and Jenko2005), and in the present paper we elaborate on the mathematical details of this calculation.

The Æ of a system is defined as the difference in energy between the ‘initial’ distribution function $f_i$ (i.e. the distribution function at time $t=0$), and the so-called ground state $f_g$ (Lorenz Reference Lorenz1955; Gardner Reference Gardner1963). The latter is the distribution function which minimizes the energy, subject to constraints imposed by the Vlasov equation. We encapsulate the constraints that follow from Liouville's theorem in the following invariant:

(1.1)\begin{equation} H[f(\boldsymbol{x},t),\phi] \equiv \int \varTheta[f(\boldsymbol{x},t)-\phi]\,\mathrm{d}\boldsymbol{x}, \end{equation}

where $\varTheta [x]$ is the Heaviside function, $\phi$ is a scalar constant and $\boldsymbol {x}$ are the phase-space coordinates, $(\boldsymbol {r},\boldsymbol {v})$. If the distribution function $f$ evolves according to the Vlasov equation or any other equation that conserves phase-space volume, one can show that $H[f,\phi ]$ is conserved for every $\phi \in \mathbb {R}$ (Helander Reference Helander2017). Furthermore, we define the energy of the distribution function as

(1.2)\begin{equation} E[f(\boldsymbol{x},t)] \equiv \int \epsilon (\boldsymbol{x}) f(\boldsymbol{x},t)\,\mathrm{d}\boldsymbol{x}, \end{equation}

where $\epsilon (\boldsymbol {x})$ is the energy of a particle (typically $mv^2/2$, with m and $v$ being the particle mass and speed, respectively). With these definitions, the ground state can be denoted as the distribution function t minimizes the functional

(1.3)\begin{equation} W[f_g,\lambda] = E[f_g] + \int \lambda(\phi) \left( H[f_i,\phi] - H[f_g,\phi] \right) \mathrm{d}\phi, \end{equation}

where $\lambda (\phi )$ denotes a continuous set of Lagrange multipliers.

If one evaluates the variation of $W$ with respect to $f_g$, and requires that the distribution function be a stationary point of the functional (that is $\delta W/\delta f_g=0$), one finds that a ground state must be a function of energy alone

(1.4)\begin{equation} f_g = f_g(\epsilon). \end{equation}

Furthermore, if one considers the second variation with respect to $f_g$ and demands that this quantity be positive definite (so that the ground state is a local minimum of the functional), one finds that the ground state must be a decreasing function of energy

(1.5)\begin{equation} \frac{\partial f_g}{\partial \epsilon} \leq 0. \end{equation}

One can also impose the condition that a set of adiabatic invariants, denoted by $\boldsymbol {y}$, should be conserved (as in Helander Reference Helander2017, Reference Helander2020), thus adding more constraints than (1.4) and (1.5). The ground states are then functions satisfying

(1.6a)\begin{gather} f_g = f_g(\epsilon, \boldsymbol{y}), \end{gather}
(1.6b)\begin{gather}\left(\frac{\partial f_g}{\partial \epsilon}\right)_{\boldsymbol{y}} \leq 0. \end{gather}

From these criteria it is possible to derive an integro-differential equation for the ground state. For instance, it has been shown that, if we choose the magnetic moment $\mu$ and the parallel invariant $\mathcal {J}$ as adiabatic invariants, the ground state $f_g(\epsilon,\mu,\mathcal {J})$ must obey the following integro-differential equation (Helander Reference Helander2020):

(1.7)\begin{equation} \left(\frac{\partial f_g(w,\mu,\mathcal{J})}{\partial w}\right)_{\mu,\mathcal{J}} ={-} \frac{\displaystyle\iint \delta [w - \epsilon (\psi,\alpha,\mu,\mathcal{J})]\,\mathrm{d}\psi\,\mathrm{d}\alpha}{\displaystyle\iint \delta[f_i - f_g(w,\mu,\mathcal{J})]\,\mathrm{d}\psi\,\mathrm{d}\alpha}. \end{equation}

Here, $w$ is a positive scalar which acts as a placeholder for the particle energy $\epsilon$, $\psi$ is the magnetic flux (i.e. the flux-surface label) and $\alpha$ is the Clebsch angle, which locally define the magnetic field as $\boldsymbol {B} = \boldsymbol {\nabla } \psi \times \boldsymbol {\nabla } \alpha$ (see D'haeseleer et al. (Reference D'haeseleer, Hitchon, Callen and Shohet2012), chapter 5). Equation (1.7) is relevant for most kinds of gyrokinetic turbulence in tokamaks and stellarators, since $\mu$ and $\mathcal {J}$ are typically conserved quantities for trapped electrons in the case of microinstabilities and turbulence with wavelengths comparable to the ion gyroradius.

In the literature, most numerical simulations of such phenomena are performed in the geometry of a slender flux tube aligned with the magnetic field, and in this limit (1.7) can be solved analytically. For the case of a vanishingly slender flux tube under the condition of omnigeneity, i.e. that the second adiabatic invariant $\mathcal {J}$ is independent of the Clebsch angle $\alpha$ (i.e. $\partial \mathcal {J} / \partial \alpha = 0$), explicit expressions for the ground state and the Æ have been found (Helander Reference Helander2020). This derivation shows that a Maxwellian distribution function can only be a ground state if the magnetic field is omnigenous and if the electron diamagnetic drift frequency $\omega _*^T$ does not exceed the bounce-averaged precession frequency $\omega _\alpha$

(1.8)\begin{equation} \omega_*^T/\omega_\alpha \leq 1, \end{equation}

for all types of trapped-electron orbits in the flux tube. Here, the diamagnetic drift frequency is equal to

(1.9)\begin{equation} \omega_*^T = \frac{T}{q} \left[ \frac{\mathrm{d} \ln n}{\mathrm{d} \psi} + \frac{\mathrm{d} \ln T}{\mathrm{d} \psi} \left( \frac{\epsilon}{T} - \frac{3}{2} \right) \right], \end{equation}

where $T$ is the temperature, $n$ is the number density, $\epsilon$ is the particle energy and $q$ is the particle charge. The criteria of (1.8) are met in quasi-isodynamic stellarators with the so-called maximum-$\mathcal {J}$ property, and it has been shown from the (linear) gyrokinetic equations that these devices are indeed resilient against conventional density-gradient-driven trapped electron modes (TEMs) by Proll et al. (Reference Proll, Helander, Connor and Plunk2012) and Helander et al. (Reference Helander, Proll and Plunk2013). When these modes are stabilized, other, less virulent, instabilities become dominant instead (Helander & Plunk Reference Helander and Plunk2015; Plunk, Connor & Helander Reference Plunk, Connor and Helander2017; Costello et al. Reference Costello, Proll, Plunk, Pueschel and Alcusón2023).

In this paper we first extend the calculation of Æ to non-omnigenous flux tubes, which is of relevance since most stellarators are, in fact, not omnigenous. We first show that such a calculation is most easily done in flux tubes which have an elliptical cross-section. This calculation is described in § 2, where we also discuss how the Æ can be computed numerically. In § 3 we compare the numerically calculated Æ in a tokamak and various stellarators with the turbulent energy flux computed by the gyrokinetic code gene (Jenko et al. Reference Jenko, Dorland, Kotschenreuther and Rogers2000). These results were recently published in abbreviated form Mackenbach et al. (Reference Mackenbach, Proll and Helander2022), and here we provide full mathematical details. We furthermore investigate which types of trapped particles contribute most to Æ, and find that deeply trapped particles typically do so. We also establish that the dependence on the gradient strength is non-trivial and investigate this dependence in some depth. Finally, in § 4, we highlight our most important findings and discuss future directions for research.

2 The ground state and available energy in a flux tube

2.1 Allowable domains

In the calculation of the ground state, we restrict our attention to a subregion of the plasma which has the shape of a slender flux tube aligned with the magnetic field, allowing us to approximate the distribution function by its first-order Taylor expansion in the directions perpendicular to the field. Only then does it seem possible to solve the integro-differential ground-state equation (1.7) in general. Somewhat surprisingly, it turns out that the calculation is only possible if the cross-section of the flux tube is elliptical, as we shall now see.

We first introduce the following re-scaled coordinates:

(2.1a)\begin{gather} x = (\psi - \psi_0)/{\mathrm \Delta} \psi, \end{gather}
(2.1b)\begin{gather}y = (\alpha - \alpha_0)/{\mathrm \Delta} \alpha. \end{gather}

Here, $\psi _0$ and $\alpha _0$ are the flux-surface label and field-line label of the magnetic field line defining the centre of the flux tube, and ${\mathrm \Delta} \psi$ and ${\mathrm \Delta} \alpha$ define its scale lengths in the $\psi$- and $\alpha$-directions, respectively. In contrast to the situation in most gyrokinetic simulations, the cross-section of the flux tube is not assumed to be rectangular. In these coordinates, we denote the first-order expansion of the distribution function $f$ for fixed values of $\mu$, $\mathcal {J}$, and $t$ by

(2.2)\begin{equation} f(x,y,\mu,\mathcal{J},t) \equiv f_0 + f_{x} x + f_{y} y. \end{equation}

For a given smooth distribution function, this representation should always be sufficiently accurate in the limit of small ${\mathrm \Delta} \psi$ and ${\mathrm \Delta} \alpha$ (i.e. for small enough $\psi - \psi _0$ and $\alpha - \alpha _0$ one can approximate $f \approx f_0 + (\psi - \psi _0) \partial _\psi f + (\alpha - \alpha _0) \partial _\alpha f$), but there is no guarantee that the ground state corresponding to such a function can be similarly approximated by its linear expansion. Indeed, this turns out to be true, in general, only if the domain $\varOmega$ in the $(x,y)$-plane under consideration is elliptical. As already mentioned, phase-space volume conservation dictates that the following integral is independent of time for all values of $\phi$:

(2.3)\begin{equation} \frac{\mathrm{d}}{\mathrm{d}t}\int_{\varOmega} \varTheta \left[\phi - f(x,y,\mu,\mathcal{J},t) \right] \mathrm{d}x\,\mathrm{d}y = 0. \end{equation}

In particular, this integral must be the same for the initial (given) distribution function and its corresponding ground state. We assume that both can be described by their linear approximations (2.2), whose gradients will, however, in general point in different directions (i.e. $\boldsymbol {\nabla }_\perp f \propto \hat {\boldsymbol {x}} f_x +\hat {\boldsymbol {y}} f_y$ can take on any value, with the hatted quantities denoting unit vectors). We thus require that the gradient of the ground state may point in an arbitrary direction and derive a constraint on the shape of $\varOmega$ from this condition.

It is useful to define a rotated coordinate system $(x,y)\mapsto (\tilde {x},\tilde {y})$

(2.4)\begin{equation} \left.\begin{gathered} \tilde{x} = x \cos \vartheta + y \sin \vartheta + x_{\rm min}(\vartheta), \\ \tilde{y} ={-} x \sin \vartheta + y \cos \vartheta + y_{\rm min}(\vartheta), \end{gathered}\right\} \end{equation}

such that $f$ assumes its smallest value, $f_\textrm {min}$, at $\tilde x = 0$ and the gradient of $f$ points in the direction of $\tilde x$

(2.5)\begin{equation} f = f_\mathrm{min} + f_{\tilde{x}} \tilde{x}. \end{equation}

In such a coordinate system the domain rotates as the function evolves, whilst fixing the minimal values of $x$ and $y$ to $\tilde {x}=\tilde {y}=0$, and this coordinate system will aid us in making statements about this domain shape. The initial state and the ground state thus correspond to two different values of $\vartheta$. The width of the domain $\varOmega$ in the $\tilde x$-direction is denoted by $2D(\vartheta )$, so that the maximum value of $f$ becomes $f_\mathrm {max} = f_\mathrm {min} + 2 D f_{\tilde {x}}$, and the distribution function may be written as

(2.6)\begin{equation} f = f_\mathrm{min} + \frac{\tilde{x}}{2D} \left( f_\mathrm{max} - f_\mathrm{min} \right), \end{equation}

where we note that $f_\mathrm {min}$ and $f_\mathrm {max}$ depend only on $\mu$ and $\mathcal {J}$ and are thus independent of $\vartheta$.

We now return to the problem at hand, codified by (2.3). The argument of the Heaviside function vanishes in the new coordinate system when

(2.7)\begin{equation} \tilde{x}(\phi) = 2D \frac{\phi - f_\mathrm{min}}{f_\mathrm{max}-f_\mathrm{min}}. \end{equation}

Let us now consider a value of $\phi$ very close to $f_\mathrm {min}$, i.e. $\phi = f_\mathrm {min} + |\epsilon |$ with $|\epsilon | \rightarrow 0^+$. Equation (2.7) now reduces to $\tilde {x}_\epsilon = 2D|\epsilon |/(f_\mathrm {max}-f_\mathrm {min})$. The integral in (2.3) is equal to the area of the subdomain of $\varOmega$ over which $f \le \phi$, i.e. the coloured region in figure 1. In the limit $\tilde {x}_\epsilon \ll D$, the radius of curvature, $R$, of the domain boundary in the region $\tilde x < \tilde x_\epsilon$ is approximately constant (if the boundary is sufficiently smooth). Hence, we may approximate the integral by instead considering the area of a circular segment with the same radius of curvature $R$

(2.8)\begin{align} \mathcal{A} & = 2\int_0^{\tilde{x}_\epsilon} \sqrt{2R\tilde{x} - \tilde{x}^2}\,\mathrm{d}\tilde{x} \nonumber\\ & \approx 2 \int_0^{\tilde{x}_\epsilon} \sqrt{2 R\tilde{x}}\,\mathrm{d}\tilde{x} = \frac{4}{3} \sqrt{2 R \tilde{x}_\epsilon^3}, \end{align}

where we have used the equation for a circle $\tilde {y}^2 = R^2 - (\tilde {x} - R)^2$. The next step is to realize that, as the distribution function evolves, its gradient may point in any direction in the $(x,y)$-plane, so that the angle $\vartheta$ may assume any value. A sketch of the domain at a different orientation is also given in figure 1. Both $D$ and $R$ depend on $\vartheta$, but they are not independent. Indeed, from (2.3) we have

(2.9)\begin{equation} R(\vartheta)D(\vartheta)^3 = C_\mathcal{A} = \mathrm{constant}, \end{equation}

where we have used the equation for the area found in (2.8). In particular, the radius of curvature is the same at the two extremal locations $\tilde {x}=0$ and $\tilde {x}=2D$, since a rotation of ${\rm \pi}$ leaves $D$ unchanged. Moreover, on purely geometrical grounds there is a relation between the second derivative of the domain width and the curvature, as shown in Appendix A,

(2.10)\begin{equation} \frac{\mathrm{d}^2 D}{\mathrm{d} \vartheta^2} = R - D. \end{equation}

Using the constancy of $RD^3$, we find that

(2.11)\begin{equation} \frac{\mathrm{d}^2 D}{\mathrm{d} \vartheta^2} + D = \frac{C_\mathcal{A}}{D^3} \implies \frac{\mathrm{d}}{\mathrm{d} \vartheta} \left[\left(\frac{\mathrm{d} D}{\mathrm{d} \vartheta}\right)^2 + D^2 + \frac{C_\mathcal{A}}{D^2} \right]=0. \end{equation}

As shown in Appendix A, this differential equation has the general solution

(2.12)\begin{equation} D(\vartheta) = (C^2-C_\mathcal{A})^{1/4}\sqrt{C + \cos 2 \vartheta}, \end{equation}

implying that the radius of curvature becomes

(2.13)\begin{equation} R(\vartheta) = \frac{C_\mathcal{A}}{(C^2-C_\mathcal{A})^{3/4}(C + \cos 2 \vartheta)^{3/2}}. \end{equation}

The radius of curvature for an ellipse is of the exact same form as (2.13) (as shown in Appendix A), implying that $\varOmega$ must be elliptical. We have thus found that the only domain shape in which Liouville's theorem can generally be satisfied is a slanted ellipse, if the distribution function is to be approximated by its first-order Taylor expansion in the coordinates perpendicular to the magnetic field.

Figure 1. A sketch of the area, coloured red, as a subset of the entire domain $\varOmega$. Done at two different times, so that the orientation of the domain $\varOmega$ is different.

2.2 The ground state and the available energy

As shown in the previous section the domain has to be a slanted ellipse, and here we shall derive what the ground state and Æ is in such a system. To this end, let us first realize that it is sufficient to calculate the Æ in an unslanted ellipse, which in the coordinates $x$ and $y$ of the previous section has the equation

(2.14)\begin{equation} \frac{x^2}{a^2} + \frac{y^2}{b^2} = 1, \end{equation}

with $a \leq b$. We may then apply a rotation operator to find the result of any slanted ellipse. Let us start, then, by considering (1.7) and one must evaluate integrals of the form

(2.15)\begin{equation} I[h] = \int_\varOmega \delta[h]\,\mathrm{d}\psi\,\mathrm{d}\alpha, \end{equation}

where $h(\psi,\alpha )$ is an arbitrary smooth function that vanishes in the centre of the domain, $h(0,0)=0$. This condition has to do with the fact that a constant Maxwellian is the ground state corresponding to an initial condition without gradients. As such, to lowest order the difference between the Maxwellian and the ground state should vanish, implying that $h(0,0)=0$ for the functions appearing in (1.7). Since we take the flux tube to be slender, we approximate the function $h$ as

(2.16)\begin{equation} h(\psi,\alpha) \approx x {\mathrm \Delta} \psi \partial_\psi h + y {\mathrm \Delta} \alpha \partial_\alpha h. \end{equation}

We next define the vector $\boldsymbol {p} = ( x, y )$, so that one can write the linear expansion of $h$ as

(2.17)\begin{equation} h \approx \boldsymbol{p} \boldsymbol{\cdot} \boldsymbol{n} |\partial_{\boldsymbol{p}} h|, \end{equation}

where we have defined $\boldsymbol {n} \equiv \partial _{\boldsymbol {p}} h/ |\partial _{\boldsymbol {p}} h|$, and derivatives of $h$ are evaluated at the centre of the flux tube. Equation (2.15) then becomes

(2.18)\begin{equation} I[h] = \frac{{\mathrm \Delta} \psi {\mathrm \Delta} \alpha }{|\partial_{\boldsymbol{p}} h|} \int_\varOmega \delta[\boldsymbol{p} \boldsymbol{\cdot} \boldsymbol{n}]\,\mathrm{d}x\,\mathrm{d}y. \end{equation}

The integral measures the length of the line where $h=0$ in the domain, which may be found as follows. We realize that this line satisfies the equation

(2.19)\begin{equation} y ={-}\frac{h_x}{h_y} x, \end{equation}

where we have used the notation $h_x \equiv \partial _x h$. We may now find its intersection with the ellipse given by (2.14), and one may readily verify that the points of intersection $(x,y)$ satisfy the equation

(2.20)\begin{equation} x^2 + y^2 = (ab)^2 \frac{(h_x)^2+( h_y)^2}{(a h_x)^2+(b h_y)^2}, \end{equation}

and the integral thus becomes

(2.21)\begin{align} I[h] & = \frac{{\mathrm \Delta} \psi {\mathrm \Delta} \alpha }{|\partial_{\boldsymbol{p}} h|} 2ab\sqrt{\frac{h_x^2 + h_y^2}{(a h_x)^2+(b h_y)^2}} \nonumber\\ & = {\mathrm \Delta} \psi {\mathrm \Delta} \alpha \frac{ 2 ab }{\sqrt{(ah_x)^2+(bh_y)^2}}. \end{align}

Our final step is to rotate the domain, which is equivalent to rotating the vector $\partial _{\boldsymbol {p}} h$, for which one can use the rotation mapping

(2.22a)\begin{gather} h_x \mapsto h_x \cos \vartheta - h_y \sin \vartheta, \end{gather}
(2.22b)\begin{gather}h_y \mapsto h_x \sin \vartheta + h_y \cos \vartheta, \end{gather}

where $\vartheta$ measures the angle of rotation. Combining results of (2.21) and (2.22), we find

(2.23)\begin{equation} \left.\begin{gathered} I[h] = \frac{{\mathrm \Delta} \psi {\mathrm \Delta} \alpha}{ b \sqrt{ h_x^2 + h_y^2 - \mathcal{E}_\vartheta^2 } }, \\ \mathcal{E}_\vartheta(h_x,h_y) \equiv e \left( h_x \cos \vartheta - h_y \sin \vartheta \right), \end{gathered}\right\} \end{equation}

where the eccentricity $e \in [0,1)$ is defined as $e^2 \equiv 1 - a^2/b^2$. We are now in a position to evaluate the ground state; first choose the initial distribution function to be a Maxwellian (as usually done in gyrokinetic simulations)

(2.24)\begin{equation} f_M = n(\psi) \left(\frac{m}{2 {\rm \pi}T(\psi)} \right)^{3/2} \exp({-\epsilon/T(\psi)}). \end{equation}

Here, $n(\psi )$ is the number density, $m$ is the electron mass and $T(\psi )$ is the electron temperature. The spatial derivatives of the distribution and energy function can be related to the bounce-averaged precession frequencies of the electron orbits (as shown in Appendix B)

(2.25a)\begin{gather} \left(\frac{\partial \epsilon}{\partial \psi}\right)_{\mu,\mathcal{J},\alpha} ={+} q \omega_\alpha, \end{gather}
(2.25b)\begin{gather}\left(\frac{\partial \epsilon}{\partial \alpha}\right)_{\mu,\mathcal{J},\psi} ={-} q \omega_\psi, \end{gather}
(2.25c)\begin{gather}\left(\frac{\partial f_{M}}{\partial \psi}\right)_{\mu,\mathcal{J},\alpha} ={+} q \frac{f_{M,0}}{T_0} \left( \omega_*^T - \omega_\alpha \right), \end{gather}
(2.25d)\begin{gather}\left(\frac{\partial f_{M}}{\partial \alpha}\right)_{\mu,\mathcal{J},\psi} ={+} q \frac{f_{M,0}}{T_0} \omega_\psi. \end{gather}

Here, quantities with the subscript zero are quantities that are evaluated at the centre of the flux tube, $q$ is the electron charge, $\omega _\psi$ is the drift (precession) frequency in the $\psi$ direction, $\omega _\alpha$ is the corresponding frequency in the $\alpha$ direction and $\omega _*^T$ is the electron diamagnetic frequency. With these expressions, the numerator in (1.7) for the ground state becomes

(2.26)\begin{equation} \iint \delta \left[w - \epsilon_0(\mu,\mathcal{J}) - q \omega_\alpha \psi + q \omega_\psi \alpha \right] \mathrm{d}\psi \,\mathrm{d}\alpha= \frac{{\mathrm \Delta} \psi {\mathrm \Delta} \alpha }{|qb| \sqrt{(\omega_\alpha {\mathrm \Delta} \psi )^2 + (\omega_\psi {\mathrm \Delta} \alpha )^2 - (\mathcal{E}_\vartheta)^2 }}. \end{equation}

The denominator of (1.7) can be calculated in a similar manner. We conclude that the ground-state distribution function has the following derivative:

(2.27)\begin{equation} \left.\begin{gathered} \left(\frac{\partial f_g(w,\mu,\mathcal{J})}{\partial w}\right)_{\mu,\mathcal{J}} ={-} \frac{f_{M,0}}{T_0} F, \\ F \equiv \frac{\sqrt{(\omega_*^T - \omega_\alpha)^2 ({\mathrm \Delta} \psi)^2 + \omega_\psi^2 ({\mathrm \Delta} \alpha)^2 - \mathcal{E}_\vartheta ({\mathrm \Delta} \psi [\omega_*^T-\omega_\alpha], {\mathrm \Delta} \alpha \omega_\psi )^2 }}{\sqrt{\omega_\alpha^2 ({\mathrm \Delta} \psi)^2 + \omega_\psi^2 ({\mathrm \Delta} \alpha)^2- \mathcal{E}_\vartheta ({\mathrm \Delta} \psi \omega_\alpha, -{\mathrm \Delta} \alpha \omega_\psi )^2}}. \end{gathered}\right\} \end{equation}

Since the right-hand side is negative, the solution decreases with increasing energy, which is a requirement for any ground state. In the limit of omnigeneity (thus $\omega _\psi = 0$) one may verify that the terms involving $\mathcal {E}_\vartheta$ cancel, and one retrieves the expression previously found by Helander (Reference Helander2020). To evaluate the Æ, we must find the difference in energy between the initial distribution function and the ground state

(2.28)\begin{equation} A = \int \epsilon \left( f_i - f_g \right) \sqrt{g}\,\mathrm{d}\psi\,\mathrm{d}\alpha\,\mathrm{d}\mu\,\mathrm{d}\mathcal{J}. \end{equation}

Here, $\sqrt {g}$ denotes the phase-space Jacobian, which reduces to $\sqrt {g}= 4 {\rm \pi}/ m^2$ (Helander Reference Helander2017). Moreover, $f_i$ and $f_g$ can be approximated by their Taylor expansions

(2.29)\begin{equation} f_g\left[\epsilon(\psi,\alpha,\mu,\mathcal{J}),\mu,\mathcal{J}\right] = f_{i,0} + \left(\frac{\partial \epsilon}{\partial \psi} \psi + \frac{\partial \epsilon}{\partial \alpha} \alpha\right) \left.\frac{\partial f_g(w,\mu,\mathcal{J})}{\partial w}\right|_{w = \epsilon_0}+ \cdots. \end{equation}

It is useful to realize that the total number of particles within the domain for each pair of $\mu$ and $\mathcal {J}$ is conserved, giving

(2.30)\begin{equation} \iint \left( f_i - f_g \right) \mathrm{d}\psi \,\mathrm{d}\alpha = 0, \end{equation}

which in turn implies that the Æ can be calculated, to leading order, as

(2.31)\begin{equation} A = \frac{4 {\rm \pi}{\mathrm \Delta} \psi {\mathrm \Delta} \alpha}{m^2} \int \left( {\mathrm \Delta} \psi^2 \frac{\partial \epsilon}{\partial \psi} \frac{\partial (f_i - f_g)}{\partial \psi} x^2 + {\mathrm \Delta} \alpha^2 \frac{\partial \epsilon}{\partial \alpha} \frac{\partial (f_i - f_g)}{\partial \alpha} y^2 \right) \mathrm{d}x\,\mathrm{d}y\,\mathrm{d}\mu\,\mathrm{d}\mathcal{J}. \end{equation}

The integration across $x$ and $y$ is readily carried out by rotating the function $x^2$ or $y^2$ by some angle, and integrating this function over the domain whose boundary is given in (2.14). This may be readily calculated as

(2.32a)\begin{gather} \int (x \cos \vartheta - y \sin \vartheta )^2 \,\mathrm{d}x \,\mathrm{d}y = \frac{{\rm \pi} a^2b^2}{4} \left( \cos^2 \vartheta \sqrt{1-e^2} + \frac{\sin^2 \vartheta}{\sqrt{1 - e^2}} \right) \equiv \frac{{\rm \pi} a^2 b^2}{4} \hat{\mathcal{E}}_{\vartheta}^2, \end{gather}
(2.32b)\begin{gather}\int (y \cos \vartheta + x \sin \vartheta )^2 \,\mathrm{d}x \,\mathrm{d}y = \frac{{\rm \pi} a^2b^2}{4} \left( \sin^2 \vartheta \sqrt{1-e^2} + \frac{\cos^2 \vartheta}{\sqrt{1 - e^2}} \right) \equiv \frac{{\rm \pi} a^2 b^2}{4} \check{\mathcal{E}}_{\vartheta}^2. \end{gather}

Our final step is to impose that this area of the ellipse is the same area as the unit circle ($a b = 1$), which may be achieved by an appropriate choice of ${\mathrm \Delta} \psi$ and/or ${\mathrm \Delta} \alpha$. We thus have

(2.33)\begin{align} A & = {\rm \pi}^2 \left( \frac{ q {\mathrm \Delta} \psi {\mathrm \Delta} \alpha }{m}\right)^2 \iint \frac{f_{M,0}}{T_0} \nonumber\\ & \quad \times \left[ \hat{\mathcal{E}}_{\vartheta}^2 \omega_\alpha^2 \left( \frac{\omega_*^T}{\omega_\alpha} - 1 + F \right) \frac{{\mathrm \Delta} \psi}{{\mathrm \Delta} \alpha} + \check{\mathcal{E}}_{\vartheta}^2\omega_\psi^2 \left({-}1 + F \right) \frac{{\mathrm \Delta} \alpha}{{\mathrm \Delta} \psi} \right] \mathrm{d}\mu \,\mathrm{d}\mathcal{J} . \end{align}

Again, in the limit $\omega _\psi \rightarrow 0$, the Æ reduces to the previously found expression (Helander Reference Helander2020).Footnote 1 The above equation is the central result of this paper, and may be interpreted as the most general result of the local available energy of trapped particles. To simplify further steps of the calculation, we shall specialize to the case in which the cross-section is circular in $(x,y)$, which implies $e = 0$. Note that this does not imply that the cross-section is also circular in $(\psi,\alpha )$-space: in these coordinates it is still an ellipse whose semi-major and semi-minor axes lie on lines of constant $\psi$ and $\alpha$. This furthermore has as a consequence that the various functions dependent on the angle of rotation and eccentricity simplify to $\mathcal {E}_\vartheta ^2 = 0$, $\hat {\mathcal {E}}_{\vartheta }^2=\check {\mathcal {E}}_{\vartheta }^2 = 1$, simplifying the calculations significantly. If the eccentricity is non-zero but small, the leading-order correction is of order $\mathcal {O}(e^2)$.

2.3 Making the integral dimensionless

We proceed by making the expression for Æ dimensionless. We first normalize the magnetic field to some reference strength $B_0$

(2.34)\begin{equation} B(\ell) = B_0\hat{B}. \end{equation}

Here, $B(\ell )$ is the magnetic-field strength as a function of the arc length $\ell$ along the flux tube. As in neoclassical transport theory (see Helander & Sigmar (Reference Helander and Sigmar2005), chapter 7), it is useful to perform a change of variables, $(\mu,\mathcal {J}) \mapsto (\lambda, z)$, with

(2.35a,b)\begin{equation} \lambda = \frac{\mu B_0}{\epsilon_0},\quad z = \frac{\epsilon_0}{T_0}. \end{equation}

In these variables, the second adiabatic invariant becomes

(2.36)\begin{equation} \mathcal{J} = \sqrt{2 m T_0} \sqrt{z} \int_{\{\ell_{b}\}} \sqrt{1 - \lambda \hat{B}}\,\mathrm{d} \ell, \end{equation}

if the electric field parallel to $\boldsymbol {B}$ vanishes. Here, we have introduced a shorthand for the integration domain, which is given by the interval in $\ell$ between two consecutive bounce points

(2.37)\begin{equation} \{\ell_{b}\}; \quad 1- \lambda \hat{B} (\ell_b) = 0. \end{equation}

The derivatives of $\mathcal {J}$ can be used to find bounce-averaged precession frequencies, as shown in Appendix B. We now define dimensionless precession frequencies, which are the dimensionless equivalents of the precession and drift frequencies in (2.25),

(2.38a)\begin{gather} \hat{\omega}_\alpha(\lambda,{\mathrm \Delta} \psi) \equiv \frac{q {\mathrm \Delta} \psi}{\epsilon_0}\omega_\alpha(\lambda), \end{gather}
(2.38b)\begin{gather}\hat{\omega}_\psi(\lambda,{\mathrm \Delta} \alpha) \equiv \frac{q{\mathrm \Delta} \alpha}{\epsilon_0} \omega_\psi(\lambda), \end{gather}
(2.38c)\begin{gather}\hat{\omega}_*^T(z, {\mathrm \Delta} \psi) \equiv \frac{q {\mathrm \Delta} \psi}{\epsilon_0} \omega_*^T(z). \end{gather}

Finally, one needs to account for the change in the volume element from $(\mu,\mathcal {J}) \mapsto (z,\lambda )$. The Jacobian of this transformation, which we denote by $G^{1/2}$, is

(2.39)\begin{align} G^{1/2}(z,\lambda) & = \frac{L}{\bar{B}} \frac{\sqrt{m} T_0^{3/2}}{\sqrt{2} } \sqrt{z} \int_{\{\ell_{b}\}} \frac{1}{\sqrt{1-\lambda\hat{B}}} \frac{ \mathrm{d}\ell}{L} \nonumber\\ & \equiv \frac{L}{\bar{B}} \frac{\sqrt{m }T_0^{3/2}}{\sqrt{2} } \sqrt{z} \hat{G}^{1/2}(\lambda), \end{align}

where $L$ denotes the length of the magnetic-field line. We are now in a position to express the Æ in terms of these new variables

(2.40)\begin{align} A & = \frac{1}{4 \sqrt{\rm \pi}} \frac{{\rm \pi} {\mathrm \Delta} \psi {\mathrm \Delta} \alpha L}{\bar{B}} n_0 T_0 \iint \sum_{\text{wells}(\lambda)} e^{{-}z} z^{5/2} \nonumber\\ & \quad \times\left[ \hat{\omega}_\alpha^2 \left( \frac{\hat{\omega}_*^T}{\hat{\omega}_\alpha} - 1 + \hat{F} \right) + \hat{\omega}_\psi^2 \left({-}1 + \hat{F} \right) \right] \hat{G}^{1/2} \,\mathrm{d}z \,\mathrm{d}\lambda . \end{align}

Here, we have introduced a summation over all bounce wells corresponding to a given value of $\lambda$, and we have introduced the nonlinear function

(2.41)\begin{equation} \hat{F} = \frac{\sqrt{(\hat{\omega}_*^T - \hat{\omega}_\alpha)^2 + \hat{\omega}_\psi^2 }}{\sqrt{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2 } }. \end{equation}

The prefactor in front of the integral in (2.40) is readily interpreted. The factor ${\rm \pi} n_0 {\mathrm \Delta} \psi {\mathrm \Delta} \alpha L / \bar {B}$ is roughly the amount of particles residing in our flux tube, which we will call $N$, and hence the Æ is proportional to the total energy of these particles, $NT_0$. It is furthermore relatively straightforward to show that the integrand of (2.40) is always positive definite, as follows from the expression

(2.42)\begin{align} I(\hat{\omega}_\alpha, \hat{\omega}_\psi, \hat{\omega}_*^T) & = \hat{\omega}_\alpha^2 \left( \frac{\hat{\omega}_*^T}{\hat{\omega}_\alpha} - 1 + \frac{\sqrt{(\hat{\omega}_*^T - \hat{\omega}_\alpha)^2 + (\hat{\omega}_\psi)^2}}{\sqrt{(\hat{\omega}_\alpha)^2 + (\hat{\omega}_\psi)^2}} \right) \nonumber\\ & \quad +\hat{\omega}_\psi^2 \left({-}1 + \frac{\sqrt{(\hat{\omega}_*^T - \hat{\omega}_\alpha)^2 + (\hat{\omega}_\psi)^2}}{\sqrt{(\hat{\omega}_\alpha)^2 + (\hat{\omega}_\psi)^2}} \right). \end{align}

Since

(2.43)\begin{align} \frac{I(\hat{\omega}_\alpha,\hat{\omega}_\psi,\hat{\omega}_*^T)}{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2} & = \frac{\hat{\omega}_*^T \hat{\omega}_\alpha}{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2} + \sqrt{\frac{(\hat{\omega}_\alpha-\hat{\omega}_*^T)^2 + \hat{\omega}_\psi^2}{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2}} - 1 \nonumber\\ & = \frac{\hat{\omega}_*^T \hat{\omega}_\alpha}{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2} -1 + \sqrt{\left( \frac{\hat{\omega}_*^T \hat{\omega}_\alpha}{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2} - 1 \right)^2 + \left( \frac{\hat{\omega}_*^T \hat{\omega}_\psi}{ \hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2 } \right)^2 } \geq 0, \end{align}

the integrand in (2.40) must be positive definite, and so is therefore the Æ. It is also clear from this argument that even a small degree of non-omnigeneity in the magnetic-field geometry endows available energy to a plasma which otherwise has none, for the right-hand side of (2.43) is always positive if $\hat {\omega }_\psi \ne 0$. In other words, a Maxwellian can only be a ground state if the magnetic field is omnigenous (Helander Reference Helander2020).

Our final step is to find the fraction of energy that is available. The thermal energy of a plasma in a flux tube can readily be calculated to leading order in the perpendicular coordinates as

(2.44)\begin{equation} E_t = \frac{3}{2} \int \frac{n T}{B} \mathrm{d}\psi \,\mathrm{d}\alpha \,\mathrm{d}\ell \approx \frac{3}{2} n_0 T_0 \frac{{\rm \pi} {\mathrm \Delta} \psi {\mathrm \Delta} \alpha L}{B_0} \int \frac{1}{\hat{B}} \frac{\mathrm{d} \ell}{L}. \end{equation}

Hence, the fraction of energy that is available is equal to

(2.45)\begin{align} \frac{A}{E_t} & = \frac{2}{3} \left( \int \frac{4 \sqrt {\rm \pi}}{\hat{B}} \frac{ \mathrm{d} \ell}{L} \right)^{{-}1} \iint \sum_{\text{wells}(\lambda)} e^{{-}z} z^{5/2} \nonumber\\ & \quad \times\left[ \hat{\omega}_\alpha^2 \left( \frac{\hat{\omega}_*^T}{\hat{\omega}_\alpha} - 1 + \hat{F} \right) + \hat{\omega}_\psi^2 \left({-}1 + \hat{F} \right) \right] \hat{G}^{1/2} \,\mathrm{d}z \,\mathrm{d}\lambda. \end{align}

2.4 Relating available energy to turbulence

Our next step is to relate Æ to typical turbulence quantities, but there is basic difficulty having to do with the question of how these scale with the size of the system. There exist types of turbulence which depend on the size and shape of the domain in which it takes place, but we are mainly interested in turbulence for which this is not the case if the domain is large enough. We will refer to such turbulence as ‘local’. In a sufficiently resolved simulation, the correlation length of local turbulence will be smaller than the computational domain. Furthermore, if we expect Æ to encapsulate information about local turbulence, it should act as an extensive thermodynamic variable and thus scale linearly with the simulation volume. In expression (2.40), however, we see that under the replacement $({\mathrm \Delta} \psi, {\mathrm \Delta} \alpha ) \mapsto C({\mathrm \Delta} \psi, {\mathrm \Delta} \alpha )$ the Æ transforms as $A \mapsto C^4 A$ (as $\hat {\omega }_\psi$ and $\hat {\omega }_\alpha$ scale linearly with $C$). The underlying physical reason is that the Æ measures the maximum amount of energy that can be released by redistributing plasma over the entire domain, which scales as the volume of the domain (${\sim }C^2$) multiplied by the square of the variation of the distribution function over the domain (${\sim }C^2$), see Helander (Reference Helander2017). Local turbulence, however, is only able to redistribute plasma over some finite length scale comparable to the correlation length. The latter can be different in the two directions perpendicular to the magnetic field, and the appropriate choice for the domain size over which the system can redistribute particles are these length scales in the $\psi$- and $\alpha$-directions.Footnote 2 Let us denote these length scales by ${\mathrm \Delta} \psi _{A}$ and ${\mathrm \Delta} \alpha _{A}$, respectively. For fixed ${\mathrm \Delta} \psi _{A}$ and ${\mathrm \Delta} \alpha _{A}$ we see that (2.45) is indeed independent of the domain size, and hence the total Æ acts as a thermodynamic variable.

To choose these length scales appropriately, we define radial and binormal coordinates in units of length by

(2.46a,b)\begin{equation} r = a \sqrt{\frac{\psi}{\psi_\mathrm{tot}}},\quad s = r_0 \alpha, \end{equation}

where $\psi _\mathrm {tot}$ is the total toroidal flux passing through the last closed flux surface, and $r_0 = a \sqrt {\psi _0/\psi _\mathrm {tot}}$. In terms of these coordinates, we require that the length scales are of the form

(2.47a,b)\begin{equation} {\mathrm \Delta} r_A = C_r \rho,\quad {\mathrm \Delta} s_A = C_s \rho, \end{equation}

where $\rho$ is the Larmor radius, and $C_r$ and $C_y$ are functions of order $\mathcal {O}(\rho ^0)$, which can depend on the equilibrium parameters such as the rotational transform $\iota$ or the magnetic shear $s$. We note that, by choosing proportionality to the gyroradius, the Æ becomes proportional to the expansion parameter $(\rho _*)^2 \equiv (\rho /L_\mathrm {ref})^2$, with $L_\mathrm {ref}$ being some equilibrium length scale. This is because $\omega _\alpha$ and $\omega _\psi$ are set by the equilibrium and exhibit an $L_\mathrm {ref}^{-1}$ dependence. The ratio of $C_r/C_s$ is a measure of anisotropy; if $C_r/C_s=1$ the correlation length is similar in the radial and binormal direction. Conversely, if there are large radial streamers present in a system one could reasonably expect $C_r/C_s \gg 1$. As such, it is unclear a priori what a proper length scaleis for both $C_r$ and $C_s$, as it will in general depend on the specific structure of the turbulence. For the rest of the investigation, we shall make use of the simplest possible ansatz for $C_r$ and $C_s$: we shall take them to be equal and independent of equilibrium parameters, i.e.

(2.48)\begin{equation} C_r = C_s = 1. \end{equation}

Finally, to facilitate a comparison with nonlinear gyrokinetic turbulence simulations, we define a dimensionless Æ

(2.49)\begin{equation} \hat{A} = \frac{A}{E_t \rho_*^2}. \end{equation}

Note that this choice for $\hat {A}$ differs from the one used in Mackenbach et al. (Reference Mackenbach, Proll and Helander2022), (up to a constant prefactor) by the factor $(\int \hat {B}^{-1} \,\mathrm {d} \ell / L)^{-1}$. In the results which are to be presented the inclusion or exclusion of this factor does not alter the results significantly. In devices with large variation in the magnetic-field strength, however, this factor can change $\hat {A}$ to a greater extent. Since the above expression for $\hat {A}$ is the fraction of energy that is available in the flux tube, we find that this definition is more natural. Finally, we denote some important dependencies of $\hat {A}$. Firstly, upon rescaling $(C_r,C_s) \mapsto C (C_r,C_s)$ by a factor $C$, the Æ scales as $\hat {A} \mapsto C^2 \hat {A}$. A rescaling of $C_r$ and $C_s$ may thus have a significant impact on the Æ. Furthermore, if one increases the magnitude of $C_s$ for fixed $C_r$, (2.43) implies that the Æ will increase as well. In general, one should thus expect results to be dependent on the choice of $C_r$ and $C_s$, and the choice of $C_r=C_s=1$ should be interpreted as the simplest possible model for these functions.

3 Results

3.1 Comparison with nonlinear gyrokinetics

A routine for calculating the Æ has been implemented in pythonFootnote 3 , with numerical routines discussed in Mackenbach et al. (Reference Mackenbach, Duff, Gerard, Proll, Helander and Hegna2023). The calculations are very fast; in the current implementation less than a CPU minute is required to obtain a sufficiently resolved result. We compare the Æ of various devices with saturated turbulent energy fluxes calculated by nonlinear flux-tube simulations in the gene code. More specifically we compare the dimensionless Æ, as defined in (2.49), with the normalized saturated radial energy flux $\hat {Q}_\textrm {sat}$ defined as

(3.1)\begin{equation} \hat{Q}_{\text{sat}} = \int_{t_\text{sat}} Q_e(t) \,\mathrm{d}t/ \left(t_\mathrm{sat} \rho_*^2 n_0 T_0 \sqrt{T_0/m} \right). \end{equation}

Here, $Q_e(t)$ is the instantaneous total radial electron energy flux across the tube as a function of time, and $t_\textrm {sat}$ denotes the time span of the simulation in which the turbulence is saturated, which should exceed the time in which the energy flux saturates. The simulation set consists of both density-gradient- and electron-temperature-gradient-driven, collisionless, electrostatic turbulence simulations, the majority of which have been discussed in Proll et al. (Reference Proll, Plunk, Faber, Görler, Helander, McKinney, Pueschel, Smith and Xanthopoulos2022). The ion temperature gradient is chosen to be zero in order to avoid effects from ion temperature gradient modes, which are not accounted for by our model since only the Æ of electrons is considered. Furthermore, collisions are negligible in sufficiently hot plasmas, and may not alter the Æ significantly as long as conservation of $\mu$ and $\mathcal {J}$ holds on time scales comparable to the inverse instability frequency (Kolmes & Fisch Reference Kolmes and Fisch2020). Finally, since electromagnetic effects only become relevant at relatively high normalized plasma pressure, they are neglected (Püschel Reference Püschel2009; Aleynikova et al. Reference Aleynikova, Zocco, Xanthopoulos, Helander and Nührenberg2018).

The results of this analysis are plotted in figure 2, which exhibits a close correlation between turbulent transport and Æ in one tokamak and various stellarators for various values of the density gradient as indicated in colour. The gradients are expressed in terms of $L_\textrm {ref}/L_n$, where $L_n$ is the length scale of the density gradient defined as $L_n= -n/(\mathrm {d} n / \mathrm {d} r)$, with $r$ being the minor radial coordinate. Furthermore, two grey points are included which have no density gradient and an electron temperature gradient of $L_{T}= -T/(\mathrm {d} T / \mathrm {d} r) = 3$.Footnote 4 A peculiarity occurs in the data set from the high-mirror magnetic configuration in W7-X, at $L_\textrm {ref}/L_n=2$. Surprisingly, this data point has a lower energy flux than the $L_\textrm {ref}/L_n=1$ case, which is counter-intuitive as stronger gradients usually lead to more turbulence. It is postulated that this peculiar behaviour is due to a difference in the dominant instability, leading to the difference in transport. At low gradients, the ion-driven TEM (iTEM) may be dominant in W7-X High Mirror (HM), which unlike the ordinary TEM derives its energy from the ions (Plunk et al. Reference Plunk, Connor and Helander2017). At high gradients, it is expected that the universal instability starts to dominate transport (Helander & Plunk Reference Helander and Plunk2015; Landreman, Antonsen & Dorland Reference Landreman, Antonsen and Dorland2015; Costello et al. Reference Costello, Proll, Plunk, Pueschel and Alcusón2023). Neither of these instabilities derive energy from the trapped electrons, and it is not self-evident that the Æ of trapped electrons should be correlated with turbulent transport in this regime.

Figure 2. A scatter plot showing the normalized Æ for a range of stellarator and tokamak plasmas and the average nonlinear saturated turbulent radial energy flux from gyrokinetic simulations of these plasmas. The different points refer to different density gradients, as indicated by the colour, and to different devices. The devices that are used in this analysis are the tokamak DIII-D, the Helically Symmetric eXperiment (HSX) and the W7-X stellarator in both high-mirror configuration (HM) and standard configuration (SC). The straight black line shows the least-squares fit, which results in the power law $\ln Q_\textrm {sat} \propto (1.5 \pm 0.1) \ln A$.

A power law is found by fitting a straight line to the log–log plot given in figure 2, where we have excluded the grey points from the fitting procedure. The fit results in

(3.2)\begin{equation} Q_\text{sat} \propto A^{1.5 \pm 0.1}. \end{equation}

This relation is of interest, as it can be motivated in the following manner. The electron energy flux density in the direction of $\boldsymbol {\nabla } x$ is defined as

(3.3)\begin{equation} {Q}_e = \frac{1}{V_\text{sim}} \int \epsilon f_{e1} (\boldsymbol{v}_D \boldsymbol{\cdot} \rho\boldsymbol{\nabla} x)\,\mathrm{d}\boldsymbol{x}. \end{equation}

Here, $\boldsymbol {v}_D$ is the gyro-averaged drift velocity, and $f_{e1}$ is the fluctuating part of the electron distribution function (Görler Reference Görler2010). We go on to crudely estimate this flux as

(3.4)\begin{equation} Q_e \sim \sqrt{\langle \boldsymbol{v}_D^2 \rangle} \int \epsilon f_{e1}\,\mathrm{d}\boldsymbol{x}, \end{equation}

where the angular brackets denotes an average over the simulated volume. The integral in this expression is bounded by the Æ, and hence we set $\int \epsilon f_{e1} \,\mathrm {d}\boldsymbol {x} \sim A$. The average of the squared drift velocity,

(3.5)\begin{equation} \langle \boldsymbol{v}_D^2 \rangle = \left\langle \left( \boldsymbol{E} \times \boldsymbol{B} / B^2 \right)^2 \right\rangle, \end{equation}

is proportional to the gyrokinetic energy of the electric field. Since the sum total of the thermal and this field energy should be conserved (Helander Reference Helander2017), this field energy is also bounded by the Æ. We thus estimate that $\langle \boldsymbol {v}_E^2 \rangle \sim A$, which gives

(3.6)\begin{equation} Q_e \propto A^{3/2}, \end{equation}

in agreement with the observed power law. We have furthermore tried different conditions for particles which cross the computational boundary (Mackenbach et al. Reference Mackenbach, Duff, Gerard, Proll, Helander and Hegna2023), and we find that the results are resilient against these such variations.

The two grey points lie significantly below the black line in figure 2. A possible reason may be that all the other points refer to plasmas with a density gradient, in which there is, in principle, Æ in both the electron and ion populations (although we have only considered the electons). In contrast, for the grey points correspond to plasmas with an electron gradient alone, implying that the Æ from the ions vanishes identically. There is thus less energy to drive turbulence in this case.

3.2 The distribution of Æ

We now go on to investigate how different trapped particle orbits contribute to the Æ. In order to do so, we define an Æ per trapping well, namely

(3.7)\begin{equation} \hat{A}_\lambda(\lambda) = \int_0^\infty e^{{-}z} z^{5/2} \left[ \hat{\omega}_{\alpha}^2 \left(\frac{ \hat{\omega}_{*}^T }{\hat{\omega}_{\alpha}} - 1 + \hat{F} \right) + \hat{\omega}_{\psi}^2 \left({-}1 + \hat{F} \right) \right] \hat{G}^{1/2} \,\mathrm{d}z, \end{equation}

so that $\int \sum _{\mathrm {wells}} \hat {A}_\lambda \,\mathrm {d} \lambda = \hat {A}$. For any given value of $\lambda$, this quantity can be calculated separately for each trapping well. The bounce points associated with each $\lambda$, which we denote by $\theta _b$ (with $\theta$ being the poloidal angle, our field-line following coordinate), satisfy

(3.8)\begin{equation} 1 - \lambda \hat{B}(\theta_b) = 0. \end{equation}

One can then draw a straight line between the two bounce points of a bounce well, and colour that line according to its associated $A_\lambda$. One can furthermore investigate $\hat {\omega }_\alpha$ and $\hat {\omega }_\psi$ as a function of their bounce points. This can be done by realizing that both $\hat {\omega }_\alpha$ and $\hat {\omega }_\psi$ can be mapped onto their bounce points using (3.8), and one can thus investigate how their values depend on the bounce points.

A plot displaying the properties of (3.7) in this way is shown in figure 3 for the case of the DIII-D tokamak with a normalizeddensity gradient $L_\mathrm {ref}/L_n = 3$. Additionally, the binormal and radial drifts are shown as dashed green and dash-dotted blue lines, respectively. For convenience, a black dotted line is also displayed which indicates where $\hat {\omega }_\psi = \hat {\omega }_\alpha = 0$. It can be seen that energy is available over most of the magnetic well. Only the most shallowly trapped particles do not contribute to the Æ, as $\hat {\omega }_\alpha$ changes sign for these particles. This is in line with expectations, as the more deeply trapped particles experience ‘bad curvature’ only, which in turn drives the TEM unstable (Proll et al. Reference Proll, Helander, Connor and Plunk2012; Helander Reference Helander2017). The contribution to the Æ from the trapped particle orbits is enhanced by the positive magnetic shear in DIII-D (Connor, Hastie & Martin Reference Connor, Hastie and Martin1983). The most shallowly trapped particles experience good curvature along most of their trajectories and exert, in contrast to the deeply trapped particles, a stabilizing influence. Note that this figure refers to a tokamak, which besides being exactly omnigenous only has a single trapping well. Stellarators generally have many different bounce wells, and non-omnigenous effects arise due to net radial drifts.

Figure 3. The Æ per $\lambda$ for DIII-D. The flux tube is located at a normalized radial flux of $\psi /\psi _\mathrm {edge}=0.5$.

To investigate how these circumstances change the distribution of Æ across different bounce wells, we show a plot of W7-X in its standard magnetic configuration in figure 4, with a density gradient of $L_\mathrm {ref}/L_n = 3$. Several interesting features can be seen. The most pronounced difference to the previous figure is that the Æ is much more localized than in DIII-D, so that most of the contribution comes from a narrow range of bounce wells. Most of the Æ comes from bright bands in the central well, particularly those where the bounce well approaches the local maximum in $B$ around $\theta = 0$. One can understand this observation in the following manner. Near the local maximum in field strength, the drift is maximally bad (as $\hat {\omega }_\alpha$ is most negative), and the trapped particles in this region contribute significantly to the Æ. Furthermore, the Æ is weighted by $\hat {G}^{1/2}$, which is proportional to the bounce time, which becomes large near such a local maximum. These two effects combine in the central region, giving rise to the large Æ there. One can also see two bright bands at $B \approx 1.10$, which at first seems puzzling as the particles experience on average good curvature in this band, as indicated by the positive sign of $\hat {\omega }_\alpha$. However, these particles experience a net radial drift ($\hat {\omega }_\psi \neq 0$) and this non-omnigeneity causes the Æ to be non-zero. Furthermore, it is exacerbated by the large bounce time, resulting in the bright bands seen in the figure. Finally, one can see that, as in a tokamak, shallowly trapped particles barely contribute to the Æ, although the fraction of trapped particles which do not contribute is significantly larger than in DIII-D.

Figure 4. The Æ per $\lambda$ for W7-X (SC). The flux tube is located at a normalized radial flux of $\psi /\psi _\mathrm {edge}=0.5$.

In summary, the distribution of Æ across various bounce wells indicates that it is the deeply trapped particles in regions of bad curvature which tend to be most destabilizing. Furthermore, the bounce time plays an important role in determining which particles contribute most to the Æ. Finally, we note that non-omnigenous effects can destabilize otherwise stable regions.

3.3 Dependence on gradient strength

We finally investigate how the Æ depends on the strength of the gradient $\hat {\omega }_*^T$, when all other variables are kept constant. In the limit of large gradients, it is easy to see that (2.49) implies a linear scaling with the gradient strength. We go one step further and expand the integrand around large $\omega _*^T$, which gives

(3.9)\begin{equation} \hat{A} \propto \hat{\omega}_*^T \left(\hat{\omega}_\alpha + \mathrm{sgn}(\hat{\omega}_*^T) \sqrt{\hat{\omega}_\alpha^2 + \hat{\omega}_\psi^2}\right) \hat{G}^{1/2}, \end{equation}

where $\mathrm {sgn}(x)=x/|x|$ is the sign function. In the opposite limit of small gradients, we find an important distinction between omnigenous and non-omnigenous devices. In a non-omnigenous device, one can expand (2.45) around small $\hat {\omega }_*^T$, and one finds that in a weakly driven regime the integrand becomes

(3.10)\begin{equation} \hat{A} \propto (\hat{\omega}_*^T)^2 \frac{\hat{\omega}_\psi^2}{\hat{\omega}_\alpha^2+ \hat{\omega}_\psi^2} \hat{G}^{1/2}. \end{equation}

For an exactly omnigenous device, however, this result vanishes due to the factor $\hat {\omega }_\psi ^2$. To find the correct scaling for such devices, we return to the expression for the Æ of an omnigenous device first found in Helander (Reference Helander2020). Here, it was found that the Æ is proportional to

(3.11)\begin{equation} \hat{A} \propto \iint e^{{-}z} z^{5/2} \hat{\omega}_\alpha^2 R \left[\frac{\hat{\omega}_*^T}{\hat{\omega}_\alpha} - 1 \right] \hat{G}^{1/2} \,\mathrm{d} \lambda \,\mathrm{d} z, \end{equation}

where $R[x] = (x + |x|)/2$ is the ramp function. Note that, when $\hat {\omega }_*^T$ is small, the ramp function is non-zero in the region where $\omega _\alpha \rightarrow 0$. If we assume there exists a point where $\omega _\alpha =0$ we can expand around the point $\hat {\omega }_\alpha (\lambda _0) = 0$, and set

(3.12)\begin{equation} \hat{\omega}_\alpha \approx \hat{\omega}_\lambda (\lambda - \lambda_0). \end{equation}

Next, we find the region where the argument of the ramp function is positive by finding where the argument vanishes

(3.13)\begin{equation} \frac{\hat{\omega}_*^T}{\hat{\omega}_\alpha} - 1 = 0 \implies \lambda \approx \lambda_0 + \frac{\hat{\omega}_*^T}{\hat{\omega}_\lambda}. \end{equation}

We can now perform the integral over the range $\lambda \in [\lambda _0,\lambda _0+ \hat {\omega }_*^T/\hat {\omega }_\lambda ]$, and we find that the Æ to leading order is proportional to

(3.14)\begin{equation} \hat{A} \propto \int e^{{-}z} z^{5/2} \hat{\omega}_\lambda \hat{\omega}_*^T \left( \frac{\hat{\omega}_*^T}{\hat{\omega}_\lambda} \right)^2 \hat{G}^{1/2}(\lambda_0) \,\mathrm{d}z. \end{equation}

Thus we conclude that, for weakly driven omnigenous devices, the Æ integrand scales as

(3.15)\begin{equation} \hat{A} \propto |\hat{\omega}_{*}^{T}|^3 \frac{\hat{G}^{1/2}(\lambda_0)}{|\hat{\omega}_\lambda|}. \end{equation}

Hence, in summary, we have

(3.16)\begin{equation} \hat{A} \propto \begin{cases} (\hat{\omega}_*^T) & \text{if } |\hat{\omega}_*^T| \gg 1 \\ ( \hat{\omega}_*^T)^2 & \text{if } |\hat{\omega}_*^T| \ll 1 \text{ and } \hat{\omega}_\psi \neq 0 \\ ( \hat{\omega}_*^T)^3 & \text{if } |\hat{\omega}_*^T| \ll 1 \text{ and } \hat{\omega}_\psi = 0. \end{cases} \end{equation}

The different scaling laws are displayed in figure 5, where we see a tokamak (which is exactly omnigenous), a non-omnigenous stellarator and the optimized, fairly omnigenous, HSX stellarator. The plots show a distinct ‘knee’ at the transition from one scaling law to the next. This knee is especially pronounced for the tokamak, and less so for the stellarator. The difference in scaling for weakly and strongly driven regimes is interesting, as the behaviour is reminiscent of gradient-threshold (also called critical-gradient) type behaviour. Such a gradient threshold is signified by small transport up to some threshold in the gradient followed by strong transport above this threshold (Dimits Reference Dimits2000), a behaviour shared by the present plot. It is thought that this critical gradient plays an important role in profile stiffness, where profiles tend to retain their shape without much sensitivity to the details of the particle/energy sources (Garbet et al. Reference Garbet, Mantica, Ryter, Cordey, Imbeaux, Sozzi, Manini, Asp, Parail and Wolf2004). It is also interesting to note that, from the different scaling laws for omnigenous and non-omnigenous devices, one would expect the critical-gradient-like behaviour of the Æ to be ‘softer’ in a non-omnigenous stellarator, as the transition from a quadratic to a linear scaling law is more gradual than that from a cubic one. If this gradient-threshold behaviour of the Æ indeed corresponds to the true critical gradient, this would result in profiles being less stiff, which has indeed observed in various stellarators (Milligen et al. Reference Milligen, Tribaldos, Vargas and Sanchez2008; Sanchez & Newman Reference Sanchez and Newman2015). Investigating HSX more closely, we see that for very low gradients it follows a quadratic scaling, for moderate gradients it approaches a third-power scaling and for strong gradient it is linear. This third-power region is a result of HSX being close to quasi-symmetry, so that $\hat {\omega }_\psi$ is small. However, at small enough gradients, the $\hat {\omega }_\psi$ term starts to become important causing the scaling to be quadratic.

Figure 5. An example of the dependence of Æ on the gradient strength for three different devices; a tokamak, a non-omnigenous stellarator and HSX. In the case displayed above, the electron temperature gradient is set to zero. The dashed, dash-dotted, and dotted lines have a linear, square and third-power scaling with the density gradient, respectively.

Finally, we note the non-trivial dependence on $\hat {\omega }_\alpha$ in the various regimes. When the gradients are large, the Æ is linearly proportional to $\hat {\omega }_\alpha$, which quantifies ‘bad curvature’, but for small gradients it is inversely proportional to $\hat {\omega }_\alpha$. This implies that one can reduce the total Æ by increasing the amount of bad curvature. This would lead to reduced Æ in the weakly driven regime, and the ‘knee’ point would be shifted to higher $\hat {\omega }_*^T$, which would lead to a higher critical gradient (as estimated from Æ). This is in line with recent results of Roberg-Clark, Plunk & Xanthopoulos (Reference Roberg-Clark, Plunk and Xanthopoulos2022) and Roberg-Clark et al. (Reference Roberg-Clark, Plunk, Xanthopoulos, Nührenberg, Henneberg and Smith2023), who found that the critical gradient can be increased by introducing more bad curvature into the magnetic geometry, which thus leads to lower turbulent heat fluxes, although it should be noted that those results concern ion-temperature-gradient-driven transport. An important corollary of this property is that, in a device with particularly low Æ in the weakly driven regime (much bad curvature), the Æ becomes very large in the strongly driven regime, being linearly proportional to $\hat {\omega }_\alpha$ when $\hat {\omega }_*^T \gg 1$. One can thus either have a device with a high gradient threshold and low Æ for small gradients (which may be attained by increasing the amount of bad curvature), or a device with low Æ in the strongly driven regime thanks to relatively little bad curvature in regions with many trapped particles.

4 Summary and conclusions

In this paper we have derived the Æ of trapped electrons in a slender flux tube of magnetically confined plasma, and we have compared it with nonlinear saturated radial electron energy fluxes as calculated by nonlinear gyrokinetic simulations. In deriving the Æ, several key insights were required to make progress. Firstly, it was found that the calculation is particularly simple in flux tubes with elliptical cross-section. An explicit expression of the ground state can then be found, which was used to calculate the Æ to leading order. The result is positive definite, as it must be, and reduces to a previously found expression in the case that the magnetic field is omnigenous. Since the Æ depends on the cross-section of the flux tube, its major and minor radii need to be chosen a priori. The correct choice depends on the correlation length of the turbulence, which we take to be proportional to the gyroradius in both directions.

We compared the resulting Æ for different magnetic geometries with the energy flux computed in a set of simulations of density-gradient-driven turbulence. The numerical Æ calculations are many orders of magnitude faster than the gyrokinetic simulations. The analysis is done for 4 different magnetic configurations, DIII-D, HSX and W7-X in its standard and high-mirror configurations. The saturated electron energy flux $Q_\textrm {sat}$ is approximately related to the Æ via a simple power law $Q_\textrm {sat} \propto A^{1.5 \pm 0.1}$. A straightforward phenomenological model to explain the observed power law is proposed, which results in $Q_\textrm {sat} \propto A^{3/2}$. We go on to investigate which regions are driving the available energy. The results can be understood in terms of simple geometrical concepts: bad curvature (resulting in the drift being in resonance with the drift wave) and non-omnigeneity drive Æ. We finally investigate the dependence of Æ on gradient and find that there are three distinct scaling laws; for strong gradients the Æ scales linearly with the gradient strength, whereas for weak gradients the Æ scales as the gradient strength squared or cubed for non-omnigenous or exactly omnigenous fields, respectively.

These results are interesting for future research. The strong correlation between Æ and energy flux across various devices indicates that it may serve as a good proxy function for stellarator optimization codes (Spong et al. Reference Spong, Hirshman, Berry, Lyon, Fowler, Strickler, Cole, Nelson, Williamson and Ware2001; Landreman et al. Reference Landreman, Medasani, Wechsung, Giuliani, Jorge and Zhu2021) used to design stellarators with reduced turbulence. Direct gyrokinetic simulations can be too time consuming to be carried out inside the optimization loop in such codes, so there is a need for more efficiently estimating turbulent transport in given magnetic field. It is thus of interest to understand how Æ is related to specific details in the field-line geometry. As we have seen, regions of bad curvature are associated with large Æ, thus providing a connection between previously known results from linear gyrokinetic stability theory and Æ, but the latter also seems to possess predictive qualities for nonlinear transport. Furthermore, one could also use the Æ derived here as a profile optimization tool for TEM-dominated devices. One could then search for plasma profiles and adjustable coil currents which minimize the Æ, under some set of constraints. Finally, it may also be valuable to derive expressions for Æ in more generic scenarios where turbulence is driven by an ion temperature gradient.

Acknowledgements

The authors are grateful for the valuable discussions with, J.M. Duff, J. Ball, T. Görler, M.J. Pueschel, P. Mulholland, P. Costello, M.J. Gerard and E. Rodriguez. This work was partly supported by a grant from the Simons Foundation (560651, PH), and this publication is part of the project ‘Shaping turbulence – building a framework for turbulence optimization of fusion reactors’, with Project No. OCENW.KLEIN.013 of the research program ‘NWO Open Competition Domain Science’ which is financed by the Dutch Research Council (NWO). This work has been carried out within the framework of the EUROfusion Consortium, funded by the European Union via the Euratom Research and Training Program (Grant Agreement No. 101052200 – EUROfusion). Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.

Editor Tünde Fülöp thanks the referees for their advice in evaluating this article.

Declaration of interests

The authors report no conflict of interest.

Appendix A. Details of the derivation of the domain shape

Here, we provide mathematical details for the argument given in § 2 concerning the domain shape. We do so by means of a geometric argument, sketched in figure 6. Here, $\mathrm {A}$ and $\mathrm {A}'$ denote two points on the boundary with parallel tangents, $T_{\mathrm {A}}$ and $T_{\mathrm {{A}'}}$, respectively. The distance between these tangents is $2D$ and the radius of curvature of the boundary at $\mathrm {A}$ is $R$. If $\mathrm {C}$ is the point on $T_{\mathrm {A}'}$ that is closest to $\mathrm {A}$ we thus have $|\mathrm {AC}|=2D$. Next, we let $\mathrm {B}$ and $\mathrm {B}'$ denote boundary points in the vicinity $\mathrm {A}$ and $\mathrm {A}'$, respectively, such that the tangents through $\mathrm {B}$ and $\mathrm {B}'$ are parallel, and we denote by $\mathrm {E}$ the point on the tangent through $\mathrm {B}'$ that is closest to $\mathrm {B}$. Let us write the distance $|\mathrm {BE}|=2(D+\mathrm {d}D)$ and define $|\mathrm {A}'\mathrm {C}|=2L$. To leading order in smallness of $\mathrm {d} \vartheta$ we have $|\mathrm {DC}|=2D \mathrm {d} \vartheta$. Furthermore, to leading order $|\mathrm {B}'\mathrm {E}|=2L$, implying that $|\mathrm {FE}|=2L\mathrm {d}\vartheta$, where $\mathrm {F}$ denotes the intersection of $\mathrm {BE}$ and $\mathrm {A}'\mathrm {C}$. All in all we find the leading-order relations

(A1)\begin{equation} \left.\begin{gathered} |\mathrm{BE}|=|\mathrm{AD}|+|\mathrm{FE}| \\ 2(D+ \mathrm{d}D) = 2D + 2L \mathrm{d} \vartheta \\ \frac{\mathrm{d}D}{\mathrm{d}\vartheta} = L. \end{gathered}\right\} \end{equation}

Figure 6. A geometric sketch showing the relation between $D$ and $R$. The green vertical lines passing through $A$ and $A'$ are tangent to the boundary, as are the red ones passing through $B$ and $B'$.

Next, we investigate how $L$ changes under some small change $\mathrm {d}\vartheta$. Let us define $|\mathrm {B}'\mathrm {E}|=2L' = 2(L+ \mathrm {d}L)$. Since $|\mathrm {AB}|=|\mathrm {A}'\mathrm {B}'|=R\mathrm {d}\vartheta$ and $|\mathrm {CD}|=2D\mathrm {d}\vartheta$, we have

(A2)\begin{equation} \left.\begin{gathered} 2L'= 2L + 2 R \mathrm{d} \vartheta - 2D\mathrm{d}\vartheta \\ \frac{\mathrm{d}L}{\mathrm{d}\vartheta} = R - D. \end{gathered}\right\} \end{equation}

Combining these relations, one finds

(A3)\begin{equation} \frac{\mathrm{d}^2 D}{\mathrm{d} \vartheta^2} = R - D, \end{equation}

and since $R = C_\mathcal {A}/D^3$ the equation for the domain can be written as

(A4)\begin{equation} \frac{\mathrm{d}D}{\mathrm{d} \vartheta} ={\pm} \sqrt{2C - D^2 - \frac{C_\mathcal{A}}{D^2}}. \end{equation}

It is straightforward to solve for the inverse function, $\vartheta (D)$, which becomes

(A5)\begin{equation} \vartheta = \int \frac{\mathrm{d}D}{\sqrt{2C-D^2-\dfrac{C_\mathcal{A}}{D^2}}} = \frac{1}{2}\arcsin \left( \frac{D^2 - C}{\sqrt{C^2 - C_\mathcal{A}}} \right) + \mathrm{const.}, \end{equation}

where the integration constant constitutes an unimportant phase, which we can chose conveniently, e.g.

(A6)\begin{equation} D^2 = \sqrt{C^2-C_\mathcal{A}} (C +\cos 2\vartheta). \end{equation}

The radius of curvature thus becomes

(A7)\begin{equation} R(\vartheta) = \frac{C_\mathcal{A}}{(C^2-C_\mathcal{A})^{3/4}(C + \cos 2 \vartheta)^{3/2}}. \end{equation}

Our final step is to verify that an ellipse has similar curvature. We first realize that

(A8)\begin{equation} \tan \vartheta = \frac{\mathrm{d}y}{\mathrm{d}x}, \end{equation}

which for an ellipse, $x^2/a^2 + y^2/b^2 = 1$ implies that

(A9)\begin{equation} \tan \vartheta ={-} \frac{x}{y} \frac{b^2}{a^2}. \end{equation}

Now, the radius of curvature for an ellipse may be written as

(A10)\begin{align} R & = (ab)^2 \left( \frac{\dfrac{x^2}{a^4} + \dfrac{y^2}{b^4}}{\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2}} \right)^{3/2} \nonumber\\ & = \frac{b^2}{a} \left( \frac{1 + \dfrac{1}{\tan^2 \vartheta}}{1 + \dfrac{b^2}{a^2\tan^2 \vartheta}} \right)^{3/2} \nonumber\\ & =\frac{b^2}{a} \left( \frac{1}{1 + \dfrac{b^2/a^2-1}{2} (1 + \cos 2 \vartheta )} \right)^{3/2}. \end{align}

This is of the same form as (A7), showing us that the ellipse is indeed the only sufficiently smooth solution to the problem.

Appendix B. Relating derivatives to bounce-averaged frequencies

Here, we show how the derivatives of the energy and distribution function can be related to bounce averaged frequencies. By investigating the bounce-averaged Lagrangian of charged particles in electromagnetic fields, one can derive the following relations (Helander & Sigmar Reference Helander and Sigmar2005; Helander Reference Helander2014):

(B1ac)\begin{equation} \frac{\partial \mathcal{J}}{\partial \alpha} ={+} q ( \delta \psi ),\quad \frac{\partial \mathcal{J}}{\partial \psi} ={-} q ( \delta \alpha),\quad \frac{\partial \mathcal{J}}{\partial \epsilon} = \tau_b. \end{equation}

Here, $\delta \psi$ is the total excursion in the $\psi$ direction after a full bounce motion, $\delta \alpha$ is the total excursion in the $\alpha$ direction after a full bounce motion and $\tau _b$ is the bounce time. In general, we know that the second adiabatic invariant can be written as

(B2)\begin{equation} \mathcal{J} = \mathcal{J}(\epsilon,\psi,\alpha,\mu). \end{equation}

Taking the total differential of $\mathcal {J}$ we thus find

(B3)\begin{equation} \mathrm{d}\mathcal{J} = \tau_b \,\mathrm{d}\epsilon - q ( \delta \alpha )\,\mathrm{d}\psi + q ( \delta \psi ) \,\mathrm{d}\alpha + \frac{\partial \mathcal{J}}{\partial \mu} \mathrm{d}\mu. \end{equation}

This allows us to readily find the derivatives of the energy function. We conclude that

(B4a)\begin{gather} \left( \frac{\partial \epsilon}{\partial \psi} \right)_{\mu,\mathcal{J},\alpha} ={+} q \frac{\delta \alpha}{\tau_b} \equiv{+} q\omega_\alpha, \end{gather}
(B4b)\begin{gather}\left( \frac{\partial \epsilon}{\partial \alpha} \right)_{\mu,\mathcal{J},\psi} ={-} q \frac{\delta \psi}{\tau_b} \equiv{-} q \omega_\psi. \end{gather}

With these findings the derivatives of the Maxwellian can readily be evaluated

(B5a)\begin{gather} \left(\frac{\partial f_{M}}{\partial \psi}\right)_{\mu,\mathcal{J},\alpha} ={+} q \frac{f_{M,0}}{T_0} \left( \omega_*^T - \omega_\alpha \right), \end{gather}
(B5b)\begin{gather}\left(\frac{\partial f_{M}}{\partial \alpha}\right)_{\mu,\mathcal{J},\psi} ={+} q \frac{f_{M,0}}{T_0} \omega_\psi. \end{gather}

Here, we have defined the electron diamagnetic drift frequency as $\omega _*^T$ as

(B6)\begin{equation} \omega_*^T \equiv \frac{T_0}{q} \frac{\mathrm{d} \ln n}{\mathrm{d} \psi} \left( 1 + \eta \left[ \frac{\epsilon_0}{T_0} - \frac{3}{2} \right] \right), \end{equation}

and we have denoted the ratio between the gradients as $\eta = (\mathrm {d} \ln {T} / \mathrm {d} \psi ) / (\mathrm {d} \ln {n} / \mathrm {d} \psi )$.

Footnotes

1 The result is nearly identical, up to the factor $\hat {\mathcal {E}}_\vartheta ^2$. This factor may, however, be absorbed into ${\mathrm \Delta} \psi$, resulting in the same equation as Helander (Reference Helander2020).

2 Let us note in passing that choosing the length scales to be similar to the correlation length coincides with the elliptical cross-section being a natural choice. Denoting the inner product $\int f(\boldsymbol {r}+\boldsymbol {r}') g(\boldsymbol {r}')\,\mathrm {d} \boldsymbol {r}' \equiv \langle f(\boldsymbol {r}), g \rangle$, the correlation function may be written as $C_\textrm {corr}(\boldsymbol {r}) = \langle \phi (\boldsymbol {r}),\phi \rangle /\sqrt {\langle \phi (\boldsymbol {r}),\phi (\boldsymbol {r})\rangle \langle \phi,\phi \rangle }$, with $\phi$ being the electrostatic potential. To leading order in smallness of $\boldsymbol {r}$, the level curves of $C_\textrm {corr}$ are then elliptical, in line with the chosen domain shape.

3 The code is available on GitHub: https://github.com/RalfMackenbach/AEpy.

4 To avoid effects from electron temperature gradient turbulence, the grey points have the electron to ion temperature ratio set to $T_e/T_i=7$.

References

Aleynikova, K., Zocco, A., Xanthopoulos, P., Helander, P. & Nührenberg, C. 2018 Kinetic ballooning modes in tokamaks and stellarators. J. Plasma Phys. 84 (6).CrossRefGoogle Scholar
Barnes, M., Parra, F.I. & Schekochihin, A.A. 2011 Critically balanced ion temperature gradient turbulence in fusion plasmas. Phys. Rev. Lett. 107 (11), 115003.CrossRefGoogle ScholarPubMed
Beer, M.A., Cowley, S.C. & Hammett, G.W. 1995 Field aligned coordinates for nonlinear simulations of tokamak turbulence. Phys. Plasmas 2 (7), 26872700.CrossRefGoogle Scholar
Beidler, C.D., Smith, H.M., Alonso, A., Andreeva, T., Baldzuhn, J., Beurskens, M.N.A., Borchardt, M., Bozhenkov, S.A., Brunner, K.J., Damm, H., et al. 2021 Demonstration of reduced neoclassical energy transport in Wendelstein 7-X. Nature 596 (7871), 221226.CrossRefGoogle ScholarPubMed
Bozhenkov, S.A., Kazakov, Y., Ford, O.P., Beurskens, M.N.A., Alcusón, J., Alonso, J.A., Baldzuhn, J., Brandt, C., Brunner, K.J., Damm, H., et. al. 2020 High-performance plasmas after pellet injections in Wendelstein 7-X. Nucl. Fusion 60 (6), 66011.CrossRefGoogle Scholar
Citrin, J., Bourdelle, C., Casson, F.J., Angioni, C., Bonanomi, N., Camenen, Y., Garbet, X., Garzotti, L., Görler, T., Gürcan, O., et al. 2017 Tractable flux-driven temperature, density, and rotation profile evolution with the quasilinear gyrokinetic transport model QuaLiKiz. Plasma Phys. Control. Fusion 59 (12), 124005.CrossRefGoogle Scholar
Connor, J.W., Hastie, R.J. & Martin, T.J. 1983 Effect of pressure gradients on the bounce-averaged particle drifts in a tokamak. Nucl. Fusion 23 (12), 1702.CrossRefGoogle Scholar
Costello, P., Proll, J.H.E., Plunk, G.G., Pueschel, M.J. & Alcusón, J.A. 2023 The universal instability in optimised stellarators. J. Plasma Phys. 89 (4), 905890402.CrossRefGoogle Scholar
Dannert, T. & Jenko, F. 2005 Gyrokinetic simulation of collisionless trapped-electron mode turbulence. Phys. Plasmas 12 (7), 072309.CrossRefGoogle Scholar
D'haeseleer, W.D., Hitchon, W.N.G., Callen, J.D. & Shohet, J.L. 2012 Flux Coordinates and Magnetic Field Structure: A Guide to a Fundamental Tool of Plasma Theory. Springer Science & Business Media.Google Scholar
Dimits, A.M. 2000 Comparisons and physics basis of tokamak transport models and turbulence simulations. Phys. Plasmas 7 (3), 969983.CrossRefGoogle Scholar
Dinklage, A., Beidler, C.D., Helander, P., Fuchert, G., Maaßberg, H., Rahbarnia, K., Pedersen, T.S., Turkin, Y., Wolf, R.C. & Alonso, A. 2018 Magnetic configuration effects on the Wendelstein 7-X stellarator. Nat. Phys. 14 (8), 855860.CrossRefGoogle Scholar
Garbet, X., Idomura, Y., Villard, L. & Watanabe, T.H. 2010 Gyrokinetic simulations of turbulent transport. Nucl. Fusion 50 (4), 043002.CrossRefGoogle Scholar
Garbet, X., Mantica, P., Ryter, F., Cordey, G., Imbeaux, F., Sozzi, C., Manini, A., Asp, E., Parail, V., Wolf, R., et al. 2004 Profile stiffness and global confinement. Plasma Phys. Control. Fusion 46 (9), 1351.CrossRefGoogle Scholar
Gardner, C.S. 1963 Bound on the energy available from a plasma. Phys. Fluids 6 (6), 839840.CrossRefGoogle Scholar
Görler, T. 2010 Multiscale effects in plasma microturbulence. PhD thesis, Universität Ulm.Google Scholar
Helander, P. 2014 Theory of plasma confinement in non-axisymmetric magnetic fields. Rep. Prog. Phys. 77 (8), 087001.CrossRefGoogle ScholarPubMed
Helander, P. 2017 Available energy and ground states of collisionless plasmas. J. Plasma Phys. 83 (4).CrossRefGoogle Scholar
Helander, P. 2020 Available energy of magnetically confined plasmas. J. Plasma Phys. 86 (2).CrossRefGoogle Scholar
Helander, P. & Plunk, G.G. 2015 The universal instability in general geometry. Phys. Plasmas 22 (9), 090706.CrossRefGoogle Scholar
Helander, P., Proll, J.H.E. & Plunk, G.G. 2013 Collisionless microinstabilities in stellarators. I. Analytical theory of trapped-particle modes. Phys. Plasmas 20 (12), 122505.CrossRefGoogle Scholar
Helander, P. & Sigmar, D.J. 2005 Collisional Transport in Magnetized Plasmas, vol. 4. Cambridge University Press.Google Scholar
Jenko, F., Dorland, W., Kotschenreuther, M. & Rogers, B.N. 2000 Electron temperature gradient driven turbulence. Phys. Plasmas 7 (5), 19041910.CrossRefGoogle Scholar
Kadomtsev, B.B. & Pogutse, O.P. 1967 Plasma instability due to particle trapping in a toroidal geometry. Sov. Phys. JETP 24, 11721179.Google Scholar
Klinger, T., et al. 2019 Overview of first Wendelstein 7-X high-performance operation. Nucl. Fusion 59 (11), 112004.CrossRefGoogle Scholar
Kolmes, E.J. & Fisch, N.J. 2020 Recovering Gardner restacking with purely diffusive operations. Phys. Rev. E 102 (6), 63209.CrossRefGoogle ScholarPubMed
Landreman, M., Antonsen, T.M. Jr. & Dorland, W. 2015 Universal instability for wavelengths below the ion larmor scale. Phys. Rev. Lett. 114 (9), 095003.CrossRefGoogle ScholarPubMed
Landreman, M., Medasani, B., Wechsung, F., Giuliani, A., Jorge, R. & Zhu, C. 2021 Simsopt: a flexible framework for stellarator optimization. J. Open Source Softw. 6 (65), 3525.CrossRefGoogle Scholar
Lorenz, E.N. 1955 Available potential energy and the maintenance of the general circulation. Tellus 7 (2), 157167.CrossRefGoogle Scholar
Mackenbach, R.J.J., Duff, J.M., Gerard, M.J., Proll, J.H.E., Helander, P. & Hegna, C.C. 2023 Bounce-averaged drifts: equivalent definitions, numerical implementations, and example cases. Phys. Plasmas 30 (9), 093901.CrossRefGoogle Scholar
Mackenbach, R.J.J., Proll, J.H.E. & Helander, P. 2022 Available energy of trapped electrons and its relation to turbulent transport. Phys. Rev. Lett. 128 (17), 175001.CrossRefGoogle ScholarPubMed
Mandell, N.R., Dorland, W., Abel, I., Gaur, R., Kim, P., Martin, M. & Qian, T. 2022 GX: a GPU-native gyrokinetic turbulence code for tokamak and stellarator design. arXiv:2209.06731.Google Scholar
Milligen, B.P., Tribaldos, V., Vargas, V.I. & Sanchez, R. 2008 Quantifying profile stiffness. Tech. Rep.Google Scholar
Plunk, G.G., Connor, J.W. & Helander, P. 2017 Collisionless microinstabilities in stellarators. Part 4. The ion-driven trapped-electron mode. J. Plasma Phys. 83 (4).CrossRefGoogle Scholar
Plunk, G.G., Helander, P., Xanthopoulos, P. & Connor, J.W. 2014 Collisionless microinstabilities in stellarators. III. The ion-temperature-gradient mode. Phys. Plasmas 21 (3), 032112.CrossRefGoogle Scholar
Proll, J.H.E., Helander, P., Connor, J.W. & Plunk, G.G. 2012 Resilience of quasi-isodynamic stellarators against trapped-particle instabilities. Phys. Rev. Lett. 108 (24), 245002.CrossRefGoogle ScholarPubMed
Proll, J.H.E., Plunk, G.G., Faber, B.J., Görler, T., Helander, P., McKinney, I.J., Pueschel, M.J., Smith, H.M. & Xanthopoulos, P. 2022 Turbulence mitigation in maximum-J stellarators with electron-density gradient. J. Plasma Phys. 88 (1), 905880112.CrossRefGoogle Scholar
Püschel, M.J. 2009 Electromagnetic effects in gyrokinetic simulations of plasma turbulence. PhD thesis, Universität Münster.Google Scholar
Pueschel, M.J., Faber, B.J., Citrin, J., Hegna, C.C., Terry, P.W. & Hatch, D.R. 2016 Stellarator turbulence: subdominant eigenmodes and quasilinear modeling. Phys. Rev. Lett. 116 (8), 85001.CrossRefGoogle ScholarPubMed
Roberg-Clark, G.T., Plunk, G.G. & Xanthopoulos, P. 2022 Coarse-grained gyrokinetics for the critical ion temperature gradient in stellarators. Phys. Rev. Res. 4 (3), L032028.CrossRefGoogle Scholar
Roberg-Clark, G.T., Plunk, G.G., Xanthopoulos, P., Nührenberg, C., Henneberg, S.A. & Smith, H.M. 2023 Critical gradient turbulence optimization toward a compact stellarator reactor concept. arXiv:2301.06773.CrossRefGoogle Scholar
Sanchez, R. & Newman, D.E. 2015 Self-organized criticality and the dynamics of near-marginal turbulent transport in magnetically confined fusion plasmas. Plasma Phys. Control. Fusion 57 (12), 123002.CrossRefGoogle Scholar
Spong, D.A., Hirshman, S.P., Berry, L.A., Lyon, J.F., Fowler, R.H., Strickler, D.J., Cole, M.J., Nelson, B.N., Williamson, D.E., Ware, A.S., et al. 2001 Physics issues of compact drift optimized stellarators. Nucl. Fusion 41 (6), 711.CrossRefGoogle Scholar
Wolf, R.C., Ali, A., Alonso, A., Baldzuhn, J., Beidler, C., Beurskens, M., Biedermann, C., Bosch, H.-S., Bozhenkov, S., Brakel, R., et al. 2017 Major results from the first plasma campaign of the Wendelstein 7-X stellarator. Nucl. Fusion 57 (10), 102020.CrossRefGoogle Scholar
Figure 0

Figure 1. A sketch of the area, coloured red, as a subset of the entire domain $\varOmega$. Done at two different times, so that the orientation of the domain $\varOmega$ is different.

Figure 1

Figure 2. A scatter plot showing the normalized Æ for a range of stellarator and tokamak plasmas and the average nonlinear saturated turbulent radial energy flux from gyrokinetic simulations of these plasmas. The different points refer to different density gradients, as indicated by the colour, and to different devices. The devices that are used in this analysis are the tokamak DIII-D, the Helically Symmetric eXperiment (HSX) and the W7-X stellarator in both high-mirror configuration (HM) and standard configuration (SC). The straight black line shows the least-squares fit, which results in the power law $\ln Q_\textrm {sat} \propto (1.5 \pm 0.1) \ln A$.

Figure 2

Figure 3. The Æ per $\lambda$ for DIII-D. The flux tube is located at a normalized radial flux of $\psi /\psi _\mathrm {edge}=0.5$.

Figure 3

Figure 4. The Æ per $\lambda$ for W7-X (SC). The flux tube is located at a normalized radial flux of $\psi /\psi _\mathrm {edge}=0.5$.

Figure 4

Figure 5. An example of the dependence of Æ on the gradient strength for three different devices; a tokamak, a non-omnigenous stellarator and HSX. In the case displayed above, the electron temperature gradient is set to zero. The dashed, dash-dotted, and dotted lines have a linear, square and third-power scaling with the density gradient, respectively.

Figure 5

Figure 6. A geometric sketch showing the relation between $D$ and $R$. The green vertical lines passing through $A$ and $A'$ are tangent to the boundary, as are the red ones passing through $B$ and $B'$.