Hostname: page-component-78c5997874-94fs2 Total loading time: 0 Render date: 2024-11-19T07:15:15.734Z Has data issue: false hasContentIssue false

Available energy of trapped electrons in Miller tokamak equilibria

Published online by Cambridge University Press:  06 November 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
G. Snoep
Affiliation:
Eindhoven University of Technology, 5612 AZ Eindhoven, The Netherlands DIFFER - Dutch Institute for Fundamental Energy Research, Eindhoven, 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

Available energy (Æ), which quantifies the maximum amount of thermal energy that may be liberated and converted into instabilities and turbulence, has shown to be a useful metric for predicting saturated energy fluxes in trapped-electron-mode-driven turbulence. Here, we calculate and investigate the Æ in the analytical tokamak equilibria introduced by Miller et al. (Phys. Plasmas, vol. 5, issue, 4, 1998, pp. 973–978). The Æ of trapped electrons reproduces various trends also observed in experiments; negative shear, increasing Shafranov shift, vertical elongation and negative triangularity can all be stabilising, as indicated by a reduction in Æ, although it is strongly dependent on the chosen equilibrium. Comparing Æ with saturated energy flux estimates from the TGLF (trapped gyro-Landau fluid) model, we find fairly good correspondence, showcasing that Æ can be useful to predict trends. We go on to investigate Æ and find that negative triangularity is especially beneficial in vertically elongated configurations with positive shear or low gradients. Furthermore, we extract a gradient-threshold-like quantity from Æ and find that it behaves similarly to gyrokinetic gradient thresholds: it tends to increase linearly with magnetic shear, and negative triangularity leads to an especially high threshold. We next optimise the device geometry for minimal Æ and find that the optimum is strongly dependent on equilibrium parameters, for example, magnetic shear or pressure gradient. Investigating the competing effects of increasing the density gradient, the pressure gradient, and decreasing the shear, we find regimes that have steep gradients yet low Æ, and that such a regime is inaccessible in negative-triangularity 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

Energy transport in tokamaks and stellarators is largely dominated by turbulent energy losses, which severely degrade the energy confinement in these devices. A detailed understanding of how various parameters characterising the plasma and the magnetic field geometry, such as magnetic shear and the pressure gradient, affect the turbulent transport properties would be helpful in comprehending and mitigating this. The standard method to assess the turbulence properties of any given tokamak is to perform nonlinear gyrokinetic simulations. However, such simulations are computationally expensive because of the very disparate time scales and length scales characterising the turbulence and the transport. Thus, it would be beneficial to find a reduced model capable of predicting the level of turbulent transport by simpler means.

In a recent publication, it was shown that the available energy (Æ) of trapped electrons can serve as such a reduced model (Mackenbach, Proll & Helander Reference Mackenbach, Proll and Helander2022), at least for turbulence driven by the plasma density gradient. Any plasma possesses a maximum amount of thermal energy that can be converted into instabilities and turbulence (Gardner Reference Gardner1963). This ‘available’ energy can be calculated by performing a Gardner restacking of the plasma distribution function $f$, in which phase-space volume elements are rearranged in a manner that respects Liouville's theorem (Kolmes & Fisch Reference Kolmes and Fisch2020; Kolmes, Helander & Fisch Reference Kolmes, Helander and Fisch2020). The restacking of $f$ that minimises the thermal energy results in a ‘ground state’ distribution function $f_g$, and the Æ is defined as the difference in thermal energy between $f$ and $f_g$. If one imposes the additional constraint that adiabatic invariants be conserved in the restacking process, the Æ becomes relevant to magnetically confined plasmas (Helander Reference Helander2017Reference Helander2020). In fusion plasmas, the magnetic moment $\mu$ is generally conserved for all species, and the parallel adiabatic invariant $\mathcal {J} = \int m v_\| \,\mathrm {d} \ell$ is conserved for magnetically trapped electrons.

A significant portion of the electrons are trapped and can contribute to turbulence through trapped electron modes (TEMs). The Æ of trapped electrons correlates with the turbulent energy flux for such TEM-driven turbulence over several orders of magnitude in saturated energy fluxes (Mackenbach et al. Reference Mackenbach, Proll and Helander2022). This correlation is expressible as a simple power law, where the saturated energy flux, $Q_\text {sat}$, was found to be related to the Æ, which we denote by $A$ in formulae, via approximately

(1.1)\begin{equation} Q_\text{sat} \propto A^{3/2}. \end{equation}

This relation was found to hold for both a tokamak and stellarators, and for various values of the density gradient. Aside from this relationship, other links have been found by Kolmes & Fisch (Reference Kolmes and Fisch2022) where quasilinear plateauing is shown to be related to a concept closely connected to Æ, highlighting other links to transport physics. In any case, to gain a deeper understanding, it is of interest to derive an explicit expression of Æ in tokamak geometry, in order to investigate the dependence of it on various geometrical and plasma parameters.

This is our aim in the present paper, where we compute Æ for the family of tokamak equilibria constructed by Miller et al. (Reference Miller, Chu, Greene, Lin-Liu and Waltz1998). The starting point is the following explicit expression for Æ in a flux tube of any omnigenous equilibrium (Helander Reference Helander2020; Mackenbach et al. Reference Mackenbach, Proll, Wakelkamp and Helander2023a), including that of a tokamak,

(1.2)\begin{equation} A= \frac{1}{2 \sqrt{\rm \pi}} \frac{{\rm \pi} L \Delta \psi_t \Delta \alpha_C }{B_0} \iint \sum_{{\rm wells}(\lambda)} {\rm e}^{-z} z^{5/2} \hat{\omega}_{\alpha}^{2} \mathcal{R}\left[ \frac{1}{z} \frac{\hat{\omega}_{*}^{T}}{\hat{\omega}_{\alpha}}-1\right] \hat{g}^{1/2} \,\mathrm{d} \lambda \,\mathrm{d}z. \end{equation}

Here, $L$ is the total length of a field-line completing one poloidal turn, $B_0$ is some reference magnetic field strength, $z=H/T_0$ is the particle energy normalised by the temperature, $\lambda = \mu B_0/H$ is the pitch angle, and $\Delta \psi _t$ and $\Delta \alpha _C$ denote the size of the flux-tube in the radial and binormal directions, respectively (we have parameterised the radial coordinate by means of the toroidal flux $\psi _t$ and the binormal by means of the Clebsch angle $\alpha _C$). Furthermore, we sum over all magnetic wells with a certain value $\lambda$. The hatted quantities in the integrand denote normalised frequencies, with $\hat {\omega }_\alpha$ being the normalised bounce-averaged drift precession frequency, $\hat {\omega }_*^T$ the normalised electron diamagnetic drift frequency and $\hat {g}^{1/2}$ the normalised bounce time. They are explicitly defined as

(1.3a)\begin{gather} \hat{\omega}_\alpha \equiv- \frac{\Delta \psi_t}{H} \frac{\partial_{\psi_t} \mathcal{J}}{\partial_{H} \mathcal{J}}, \end{gather}
(1.3b)\begin{gather}\hat{\omega}_*^T \equiv \Delta \psi_t \frac{\mathrm{d} \ln n}{\mathrm{d} \psi_t} \left( 1 + \eta \left[ z - \frac{3}{2} \right] \right), \end{gather}
(1.3c)\begin{gather}\hat{g}^{1/2} \equiv \frac{\partial_H\mathcal{J}}{L} \sqrt{\frac{2H}{m}}, \end{gather}

where we have denoted the ratio between the gradients by $\eta = (\mathrm {d} \ln {T} / \mathrm {d} \psi _t ) / (\mathrm {d} \ln {n} / \mathrm {d} \psi _t )$. Finally, $\mathcal {R}[x]=(x+|x|)/2$ is the ramp function. Using the above expressions, we shall find the Æ of trapped electrons in any Miller tokamak.

2. Theory

2.1. The Æ in any omnigenous system

We first note that the integral over $z$ can be rewritten into a convenient form. We define two functions that are independent of $z$, namely

(2.1a,b)\begin{equation} c_0 = \frac{ \Delta \psi_t}{\hat{\omega}_\alpha(\lambda)} \frac{\mathrm{d} \ln(n)}{\mathrm{d} \psi_t} \left( 1 - \frac{3}{2} \eta \right),\quad c_1 = 1 - \frac{\Delta \psi_t}{\hat{\omega}_\alpha(\lambda)} \frac{\mathrm{d} \ln(n)}{\mathrm{d} \psi_t} \eta.\end{equation}

With these functions, the integral over the normalised energy $z$ reduces to the following form:

(2.2)\begin{equation} I_z(c_0,c_1) = \frac{8}{3 \sqrt{\rm \pi}} \int_0^\infty \exp(-z) z^{3/2} \mathcal{R} \left[ c_0 - c_1 z \right] \mathrm{d} z. \end{equation}

This integral can be solved analytically, and its functional form depends on the signs of $c_0$ and $c_1$, resulting in four different conditions. The easiest case to evaluate is the case where $c_0<0$ and $c_1>0$. In this case, the argument of the ramp function is always negative, and hence the integral reduces to zero. The second case is when the argument of the ramp function is always positive, which occurs whenever $c_0\geq 0$ and $c_1 \leq 0$. The integral then reduces to the following form:

(2.3)\begin{equation} I_z = 2c_0 - 5c_1 . \end{equation}

There are two cases left to consider. First, we inspect the case where the argument of the ramp function is positive for low $z$ but becomes negative for high $z$, that is, $c_0 \geq 0$ and $c_1 > 0$. The unique point where the argument of the ramp function vanishes is the following:

(2.4)\begin{equation} z_* = \frac{c_0}{c_1}. \end{equation}

Thus, the integral becomes

(2.5)\begin{equation} I_z = \frac{8}{3 \sqrt{\rm \pi}} \int_0^{z_*} \exp(-z) z^{3/2} \left( c_0 - c_1 z \right) \mathrm{d} z. \end{equation}

This integral can be expressed in terms of the error function, $\text {erf}(x) = 2/\sqrt {{\rm \pi} } \int _0^x \exp (-t^2) \,\mathrm {d}t$,

(2.6)\begin{equation} I_z = (2c_0 - 5c_1) \text{erf}\left({\sqrt{\frac{c_0}{c_1}}}\right) + \frac{2}{3\sqrt{\rm \pi}} (4c_0 + 15c_1) \sqrt{\frac{c_0}{c_1}} \exp\left( - \frac{c_0}{c_1} \right). \end{equation}

The final case is that where the argument of the ramp function is negative for low $z$ but becomes positive for high $z$, that is, $c_0 < 0$ and $c_1 \leq 0$. The integral then becomes

(2.7)\begin{equation} I_z =(2c_0 - 5c_1) \left[ 1 - \text{erf}\left({\sqrt{\frac{c_0}{c_1}}}\right) \right] -\frac{2}{3\sqrt{\rm \pi}} (4c_0 + 15c_1) \sqrt{\frac{c_0}{c_1}} \exp\left( -\frac{c_0}{c_1} \right). \end{equation}

Note that $I_z \geq 0,\ \forall (c_0,c_1) \in \mathbb {R}^2$, which can also be seen in figure 1. The Æ can now be found by executing the integral over the remaining coordinate

(2.8)\begin{equation} A = \frac{3}{16} \frac{\Delta \psi_t \Delta \alpha_C L}{B_0} n_0 T_0 \int_{\{ \lambda \}} \mathrm{d} \lambda \sum_{\text{wells}(\lambda)} I_z(c_0,c_1) \hat{\omega}_\alpha^2 \hat{g}^{1/2}. \end{equation}

Note that this expression is completely general; no approximations have been made in executing these integrals, aside from the preceding assumption of omnigeneity.

Figure 1. Contour plot of $I_z$ as a function of $c_0$ and $c_1$.

It is also interesting to note that from this expression one can see that there are no tokamak configurations with vanishing Æ, at least in leading order near the axis. This conclusion can most readily be drawn by investigating the expression for $\omega _\alpha$ from Connor, Hastie & Martin (Reference Connor, Hastie and Martin1983). Here, one can find that there is always a zero crossing for $\omega _\alpha$ (with no pressure gradient), which implies that $c_0$ and $c_1$ must change sign. As such, the Æ must be non-zero (as either $I(c_0,c_1)$ or $I(-c_0,-c_1)$ must be non-zero). Formally, this corresponds to the fact that such a zero crossing implies that the device does not have the so-called maximum-$\mathcal {J}$ property, which is required for the linear stability of TEMs (Proll et al. Reference Proll, Helander, Connor and Plunk2012).Footnote 1

To make further progress in solving (2.8), one requires the function $\hat {\omega }_\alpha (\lambda )$, which in turn requires a specification of the equilibrium. In this paper, we will use the local construction of the equilibrium, employing a formalism developed by Mercier & Luc (Reference Mercier and Luc1974).

2.2. Construction of local equilibria

Equilibria are constructed by finding a radially local solution to the Grad–Shafranov equation, and this solution allows us to find $\hat {\omega }_\alpha$. We highlight the essential components of this derivation, which essentially follows the steps taken by Miller et al. (Reference Miller, Chu, Greene, Lin-Liu and Waltz1998), and a thorough overview is given by Candy (Reference Candy2009).

The Mercier–Luc formalism requires the shape of the flux surface, the poloidal field $B_p$ on that flux surface, the gradients of the pressure $p(\psi )$ and the toroidal field function $f(\psi ) = R B_\phi$ on the flux surface, where $R$ is the major radial coordinate, $B_\phi$ is the toroidal component of the magnetic field and $\psi$ is the poloidal flux. We parameterise the flux surface as $R_s = R_s(l)$ and $Z_s = Z_s(l)$, where $l$ measures the poloidal arclength along the flux surface. It is also useful to define a tangential angle $u$, which measures the angle between the unit vector in the major radial direction $\boldsymbol {e}_R$ and the vector tangential to the flux surface $\boldsymbol {e}_l$ clockwise, thus

(2.9a)\begin{gather} \frac{\mathrm{d}R_s(l)}{\mathrm{d} l} = \cos u, \end{gather}
(2.9b)\begin{gather}\frac{\mathrm{d}Z_s(l)}{\mathrm{d} l} ={-} \sin u. \end{gather}

With this definition, the angle $u$ can be calculated by $\mathrm {d} u / \mathrm {d} l = - 1 / R_c$, where $R_c(l)$ is the radius of curvature of the poloidal cross-section, and the negative sign arises because the poloidal arclength is measured clockwise. We go on to introduce a radial-like expansion variable $\rho$ which is zero on the given flux surface, in terms of which the cylindrical coordinates become

(2.10a)\begin{gather} R(\rho,l) = R_s(l) + \rho \sin u, \end{gather}
(2.10b)\begin{gather}Z(\rho,l) = Z_s(l) + \rho \cos u. \end{gather}

The metric tensor in these coordinates has non-zero components only on the diagonal (which is to be expected as we ensured orthogonality in the construction),

(2.11)\begin{equation} g_{ij} = \text{diag}\left[ \left(1 - \frac{\rho}{R_c} \right)^2, 1, R^2 \right], \end{equation}

where we use the convention $x^1 = l$, $x^2 = \rho$, $x^3 = \phi$. The local solution is now constructed by expanding in $\rho$,

(2.12a)\begin{gather} \psi \approx \psi_0 + \rho \psi_1 + \frac{\rho^2 }{2}\psi_2, \end{gather}
(2.12b)\begin{gather}p'(\psi) \approx p'(\psi_0) \end{gather}
(2.12c)\begin{gather}f'(\psi) \approx f'(\psi_0) \end{gather}

and substitute into the Grad–Shafranov equation, which to leading order reduces to

(2.13)\begin{equation} \psi_2 = \left( \sin(u) + \frac{R_s}{R_c} \right) \frac{\psi_1}{R_s} - \mu_0 R_s^2 p'(\psi_0) - f(\psi_0)f'(\psi_0). \end{equation}

This allows one to find the radial variation of the poloidal magnetic field by using (Helander & Sigmar Reference Helander and Sigmar2005)

(2.14)\begin{equation} B_p = \frac{ | \boldsymbol{\nabla} \psi |}{R}, \end{equation}

resulting in

(2.15)\begin{equation} B_p(l,\rho) = \frac{\psi_1}{R_s} \left( 1 + \rho \left[ \frac{1}{R_c} - \frac{ \mu_0 R_s^2 p'(\psi_0)}{\psi_1} - \frac{f(\psi_0) f'(\psi_0)}{\psi_1} \right] \right). \end{equation}

From this equation we can immediately see that $\psi _1/R_s = B_{p,s}$, with $B_{p,s}$ being the poloidal field on the flux-surface as indicated by the subscript. As such, the poloidal field strength can be written as

(2.16)\begin{equation} \left| B_p(l,\rho)\right| = B_{p,s}\left( 1 + \rho \left[ \frac{1}{R_c} - \frac{\mu_0 R_s p'}{B_{p,s}} - \frac{ff'}{R_s B_{p,s}} \right] \right) \equiv B_{p,s} \left( 1 + \rho \partial_\rho b_p \right). \end{equation}

The toroidal field is found from its definition $B_\phi = f(\psi )/R$, resulting in

(2.17)\begin{equation} \left|B_\phi(l,\rho) \right| = B_{\phi,s} \left( 1 + \rho \left[\frac{ f'(\psi_0)}{f(\psi_0)} R_s B_{p,s} - \frac{\sin u}{R_s}\right]\right) \equiv B_{\phi,s} \left( 1 + \rho \partial_\rho b_\phi \right), \end{equation}

where $B_{\phi,s} = f(\psi _0)/R_s$. The total magnetic field strength is also readily derived:

(2.18)\begin{equation} B = \sqrt{B_{\phi,s}^2+B_{p,s}^2} \left(1 + \rho \left[ \frac{B_{\phi,s}^2 \partial_\rho b_\phi + B_{p,s}^2 \partial_\rho b_p }{B_{\phi,s}^2+B_{p,s}^2} \right]\right) \equiv B_s \left( 1 + \rho \partial_\rho b \right). \end{equation}

Note that the derivatives $\partial _\rho b_p$, $\partial _\rho b_\phi$ and $\partial _\rho b$ are given in square brackets. The radial variation of the poloidal line element is readily found from the metric tensor,

(2.19)\begin{equation} \mathrm{d}l = \left(1 - \frac{\rho}{R_c}\right) \left[ \mathrm{d}l \right]_{\rho=0}. \end{equation}

In these equations $f'(\psi _0)$ is treated as a free parameter, but it is difficult to ascertain if the chosen value of this parameter is realistic. It is more convenient, however, to specify the magnetic shear, which is related to $f'(\psi _0)$. This can be made explicit by investigating the safety factor

(2.20)\begin{equation} q = \frac{f(\psi)}{2 {\rm \pi}} \int \frac{ \mathrm{d}l }{R_s^2 B_{p,s}}. \end{equation}

Taking the derivative of the safety factor with respect to $\psi$, one finds an equation describing this relationship:

(2.21)\begin{equation} \partial_\psi q = \frac{f'}{f} q + f \frac{1}{2{\rm \pi}} \int \frac{\mathrm{d}l}{R_s^3 B_{p,s}^2} \left(-\frac{2}{R_c} - \frac{2 \sin u}{R_s} + \frac{\mu_0 R_s p'}{B_{p,s}} + \frac{f f'}{R_s B_{p,s}} \right). \end{equation}

We also wish to relate the arclength along a magnetic field line to the poloidal arclength. These quantities are related as

(2.22)\begin{equation} \mathrm{d}\ell =\left| \frac{B}{B_p} \right| \mathrm{d}l. \end{equation}

Finally, the poloidal coordinate can be expressed in terms of the poloidal angle $\theta$ rather than the poloidal arclength by

(2.23)\begin{equation} l_\theta \equiv \frac{\mathrm{d}l}{\mathrm{d}\theta} = \sqrt{ (\partial_\theta R_s)^2 + (\partial_\theta Z_s)^2 }, \end{equation}

and the total arclength thus becomes

(2.24)\begin{equation} L = \oint l_\theta \left| \frac{B}{B_p} \right| \mathrm{d}\theta. \end{equation}

2.3. Non-dimensionalisation and Æ

We proceed to make the various functions dimensionless as in Roach, Connor & Janjua (Reference Roach, Connor and Janjua1995), and in doing so we will introduce various dimensionless constants which will be useful for the remainder of the analysis. We assume that we have been given the dependencies of the various functions in terms of the minor radial coordinate $r$, which in turn relates to the major radial coordinate $R_0$ through the inverse aspect ratio of the flux surface in question $\epsilon =r/R_0$. Furthermore, we define our reference field $B_0$ through the relation $f(\psi _0) = B_0 R_0$. Let us now define various dimensionless functions of interest:

(2.25a)\begin{gather} \hat{R}_s = R/R_0, \end{gather}
(2.25b)\begin{gather}\hat{Z}_s = Z/R_0, \end{gather}
(2.25c)\begin{gather}\hat{R}_c = R_c/r, \end{gather}
(2.25d)\begin{gather}\hat{l}_\theta = l_\theta/r, \end{gather}
(2.25e)\begin{gather}\hat{B}_\phi = B_\phi/B_0, \end{gather}
(2.25f)\begin{gather}\hat{B} = B/B_0. \end{gather}

One also needs to relate $\psi$ to $r$, which can be done by investigating the poloidal field as in (2.14)

(2.26)\begin{equation} B_p = \frac{\partial_r \psi}{R_0} \frac{ \left| \boldsymbol{\nabla} r \right|}{\hat{R}_s}. \end{equation}

We go on to identify two factors in the above expression, namely

(2.27)\begin{equation} B_{p,0} \equiv \partial_r \psi /R_0 \end{equation}

and

(2.28)\begin{equation} \hat{B}_{p,s} \equiv \left| \boldsymbol{\nabla} r \right| / \hat{R}_s. \end{equation}

Inserting these into the equation for the safety factor (2.20), one finds

(2.29a,b)\begin{equation} B_{p,0} = \frac{\gamma \epsilon}{q} B_0,\quad \gamma \equiv \frac{1}{2 {\rm \pi}} \oint \frac{\hat{l}_\theta}{\hat{R}_s^2 \hat{B}_{p,s}} \mathrm{d} \theta. \end{equation}

We proceed to define a dimensionless pressure gradient, analogous to the $\alpha$ parameter used in $s$$\alpha$ geometry:

(2.30)\begin{equation} \alpha =- \frac{2 \mu_0 \epsilon^2 R_0^2 p'}{B_{p,0}} =-\epsilon r \frac{\mathrm{d} p}{\mathrm{d} r}/ \frac{B_{p,0}^2}{2 \mu_0}. \end{equation}

Note that this dimensionless pressure gradient is not related to the Clebsch angle. The pressure gradient can in turn be used to define a dimensionless toroidal current density:

(2.31)\begin{equation} \sigma = \left( \mu_0 p' + \frac{ff'}{R_0^2} \right) \frac{\epsilon R_0^2}{B_{p,0}} = \frac{q}{\gamma} f' R_0 - \frac{\alpha}{2 \epsilon}. \end{equation}

We go on to define the shear $s$ in the following manner:

(2.32)\begin{equation} s = \epsilon R_0^2 B_{p,0} \partial_\psi \ln q = \frac{r}{q} \frac{\partial q}{\partial r} \end{equation}

which can be substituted into (2.21) to relate the shear to $f'R_0$ as

(2.33)\begin{equation} s = \frac{\gamma \epsilon^2}{q} f'R_0 - \frac{2}{\gamma} C_1 - \frac{2 \epsilon}{\gamma} C_2 - \frac{\alpha}{2\gamma \epsilon} C_3 + \frac{q}{\gamma^2} C_4 f'R_0, \end{equation}

where we have defined the geometric constants $C_1$ to $C_4$ as

(2.34a)\begin{gather} C_1 = \frac{1}{2 {\rm \pi}} \oint \frac{\hat{l}_\theta}{\hat{R}_c \hat{R}_s^3 \hat{B}_{p,s}^2} \,\mathrm{d}\theta, \end{gather}
(2.34b)\begin{gather}C_2 = \frac{1}{2 {\rm \pi}} \oint \frac{\hat{l}_\theta \sin u}{\hat{R}_s^4 \hat{B}_{p,s}^2} \,\mathrm{d}\theta, \end{gather}
(2.34c)\begin{gather}C_3 = \frac{1}{2 {\rm \pi}} \oint \frac{\hat{l}_\theta}{\hat{R}_s^2 \hat{B}_{p,s}^3} \,\mathrm{d}\theta, \end{gather}
(2.34d)\begin{gather}C_4 = \frac{1}{2 {\rm \pi}} \oint \frac{\hat{l}_\theta}{ \hat{R}_s^4 \hat{B}_{p,s}^3} \,\mathrm{d}\theta. \end{gather}

The radial derivatives of the magnetic field become

(2.35a)\begin{gather} r \partial_\rho b_p = \left( \frac{1}{\hat{R}_c} - \frac{\alpha}{2 \epsilon \hat{B}_{p,s}} \left[\frac{1}{\hat{R}_s} - \hat{R}_s \right] - \frac{\sigma}{\hat{R}_s \hat{B}_{p,s}} \right), \end{gather}
(2.35b)\begin{gather}r \partial_\rho b_\phi = \epsilon \left( \frac{\gamma^2\epsilon}{q^2} \left[ \sigma + \frac{\alpha}{2 \epsilon} \right] \hat{R}_s \hat{B}_{p,s} - \frac{\sin u}{\hat{R}_s} \right). \end{gather}

These expressions are the same as Roach et al. (Reference Roach, Connor and Janjua1995, (14)), where the differences in sign arise because the sign convention for $\hat {R}_c$ is different here and $\rho$ has the opposite sign. Finally, we express the total magnetic field length as

(2.36a,b)\begin{equation} L = \frac{q\xi}{\gamma} R_0,\quad \xi \equiv \oint \frac{\hat{l}_\theta \hat{B}_s}{\hat{B}_{p,s}} \mathrm{d} \theta. \end{equation}

We now turn our attention to the precession frequency, which we calculate from (1.3a). To simplify the calculation slightly, we note that the operator $\Delta \psi _t \partial _{\psi _t} \approx \Delta \psi \partial _\psi$ to leading order around smallness of the radial coordinate $\rho$, as we can approximate $\Delta \psi _t \approx \Delta \psi \partial _\psi \psi _t$. Using this identity, we find the same expression as in Roach et al. (Reference Roach, Connor and Janjua1995),

(2.37)\begin{equation} \hat{\omega}_\alpha(\lambda) =- \frac{\Delta \psi}{R_0^2 B_{p,0}} \left\langle \frac{1}{\epsilon} \left( 2 \left[1 - \lambda \hat{B} \right] \left[r\partial_\rho b - r\partial_\rho b_p - \frac{1}{\hat{R}_c}\right] - \lambda \hat{B} r \partial_\rho b \right)\bigg/ \hat{B}_{p,s} \hat{R}_s \right\rangle_\lambda, \end{equation}

where we define the bounce averaging operator in angular brackets as

(2.38)\begin{equation} \langle \cdots \rangle_\lambda = \frac{\displaystyle\int \mathrm{d} \theta \cdots \hat{l}_\theta \frac{\hat{B}_s}{\hat{B}_{p,s}}/\sqrt{1 - \lambda \hat{B}}}{\displaystyle\int \mathrm{d} \theta ~ \hat{l}_\theta \frac{\hat{B}_s}{\hat{B}_{p,s}}/ \sqrt{1 - \lambda \hat{B}}}. \end{equation}

We rewrite the precession frequency as

(2.39)\begin{equation} \hat{\omega}_\alpha \equiv- \frac{\Delta \psi}{R_0^2 B_{p,0}} \hat{\omega}_\lambda. \end{equation}

Next, we investigate the Jacobian $\hat {g}^{1/2}$, which is the normalised bounce time, and find that it is equal to

(2.40)\begin{equation} \hat{g}^{1/2} = \frac{\displaystyle\int \mathrm{d} \theta \hat{l}_\theta \frac{\hat{B}_s}{\hat{B}_{p,s}}/ \sqrt{1 - \lambda \hat{B}}}{\xi}. \end{equation}

We rescale it with a factor $\epsilon ^{1/2}$ to account for the fact that in smallness of $\epsilon$ the integrand of the bounce time goes as $1/\sqrt {\epsilon }$. Therefore, we define

(2.41)\begin{equation} \hat{g}_\epsilon^{1/2} \equiv \hat{g}^{1/2} \sqrt{\epsilon}. \end{equation}

The Æ now becomes

(2.42)\begin{equation} A = \frac{3}{16} \frac{\Delta \psi_t \Delta \alpha_C L}{B_0} n_0 T_0 \sqrt{\epsilon} \left(\frac{\Delta \psi}{R_0^2 B_{p,0}} \right)^2 \left( \frac{1}{\epsilon} \int_{\{ \lambda \}} \mathrm{d}\lambda \sum_{\text{wells}(\lambda)} I_z(c_0,c_1) \hat{\omega}_\lambda^2 \hat{g}_\epsilon^{1/2} \right), \end{equation}

where the prefactor $1/\epsilon$ to the integral deliberately not cancelled against the $\sqrt {\epsilon }$, so that the integral in brackets is to lowest order independent of $\epsilon$, as the integration range scales as $\epsilon$. With the above expression, we go on to define a dimensionless Æ. We take steps in accordance with Mackenbach et al. (Reference Mackenbach, Proll and Helander2022), and calculate the fraction of the total thermal energy that is available. The thermal energy of a plasma in a flux tube can be calculated by expanding around $\psi _t = \psi _{t,0}$ and $\alpha _C = \alpha _{C,0}$ and retaining only the constant terms, resulting in

(2.43)\begin{equation} E_t = \int \frac{3}{2} \frac{n T}{B} \mathrm{d} \psi_t \,\mathrm{d} \alpha_C \,\mathrm{d} \ell = \frac{3}{2} n_0 T_0 \frac{\Delta \psi_t \Delta \alpha_C L }{B_0} \frac{1}{\xi} \oint \hat{l}_\theta \hat{B}_{p,s}^{-1} \,\mathrm{d} \theta. \end{equation}

We then define the Æ as a fraction of the thermal energy as

(2.44)\begin{equation} \hat{A} = \frac{A}{E_t}. \end{equation}

Simplifying the expression using $\Delta \psi = \Delta r \partial _r \psi$, one finds that

(2.45)\begin{equation} \hat{A} = \frac{1}{8} \left( \frac{\Delta r}{R_0} \right)^2 \frac{\xi \sqrt{\epsilon}}{\displaystyle\oint \hat{l}_\theta \hat{B}_{p,s}^{-1}\,\mathrm{d} \theta } \cdot \frac{1}{\epsilon} \int_{\{ \lambda \}} \mathrm{d}\lambda \sum_{\text{wells}(\lambda)} I_z(c_0,c_1) \hat{\omega}_\lambda^2 \hat{g}_\epsilon^{1/2}. \end{equation}

Here $\Delta r$ measures the length scale over which energy is available, i.e. a typical length scale over which gradients can be flattened. We take this to be proportional to the correlation length, typically found to be the gyroradius. Therefore, let us set

(2.46)\begin{equation} \Delta r = C_r \rho_{g}, \end{equation}

where $\rho _{g}$ is the gyroradius, and $C_r$ some function of order $O(\rho _{g}^0)$. This function is not known a priori, and may vary. For example, if there are large radial streamers present in the system $C_r$ may be significantly increased. The dimensionless Æ now becomes

(2.47)\begin{equation} \hat{A} = \frac{1}{8} \left( \frac{\rho_\text{g}}{R_0} \right)^2 \frac{ C_r^2 \xi \sqrt{\epsilon}}{\displaystyle\oint \hat{l}_\theta \hat{B}_{p,s}^{-1} \,\mathrm{d} \theta} \cdot \frac{1}{\epsilon} \int_{\{ \lambda \}} \mathrm{d}\lambda \sum_{\text{wells}(\lambda)} I_z(c_0,c_1) \hat{\omega}_\lambda^2 \hat{g}_\epsilon^{1/2}. \end{equation}

This expression has various scalings which are of interest. First, we see that reducing the aspect ratio for fixed $\rho _{g}/R_0$ is beneficial since it leads to fewer trapped particles. Note that, in the limit of a large-aspect-ratio, the trapping fraction scales as $\sqrt {\epsilon }$, which is the same dependency found here. A reduction in the expansion parameter $\rho _{g}/R_0$ (at fixed $\epsilon$) is also found to help decrease Æ.

As a final step, we introduce the dimensionless density gradient

(2.48)\begin{equation} R_0^2 B_{p,0} \partial_\psi \ln n = \frac{R_0}{n} \frac{\partial n}{\partial r} \equiv- \hat{\omega}_n, \end{equation}

with which $c_0$ and $c_1$ reduce to an especially simple form

(2.49a,b)\begin{equation} c_0 = \frac{\hat{\omega}_n}{\hat{\omega}_\lambda} \left( 1 - \frac{3}{2}\eta \right),\quad c_1 = 1 - \frac{\hat{\omega}_n}{\hat{\omega}_\lambda} \eta. \end{equation}

Importantly let us make note of the fact that the radial coordinate $r$ may have different conventions. In previous investigations (Mackenbach et al. Reference Mackenbach, Proll and Helander2022Reference Mackenbach, Proll, Wakelkamp and Helander2023a) the radial coordinated was defined via the square root of the toroidal flux

(2.50)\begin{equation} r_{\rm eff} \propto \sqrt{\psi_t}, \end{equation}

with $\psi _t$ being the toroidal flux passing through the flux surface in question. A different choice of the radial coordinate $r$ will influence various quantities on which Æ depends, such as (2.46) and (2.48). More specifically, the length scale $\Delta r$ expressed in terms of $r_{\rm eff}$ is

(2.51)\begin{equation} \Delta r = \Delta r_{\rm eff} \frac{\partial r}{\partial r_{\rm eff}}. \end{equation}

In the aforementioned investigations $\Delta r_{\rm eff}$ was chosen as $\Delta r_{\rm eff} = \rho$, resulting in a good correlation with turbulent energy fluxes. Therefore, we choose $C_r$ such that $\Delta r_{\rm eff} = \rho$, which means that

(2.52)\begin{equation} C_r = \frac{\partial r}{\partial r_{\rm eff}}, \end{equation}

and we shall use this choice of $C_r$ from here on.

2.4. Miller geometry

Finally, we choose our equilibrium to be of the type discussed in Miller et al. (Reference Miller, Chu, Greene, Lin-Liu and Waltz1998). The key step is to parameterise the flux surface as a standard D-shaped tokamak in terms of the poloidal angle $\theta$:

(2.53a)\begin{gather} R_s(\theta) = R_0 + R_0 \epsilon \cos(\theta + \arcsin [\delta] \sin \theta), \end{gather}
(2.53b)\begin{gather}Z_s(\theta) = R_0 \kappa \epsilon \sin \theta. \end{gather}

Here, $R_0(r)$ is the centre of the flux surface, $\kappa (r)$ is the elongation and $\delta (r)$ is the triangularity. An important feature of this parameterisation is that it is up–down symmetric, which can be seen by invariance under $(Z_s,\theta )\mapsto -(Z_s,\theta )$. The poloidal magnetic field can then be calculated by (2.26), and the equilibrium is fully specified by the following set of nine parameters; $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$, where $s_\kappa =r \partial _r \ln \kappa$ and $s_\delta = r \partial _r \arcsin (\delta )$. Henceforth we shall refer to this set of numbers which determines the local geometry as a ‘Miller vector’:

(2.54)\begin{equation} \boldsymbol{M} = [\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial_r R_0, q, s, \alpha]. \end{equation}

Cross-sections are plotted in figure 2, to serve as a reference for the various shapes mentioned in the following sections. Furthermore, we recognise that it is possible to calculate the toroidal flux enclosed by a poloidal cross-section, and one may retrieve analytical expressions by expanding it around the smallness of $\epsilon$,

(2.55)\begin{align} \psi_t & = B_0 {\rm \pi}r^2 \frac{2}{\rm \pi} \int_{\rm \pi}^{0} \hat{Z}_s \frac{\partial_\theta R_s}{r\hat{R}_s} \mathrm{d} \theta \nonumber\\ & \approx B_0 {\rm \pi}r^2 \kappa \left( \frac{2 J_1(\arcsin \delta)}{\arcsin \delta} + \frac{J_2(2\arcsin \delta) }{2\arcsin \delta} \epsilon + O(\epsilon^2) \right), \end{align}

with $J_n(x)$ being the $n$th Bessel function of the first kind. In terms of an effective $r$, we then have

(2.56)\begin{align} r_{\rm eff} & = r \sqrt{ \frac{2}{\rm \pi} \int_{\rm \pi}^{0} \hat{Z}_s \frac{\partial_\theta R_s}{r\hat{R}_s} \mathrm{d} \theta } \nonumber\\ & \approx r \sqrt{\kappa} \sqrt{\frac{2 J_1(\arcsin \delta)}{\arcsin \delta}} \left( 1 + \frac{1}{8} \frac{J_2 (2 \arcsin \delta)}{J_1 (\arcsin \delta)} \epsilon + O(\epsilon^2) \right), \end{align}

and we find that the factor $C_r$ becomes

(2.57)\begin{equation} C_r= \left(\sqrt{\frac{2}{\rm \pi} \int_{\rm \pi}^{0} \hat{Z}_s \frac{\partial_\theta R_s}{r\hat{R}_s} \mathrm{d} \theta} \right)^{-1}. \end{equation}

For shaped equilibria (i.e. $\kappa \neq 1$, $\delta \neq 0$, or $\epsilon \rightarrow 1$), $C_r$ will differ from unity and one should keep this important caveat in mind.

Figure 2. Cross-sections in the $(R,Z)$-plane of tokamaks parameterised via (2.53). The parameters $(\kappa,\delta )$ vary from (ad) as $(2/3,0.9)$, $(2/3,-0.9)$, $(3/2,0.9)$ and $(3/2,-0.9)$, respectively. All plots have $R_0=1$ and $\epsilon =1/3$.

2.5. An analytical limit: large-aspect-ratio $s$$\alpha$ tokamak

We proceed to investigate a limiting case of Miller geometries; namely that of a large-aspect-ratio tokamak with circular flux surfaces and a steep local pressure gradient, which we shall henceforth refer to as the $s$$\alpha$ limit, and this calculation is equivalent to analyses given in Connor et al. (Reference Connor, Hastie and Martin1983) and Roach et al. (Reference Roach, Connor and Janjua1995). This will serve as a computationally efficient model in such geometries, and will, furthermore, be used as a benchmark for the more general calculation of the Æ. The algebraic details of this derivation are given in Appendix A, and here we highlight the central steps. It is convenient to express $\lambda$ as a trapping parameter $k^2$, where the deeply trapped particles have $k=0$ and the barely trapped particles have $k=1$. This mapping is given by $\lambda = 1 + \epsilon (1 - 2 k^2)$, so the magnetic field may be written as

(2.58)\begin{equation} \lambda \hat{B} = 1 + \epsilon (1 - 2 k^2 - \cos \theta). \end{equation}

One can now perform the bounce-averaging integrals required for (2.37) in the $s$$\alpha$ limit, resulting in

(2.59)\begin{equation} \hat{\omega}_\lambda =-\frac{\alpha}{2q^2} + 2 G_1(k) + 4s G_2(k) - \alpha G_3(k), \end{equation}

where we define

(2.60a)\begin{gather} G_1 = \frac{E(k)}{K(k)} - \frac{1}{2}, \end{gather}
(2.60b)\begin{gather}G_2 = \frac{E(k)}{K(k)} + k^2 - 1, \end{gather}
(2.60c)\begin{gather}G_3 = \frac{2}{3} \left[ \frac{E(k)}{K(k)} (2k^2 - 1) + 1 - k^2 \right], \end{gather}

where $K(k)$ and $E(k)$ are complete elliptic integrals of the first and second kind, respectively. The normalised bounce time, as given in (2.41) is equal to

(2.61)\begin{equation} \hat{g}_\epsilon^{1/2} = \frac{\sqrt{2}}{\rm \pi} K(k). \end{equation}

Finally, from (2.56) we see that $C_r = 1$ in this limit. The Æ now becomes a straightforward integral of known functions over $k$

(2.62)\begin{equation} \hat{A} = \frac{1}{2{\rm \pi}\sqrt{2}} \left(\frac{\rho_\text{g}}{R_0} \right)^2 \sqrt{\epsilon} \int_0^1 \mathrm{d} k^2 I_z(c_0(k),c_1(k)) \hat{\omega}_\lambda(k)^2 K(k), \end{equation}

which can efficiently be computed numerically.

3. Numerical results

Two codes have been constructed: one that computes the integral of (2.62) using standard integration routines, and a numerical routine that computes both the precession frequencies and the Æ as given in (2.44), both of which are computationally cheap (fractions of a CPU second per evaluation). First, we shall verify the relationship between Æ and turbulent transport. Next, we shall investigate the results obtained for the $s$$\alpha$ circular tokamak, after which we shall investigate how Æ varies in Miller geometries as a function of various parameters. The code used to generate these results is freely available on GitHubFootnote 2. The bounce-integrals required in (2.44) are evaluated using numerical methods detailed in Mackenbach et al. (Reference Mackenbach, Duff, Gerard, Proll, Helander and Hegna2023b). Finally, we take the prefactor $\rho _\text {g}/R_0$ to be unity in all plots presented below, so when converting to a real device, one should multiply the Æ by a factor $(\rho _{g}/R_0)^2$.

3.1. Comparison with TGLF

Our first course of action is comparing Æ with turbulent energy-flux calculations in tokamak geometries, to verify its relation to turbulent transport in such geometries. At the moment, nonlinear gyrokinetic simulations are computationally too expensive for detailed parameters scans, and therefore we instead employ the quasilinear TGLF (trapped gyro-Landau fluid) code (Staebler, Kinsey & Waltz Reference Staebler, Kinsey and Waltz2007; Staebler & Kinsey Reference Staebler and Kinsey2010). Some key differences between the two models are highlighted before any comparison is made. The TGLF code computes the linear eigenmodes of a variety of instabilities, ion and electron temperature gradient modes, electromagnetic kinetic ballooning modes, as well as trapped-ion-modes and TEMs, and then applies a quasilinear saturation rule to accurately fit the fluxes from nonlinear gyrokinetic simulations. For quasineutrality purposes, TGLF requires the inclusion of at least one ion species. These are fundamental differences to the formulation of the Æ described in this work, which only accounts for the Æ of trapped electrons. Therefore, when setting up TGLF, care was taken to ensure the modelled turbulent energy-fluxes were as much as possible due to instabilities dominated by trapped electrons, using settings analogous to those used in recent gyrokinetic simulations in a similar regime (Proll et al. Reference Proll, Plunk, Faber, Görler, Helander, McKinney, Pueschel, Smith and Xanthopoulos2022). Given the lack of collisions in this regime, the expected dominant instabilities should be of the collisionless TEM variety. However, some other instabilities can also arise from interactions with the ion population. Thus, to ensure that the dominant instabilities in the TGLF simulations were as relevant as possible for our comparison, only contributions from modes propagating in the electron-diamagnetic direction were included, which excludes, for example, the ubiquitous mode (Coppi & Pegoraro Reference Coppi and Pegoraro1977), which propagates in the ion direction. Furthermore, we find that, for the scenarios considered in this work, adding an equally large electron temperature gradient to the density gradient, i.e. taking $\eta =1$, significantly decreased the number of non-TEM modes dominant in TGLF simulations, and as such we set $\eta$ to unity for the comparison. The recent SAT2 (Staebler et al. Reference Staebler, Belli, Candy, Kinsey, Dudding and Patel2021) quasilinear saturation rule for TGLF was used, as it includes the impact of plasma shaping on the quasilinear saturation (Staebler et al. Reference Staebler, Candy, Belli, Kinsey, Bonanomi and Patel2020). Although TGLF also uses a Miller parameterisation of the local equilibrium, we note that it does not use the same normalisation as Roach et al. (Reference Roach, Connor and Janjua1995) followed in this work, and care has been taken to convert between the two. We finally stress that the current model for $C_r$ is a fairly simple model, and that prediction can be refined using a more sophisticated model. This can, for example, be done by using some fitting function for $C_r$, where one finds the best-fit parameters which minimise the error between the energy flux and the prediction of Æ.

For the comparison we use the gyro-Bohm normalised energy fluxes computed by TGLF,

(3.1)\begin{equation} \hat{Q}_e = \frac{Q_e}{Q_\mathrm{GB}}, \end{equation}

where $Q_e$ is the electron energy flux from TGLF, and $Q_\mathrm {GB}$ is the gyro-Bohm energy flux. This is compared with the estimate of the gyro-Bohm normalised energy flux from Æ (Mackenbach et al. Reference Mackenbach, Proll and Helander2022Reference Mackenbach, Proll, Wakelkamp and Helander2023a), which is

(3.2)\begin{equation} \hat{Q}_{A} \equiv C_Q \hat{A}^{\: 3/2}, \end{equation}

where the constant of proportionality is taken from the fit presented and was found to be $C_Q \approx 1.0 \times 10^3$. With such a power law, a linear correlation between $\hat {Q}_A$ and $\hat {Q}_e$ from nonlinear gyrokinetic simulations was found for pure density gradient-driven TEMs, which is different from the current comparison in which both the electron temperature and the density gradient drive the TEM ($\eta =1$). The data points in the comparison are chosen in order to verify that TGLF reproduces some trends that will be discussed in the following sections.

A comparison in the $(\kappa,\delta )$ and $(s,\alpha )$ planes is displayed in figure 3. One can see that there is good correspondence in trends: decreasing the magnetic shear and/or increasing the pressure gradient helps in reducing the energy flux, as does increasing the elongation. However, there are also differences visible between the two models for the energy flux, which are evident in the $(s,\alpha )$-plot. A clear discrepancy can be seen at high shear values $(s \approx 3)$, where the TGLF energy flux drops and the Æ estimate does not, and the Æ, furthermore, overestimates the energy flux at high shear. In the $(\kappa,\delta )$-plots the trends are well captured by Æ, with some differences. To further investigate the relationship between the two estimates of the energy flux, all the simulation data shown in figure 3 have been combined in a scatter plot shown in figure 4. In order to check consistency with previous findings, we have, furthermore, included the data points of Mackenbach et al. (Reference Mackenbach, Proll and Helander2022), which are nonlinear simulations in general geometries. Here, we see that there is a linear relationship for most of the data (we have added a red line with the expected linear relationship), although there exist data points that deviate more significantly from the linear relationship. There are various reasons why such a discrepancy may occur.

  1. (i) There may be other instabilities present (though not necessarily dominant) that are not captured by the Æ of trapped electrons, such as the ubiquitous mode, or the universal instability (Romanelli Reference Romanelli1989; 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). More generally, if there are instabilities present that do not derive their energy from trapped electrons, the current Æ-model is no longer expected to be an accurate measure.

  2. (ii) The Æ length scale $C_r$ may vary more significantly for certain choices of equilibrium parameters and the current choice given in (2.57) may not be accurate.

  3. (iii) Recall that Æ can be interpreted as an upper bound on the amount of energy that can be released. If the portion of the Æ that resides in stabilising modes deviates markedly (see, e.g. Lang, Parker & Chen Reference Lang, Parker and Chen2008; Hatch et al. Reference Hatch, Terry, Jenko, Merz, Pueschel, Nevins and Wang2011; Pueschel et al. Reference Pueschel, Faber, Citrin, Hegna, Terry and Hatch2016; Duff et al. Reference Duff, Faber, Hegna, Pueschel and Terry2022), one can reasonably expect that the data deviate more from the found relationship.

  4. (iv) The TGLF's quasilinear saturated fluxes in both the $(\kappa,\delta )$ and $(s,\alpha )$ planes show occasional extreme outliers for small changes in input. The TGLF code has been extensively verified against a wide variety of nonlinear gyrokinetic simulations (although further validation for negative triangularity is currently being pursued), but the regime explored in this work is not the typical input space and could require separate verification.

  5. (v) Although not present in the current set of simulation data, the Æ of trapped electrons will certainly cease to be an accurate model in situations where the trapped electrons play no role, such as in the case of a pure ion temperature gradient, and no gradients in electron temperature or density.

Figure 3. Comparison between codes, showing the correspondence between the estimate of the energy flux from Æ and TGLF. Panels (a,c,e) display the energy flux from TGLF, and panels (b,d,f) display the corresponding estimate from Æ. One can see agreement in trends, though some details differ. Panels (a,b) have a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,\kappa,\delta, 0, 0, 0, 2, 0, 0]$, whereas panels (c,d) have $[1/3,\kappa,\delta, 0, 0, 0, 2, 1, 0]$, and panels (e,f) have a Miller vector of $[1/3,1,1/2, 0, 0, 0, 2, s, \alpha ]$. Panels (a,b) have $\hat {\omega }_n=3$; panels (c,d) and (e,f) have $\hat {\omega }_n=6$, and $\eta =1$ in all panels. The white masked-out regions have a dominant instability which is not in the electron direction, and as such we filter them out. Finally, note that the colour bars are the same scale in each column.

Figure 4. A scatter plot showing the relation between the two estimates of the nonlinear energy flux. The red dashed line is shows the expected linear relationship, $x=y$. The plot consists of $N=1171$ points. The grey points have some transparency, and as such darker regions arise due to a high density of points. Furthermore, we have added simulation data from the gyrokinetic code GENE (gyrokinetic electromagnetic numerical experiment) (Jenko, Dorland & Hammett Reference Jenko, Dorland and Hammett2001), also presented in Mackenbach et al. (Reference Mackenbach, Proll and Helander2022), as blue markers.

We stress that the scatter does mean that predictions may be faulty if one lies within the scatter of the fit. However, seeing that general trends are well captured by Æ, it may serve as a useful estimate for transport and trends at low computational cost (Æ calculations are roughly a factor $50$ faster than the presented TGLF calculations).

3.2. The $s$$\alpha$ geometry

We now shift our attention to the behaviour of Æ on the various free parameters found in tokamak equilibria. Recalling that we have derived two Æ expressions, one for any Miller geometry and one for the large-aspect ratio limit, let us start by investigating the latter. A plot of the Æ calculated from (2.62) is given in figure 5 as a function of magnetic shear and pressure gradient. We note that the ranges for $s$ and $\alpha$ are not meant to represent realistically attainable values here, instead, we are more interested in the general structure of the Æ over the domain. There are several interesting features visible in the figure. Even in this simplest model, the Æ exhibits rich structure over the $s$$\alpha$ plane. More precisely, Æ is large when $s$ and $\alpha$ are comparable, $s\sim \alpha$, and is otherwise much smaller, particularly when the absolute value of one of these quantities is large. These findings are consistent with previous investigations (Rosenbluth & Sloan Reference Rosenbluth and Sloan1971; Dagazian & Paris Reference Dagazian and Paris1982; Connor et al. Reference Connor, Hastie and Martin1983; Kessel et al. Reference Kessel, Manickam, Rewoldt and Tang1994; Rettig et al. Reference Rettig, Peebles, Doyle, Burrell, Greenfield, Staebler and Rice1997; Strait et al. Reference Strait, Casper, Chu, Ferron, Garofalo, Greenfield, La Haye, Lao, Lazarus and Miller1997; Kinsey, Waltz & Candy Reference Kinsey, Waltz and Candy2006). It is also interesting to note that the precise reduction in Æ depends on the drive: for a pure electron temperature gradient, significant positive shear is more helpful in reducing Æ, while Æ driven by a pure density gradient benefits more from negative shear.

Figure 5. The Æ of a large-aspect-ratio circular tokamak, as a function of magnetic shear $s$ and pressure gradient $\alpha$. The plots have been generated using $q=2$. Panel (a) has $\hat {\omega }_n=3$ and $\eta =0$, whereas (b) has a pure electron temperature gradient, i.e. $\hat {\omega }_n=0$ and $\hat {\omega }_n \cdot \eta = 3$.

Since (2.62) can be integrated numerically to high precision, it serves as a useful benchmark for the more general Æ of (2.44). Accordingly, we have compared the Æ in the large-aspect-ratio limit with circular flux surfaces using a code that solves (2.44). This comparison is shown in Appendix B, and we find that the codes agree.

3.3. Miller geometry

We now leave the realm of the $s$$\alpha$ limit and venture into shaped, finite-aspect-ratio equilibria. Our first step is to investigate the dependence on magnetic shear and pressure gradient for a range of different Miller vectors, and the results are shown in figure 6. Here we see similar trends as in § 3.2: negative shear and large $\alpha$ tend to be especially stabilising for a pure density gradient. However, it is also clear that the magnitude and precise contours depend strongly on the chosen Miller vector, as defined in (2.54). For example, it can be seen that lowering the safety factor is stabilising, since Æ is reduced over a large region of the $s$$\alpha$ plane as one compares figure 6(a) with figure 6(b). In figure 6(c) the elongation has been reduced produce a ‘comet’-type configuration ($\kappa < 1$, i.e. a horizontally elongated tokamak, see figure 2), which can increase the magnitude of the Æ, and the stabilising effects of $s$ and $\alpha$ become less pronounced. Finally, in figure 6(d) the sign of the triangularity has been reversed to become negative. Although the shape of the contours remains largely unchanged, the peak in Æ is changed to higher $\alpha$ and lower $s$, indicating that negative triangularity can be particularly beneficial in high-shear discharges with a modest value for $\alpha$. In a more general sense, when changing any of the parameters significantly, one should expect that the precise shape and magnitude of the contours will change.

Figure 6. Dependence of Æ on magnetic shear $s$ and pressure gradient $\alpha$. In (a), the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is set to $[ 1/3, 3/2, 1/2, 0, 0, 0, 2, s,\alpha ]$, and other panels have the same vector with one parameter changed. In (b) the safety factor $q$ is reduced from $2$ to $1$, for (c) the elongation $\kappa$ decreases from $3/2$ to $1/2$, and in (d) the sign of triangularity $\delta$ is changed from $1/2$ to $-1/2$. All panels have $\hat {\omega }_n=1$ and $\eta = 0$.

With this important caveat in mind, let us investigate the influence of geometry on the Æ. To do so, we display the dependence on $\kappa$ and $\delta$ for various Miller vectors in figure 7. Several interesting general trends can be observed. First, note that increasing the elongation beyond $\kappa = 1$ generally decreases the Æ in all Miller vectors considered here, although the precise effect depends on the triangularity. Second, we see that it is not true in general that positive or negative triangularity is always stabilising; it depends on the other Miller parameters. Third, we see that tokamaks with $\kappa <1$ and $\delta < 0$, often referred to as (negative) comet cross-sections tokamaks (Kesner, Ramos & Gang Reference Kesner, Ramos and Gang1995), show a reduction in Æ in figure 7(b,d), at least for the pure density gradient considered here. This is perhaps unsurprising, since such tokamaks are close to having the maximum-$\mathcal {J}$ property as shown by Miller et al. (Reference Miller, Chu, Dominguez and Ohkawa1989). Since Æ measures deviations from the maximum-$\mathcal {J}$ property, it is thus expected that these configurations perform well in terms of Æ.

Figure 7. The effect of the geometry on Æ. In (a) the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is set to $[ 1/3,\kappa, \delta, 0, 0, 0, 2, 1,0 ]$ with $\hat {\omega }_n=1$ and $\eta = 0$, and all other panels have the same Miller vector with one parameter changed. The contours shown in (b) have a higher inverse aspect ratio as $\epsilon$ is increased from $1/3$ to $2/3$, in (c) the pressure gradient $\alpha$ is increased from $0$ to $1/2$, and for (d) we have decreased the shear from $1$ to $0$.

Investigating the plots in detail, in figure 7(a) one sees that negative triangularity is beneficial for $\kappa > 1$ as can be seen by the reduction in Æ. In the following sections, we shall see that this is a consequence of the positive magnetic shear chosen. Next, note that doubling the inverse aspect ratio, as is done when going from figure 7(a) to figure 7(b), has a stabilising effect. Naively, one would expect that doubling the inverse aspect ratio would increase the Æ by roughly a factor $\sqrt {2} \approx 1.4$, due to the factor $\sqrt {\epsilon }$ in (2.45). However, going from figure 7(a) to figure 7(b) we see a decrease of the maximum Æ by some $15\,\%$. This is likely due to the fact that, in a small-aspect-ratio device, magnetic field lines spend most of their time (or more precisely, arclength) on the inboard side of the tokamak (Helander & Sigmar Reference Helander and Sigmar2005). There, $\omega _\lambda$ tends to be opposite to the drift wave and therefore these orbits do not contribute to the Æ for a pure density gradient. It is also interesting to note that negative triangularity no longer exhibits a reduction in Æ as the aspect ratio is significantly decreased, in accordance with the findings of Balestri, Ball & Coda (Reference Balestri, Ball, Coda, Garcia-Munoz and Viezzer2023). Going from figure 7(a) to figure 7(c) the pressure gradient is increased from $\alpha = 0$ to $1/2$. With this introduction of pressure gradient, it can be seen that positive triangularity shows a decrease in Æ, where negative triangularity does not. Finally, figure 7(d) has the magnetic shear reduced from $s=1$ to $s=0$ as compared with figure 7(a), which drastically changes the picture. Most importantly, we see that the lack of this positive magnetic shear results in negative triangularity no longer being stabilising. We find that the results change somewhat if one instead imposes a pure electron temperature gradient (not shown here), though the basic trends remain intact.

All in all, we conclude from these results that the Æ is very sensitive to equilibrium parameters, including quantities not investigated here such as $q$, $s_\kappa$ and $\partial _r R_0$. This sensitivity is perhaps reassuring: gyrokinetic turbulence has long been known to be strongly dependent on equilibrium parameters and even slight nudges can drastically change the picture (a sentiment perhaps best captured by the old Dutch expression wie het kleine niet eert, is het grote niet weerd). We seem to reproduce a similar sensitivity in this Æ-model for trapped electrons. This sensitivity becomes especially clear when investigating the dependence of Æ on triangularity, which we shall discuss in the next section.

3.4. When is negative triangularity beneficial?

As hinted at in the previous section, it is not possible to make a general statement about the effect of negative triangularity on Æ; its possible benefit depends strongly on other parameters describing the equilibrium. We can, however, find trends, and in order to do so we define the following fraction:

(3.3)\begin{equation} \varDelta = \frac{\hat{A}(\delta =-0.1)}{\hat{A}(\delta =+0.1)}, \end{equation}

where $\delta = \pm 0.1$ is chosen to represent a typical experimentally realisable range of parameters. This fraction can be interpreted as the factor by which the Æ changes upon switching from positive to negative triangularity, where $\varDelta <1$ implies a reduction in Æ. We present an investigation of $\varDelta$ and its dependencies in figure 8. We see two clear trends that seem to be robust for tokamaks with $\kappa > 1$. Firstly, as noted in the previous sections, in figure 8(a,b) we see that negative triangularity tends to be especially stabilising for configurations with significant positive shear. Similar conclusions were made by Merlo & Jenko (Reference Merlo and Jenko2023), who found that the turbulent energy flux in gyrokinetic simulations follows the same trend for TEM-driven turbulence: only for sufficiently high positive shear is a decrease in energy flux found at negative triangularity. Increasing $\alpha$ tends to push the $\varDelta = 1$ line (in the plot this is the $\log \varDelta = 0$ line) to even higher values of shear, implying that a significant pressure gradient may make negative triangularity less desirable. Secondly, in figure 8(c,d) we note that negative triangularity can be beneficial in situations where the gradient is small, such as in the core. The dependence on $\eta$ is non-trivial; at small density gradients a non-zero value of $\eta$ can make negative triangularity beneficial. As in the previous sections, the results here depend on the Miller vector and are not meant to serve as a quantitative measure for core and edge transport. However, we have found that the presented trends tend to be robust as long as $\kappa > 1$ and thus do have qualitative value. We finally note that a more comprehensive model of the effect of negative triangularity should likely take collisions, impurities and global effects into account (Merlo et al. Reference Merlo, Fontana, Coda, Hatch, Janhunen, Porte and Jenko2019Reference Merlo, Huang, Marini, Brunner, Coda, Hatch, Jarema, Jenko, Sauter and Villard2021).

Figure 8. Various plots showcasing the dependencies of $\log (\varDelta )$, where $\varDelta$ is defined as $\hat {A}(\delta =-0.1)/\hat {A}(\delta =+0.1)$, on various equilibrium parameters. Panels (a,c) and (b,d) have different Miller vectors $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$, which are meant to be representative of the edge and the core. Panels (a,c) have a core-like Miller vector of $\boldsymbol {M}_\mathrm {core}=[1/100,3/2,\delta,0,0,0,1,s,\alpha ]$. Panels (b,d) have an edge-like Miller vector of $\boldsymbol {M}_\mathrm {edge}=[1/3,3/2,\delta,1/2,0,-1/2,3,s,\alpha ]$ Finally, (a) has $\hat {\omega }_n=1/2$ and $\eta =0$, (b) has $\hat {\omega }_n=2$ and $\eta =0$, (c) has $s=\alpha =0$ and (d) has $s=2$ and $\alpha =1/2$.

From these results we infer that negative triangularity is expected to be especially beneficial in the core of the plasma, where gradients are necessarily small. It is not clear if the benefit extends to the edge: only with significant positive shear does negative triangularity become beneficial here as well. One should also keep in mind that $\varDelta$ measures the effect of going to negative triangularity while keeping all other parameters fixed. A more complete investigation would, for example, compare experimental equilibria with positive and negative triangularity, or use a global magnetohydrodynamics-equilibrium code to find consistent profiles. We do not attempt such an investigation here, but we note that our mathematical framework would readily allow for such a comparison. We finally remark that the above results may seem counter-intuitive as negative triangularity is often thought to automatically imply TEM stabilisation, since the bounce points of most trapped particles reside on the inboard side of the torus, where the magnetic curvature should be favourable. Consequently, it is often argued that the bounce-averaged drift is such that TEMs are stabilised. Upon calculation of (2.37), we find no such stabilisation, however, as explained further in Appendix C.

3.5. Gradient-threshold-like behaviour

Our next step is to investigate the dependence of Æ on the gradient strength $\hat {\omega }_n$. From (2.8), one can show that there are two distinct scalings (Mackenbach et al. Reference Mackenbach, Proll, Wakelkamp and Helander2023a). In a strongly driven regime, one finds that the Æ scales linearly with the gradient strength $\hat {\omega }_n$. For a weakly driven regime one can expand around small $\hat {\omega }_n$, and one finds that the Æ scales with the gradient strength as $A \propto \hat {\omega }_n^{3}$:

(3.4)\begin{equation} \hat{A} \propto \begin{cases} \hat{\omega}_n & \text{if } |\hat{\omega}_n | \gg 1, \\ \hat{\omega}_n^3 & \text{if } |\hat{\omega}_n | \ll 1. \end{cases} \end{equation}

These scalings are reminiscent of gradient-threshold (or critical gradient) type behaviour (Dimits et al. Reference Dimits, Bateman, Beer, Cohen, Dorland, Hammett, Kim, Kinsey, Kotschenreuther and Kritz2000). Gradient thresholds are signified by a sudden decrease in energy flux when decreasing the gradient below some threshold value. The aforementioned scaling behaviour of the Æ is displayed in figure 9 which similarly shows a rapid decrease below some threshold value. In figure 9(b) we estimate a critical-threshold-like quantity from Æ, by fitting a straight line to the strongly driven regime, i.e. we find the best-fit parameters $a_0$ and $a_1$ in the formula

(3.5)\begin{equation} \hat{A} = a_0 + a_1 \hat{\omega}_n, \end{equation}

with $\hat {\omega }_n \gg 1$. The gradient threshold, denoted by $\hat {\omega }_c$, is then defined as the interception with the abscissa, hence

(3.6)\begin{equation} \hat{\omega}_c \equiv- \frac{a_0}{a_1}. \end{equation}

One could, of course, use different definitions for $\hat {\omega }_c$, for example, one could define the intersection point between the two straight lines on the log–log plot of figure 9 as $\hat {\omega }_c$. However, we have found that the definition of (3.6) has several benefits: it is computationally cheaper, less prone to numerical noise and seems to behave more smoothly. Other attempted definitions show the same trends.

Figure 9. Example of dependence of Æ on gradient strength. Two scalings are found in (a). In (b) we define a gradient threshold by fitting a straight line to the strongly driven regime, and finding its $\hat {\omega }_n$ interception with the abscissa.

We illustrate how $\hat {\omega }_c$ varies as a function of various equilibrium parameters in figure 10. Note that figure 10(a) has the same Miller vector as figure 6(a), and figure 10(b) has the same Miller vector as figure 7(a). Focussing on figure 10(a), an interesting trend is that increasing shear tends to increase $\hat {\omega }_c$ linearly, and $\hat {\omega }_c$ tends to plateau for low shear to some value. This is similar to the findings of Jenko et al. (Reference Jenko, Dorland and Hammett2001), though their investigation focusses on electron-temperature gradient turbulence. It is also interesting to note that, in addition to the reduction in Æ in the negative-triangularity configuration, it also benefits from a high critical gradient, which is in line with the findings of Merlo et al. (Reference Merlo, Brunner, Sauter, Camenen, Görler, Jenko, Marinoni, Told and Villard2015). This effect becomes even more pronounced as one increases the shear, which, furthermore, reduces the Æ in the negative triangularity configuration. This implies that negative triangularity may be beneficial in a different sense: since the critical gradient estimated from Æ is higher in negative triangularity geometries, the profiles may be able to sustain much higher gradients and thus higher core density/temperature.

Figure 10. The gradient threshold as a function of equilibrium parameters. In (a) the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is $[1/3,3/2,1/2,0,0,0,2,s,\alpha ]$, and (b) has $[1/3,\kappa, \delta,0,0,0,2,1,0]$. In all plots $\eta = 0$.

3.6. Tokamak optimisation

In this section we aim to find Æ-optimised tokamaks for a certain set of equilibrium parameters, at fixed gradients ($\hat {\omega }_n=1$ and $\eta$=0). To this end, we choose to optimise over $\kappa$ and $\delta$ while keeping all other parameters fixed. In order to find somewhat realistic solutions, we restrict ourselves to a bounded optimisation space, namely

(3.7a,b)\begin{equation} \kappa \in (1/2,2),\quad \delta \in (-1/2,1/2). \end{equation}

The SHGO (simplicial homology global optimization) algorithm from Endres, Sandrock & Focke (Reference Endres, Sandrock and Focke2018) is ideally suited for finding the global minimum in this low-dimensional bounded parameter space and is also available in SciPy. Finally, we shall vary magnetic shear and $\alpha$, and investigate its effect on the global minimum found.

The results are displayed in figure 11, where the optimal values of Æ, $\kappa$ and $\delta$ values are displayed as a function of $s$ and $\alpha$. For a visual aid of the shape of the cross-sections, we refer to figure 2. It can be seen that both the optimal triangularity and elongation tend to be in the corners of the optimisation domain, and hence one should expect that these results are strongly dependent on this domain. Firstly, we see that vertically elongated tokamaks tend to be beneficial for all parameters considered here. It is, furthermore, interesting to note that the negative triangularity solution tends to be optimal whenever there is significant shear and the pressure gradient is not too large, which is consistent with the findings of § 3.4.

Figure 11. Global Æ-minimising solutions as a function of $s$ and $\alpha$. Panel (a) showcases the Æ of the optimal solution, (b) displays the elongation and (c) shows the triangularity. Generated with a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,\kappa,\delta,0,0,-1/2,3,s,\alpha ]$. In all panels $\hat {\omega }_n = 1$ and $\eta = 0$.

From this plot, an important conclusion can be drawn: there is no such thing as a single ‘optimal’ solution. The global minimum depends sensitively on other equilibrium parameters, such as shear and pressure gradient, which are, in turn, determined by the profiles of the safety factor, density and temperature. Therefore, if one is interested in finding an Æ-optimised tokamak, one should take care when choosing the profiles. One could also choose to let the profiles be part of the optimisation by describing them with some number of free parameters and constraints (e.g. one could use a fixed number of Fourier modes on top of a profile and optimise for the mode amplitudes). In reality, the profiles are themselves set by equilibrium conditions, making a self-consistent optimisation highly non-trivial. A more consistent investigation could perhaps solve this by coupling the current Æ-model to a transport solver, which would calculate self-consistent profiles.

3.7. Existence of solutions with high gradients yet low Æ

In this section, we investigate how this Æ model may relate to the suppression of TEMs when the density gradient is increased. To do so, we note several interesting properties that arise as one increases this gradient. First, the normalised pressure gradient $\alpha$ scales linearly with the density gradient (assuming a constant ratio of the poloidal magnetic field pressure to the thermal pressure, which, for example, occurs if one is operating at a fixed $\beta$-limit). The shear depends on the pressure gradient, as such a gradient drives the bootstrap current, which in turn changes the rotational transform profile. The bootstrap current density has an off-axis maximum in realistic scenarios, and such an off-axis maximum can locally lower the shear. This is most readily seen by inspecting the expression for shear in a large-aspect-ratio, circular tokamak, which depends on the current density profile $j(r)$ as

(3.8a,b)\begin{equation} s(r) = 2 \left( 1 - \frac{j(r)}{\bar{\jmath}(r)} \right);\quad \bar{\jmath}(r) = \frac{2}{r^2} \int_0^r x j(x)\,\mathrm{d}x, \end{equation}

where $\bar {\jmath }$ measures the average current density inside the radius $r$. From this expression, it is clear that for current density profiles that peak at $r=0$, the shear is always positive. An off-axis maximum, supplied by the bootstrap current, can cause a locally lower shear. Hence, as one raises $\hat {\omega }_n$ one simultaneously increases $\alpha$ and decreases $s$. To estimate the magnitude of the effect of the bootstrap current on the shear, we note that the bootstrap current is proportional to the density and temperature gradients, and thus to the pressure gradient

(3.9)\begin{equation} j_b \approx \,j_{b,0}\alpha(r). \end{equation}

This is an approximation since the different transport coefficients relating the bootstrap current to the various gradients are not identical (Helander & Sigmar Reference Helander and Sigmar2005), but we ignore this minor complication. We, furthermore, write the total current density as $j = j_b + j_e$, where $j_e$ is the equilibrium current, and assume $j_b \ll j_e = j_{e,0} \hat {\jmath }(r)$. To first order in the smallness of the bootstrap current, (3.7a,b) then gives

(3.10)\begin{equation} s \approx 2 - \frac{r^2 \hat{\jmath}(r)}{\displaystyle\int_0^\rho x\hat{\jmath}(x)\,\mathrm{d}x} \left(1 + \frac{j_{b,0}}{j_{e,0}} \left[\frac{\alpha(r)}{\hat{\jmath}(r)} - \frac{\displaystyle\int_0^r x \alpha(x)\,\mathrm{d}x}{\displaystyle\int_0^r x \hat{\jmath}(x)\,\mathrm{d}x}\right]\right). \end{equation}

Finally, following Miyamoto (Reference Miyamoto2005) we estimate the ratio $j_{b,0}/j_{e,0}$ as

(3.11)\begin{equation} \frac{j_{b,0}}{j_{e,0}} \approx 0.3 \langle \beta_p \rangle \sqrt{\epsilon}, \end{equation}

where $\beta _p$ is the local ratio of the thermal pressure over the poloidal magnetic field pressure, and the angular brackets denote a volume average. We shall take $j_{b,0}/j_{e,0}$ to be of the order of $10\,\%$, implying that the shear may change as $\mathrm {d} s /\mathrm {d} \alpha \sim s/10$. Finally, one can relate the pressure gradient to $\hat {\omega }_n$ as

(3.12)\begin{equation} \alpha = \epsilon \beta_p \left( 1 + \eta + \eta_i \right)\hat{\omega}_n, \end{equation}

where $\eta _i=\partial _r \ln T_i / \partial _r \ln n$, with $T_i(r)$ being the ion temperature. We assume that the factor $\epsilon \beta _p (1 + \eta + \eta _i) \sim 0.1$, so that $\mathrm {d} \hat {\omega }_n / \mathrm {d} \alpha \sim 10$.

We illustrate the competing effects of the density gradient, pressure gradient, and shear in figure 12. In figure 12(a,b) we see various isocontours of the Æ in $(\hat {\omega }_n,s,\alpha )$-space, where figure 12(a) has positive triangularity and figure 12(b) has negative triangularity. It is especially interesting to note that in figure 12(a) there are paths in parameter space in which $\hat {\omega }_n$ increases but the Æ decreases. These paths generally require that, as the density gradient increases, the pressure gradient should also increase and the shear should decrease. As we have argued, these trends are indeed found in tokamak discharges. One such path is indicated in figure 12(a) as a blue line. Importantly, the blue line has

(3.13a,b)\begin{equation} s = 4 \left(1 - \frac{\alpha}{8} \right),\quad \hat{\omega}_n = 10 \cdot \alpha \end{equation}

which is the correct order of magnitude for both $\mathrm {d}s/\mathrm {d}\alpha$ and $\mathrm {d}\hat {\omega }_n/\mathrm {d}\alpha$. Figure 12(b) exhibits drastically different features. Planes of constant Æ tend to lie parallel to planes of constant $\hat {\omega }_n$, indicating that not much stabilisation is possible by changing the shear or the pressure gradient: the Æ rises when $\hat {\omega }_n$ is increased. In figure 12(b), we again plot a line along the direction of increasing $\alpha$ and decreasing magnetic shear in red. Finally, note that for $s_\delta$ we have used the estimate from Miller et al. (Reference Miller, Chu, Greene, Lin-Liu and Waltz1998), $s_\delta \approx \delta /\sqrt {1 - \delta ^2}$.

Figure 12. Panels (a,b) showcase isocontours of the Æ as a function of $(\hat {\omega }_n,\alpha,s)$, where (a,b) have positive and negative triangularity,respectively. In both (a,b) a straight line is drawn which has increasing $\alpha$ and decreasing $s$ with increasing $\hat {\omega }_n$, and the projection of the line onto the grid-planes is shown as a dashed line. In (c), the Æ along both the blue line of (a) and the red line of (b) is plotted as a function $\hat {\omega }_n$. These plots were generated with a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,3/2,\delta, 1/2, \delta /\sqrt {1-\delta ^2}, -1/2, 3, s, \alpha ]$, and $\eta = 0$.

In figure 12(c) we display the Æ along the blue and red lines given in figure 12(a,b) as a function of the density gradient. Note that the positive-triangularity case exhibits a distinct maximum, with low Æ both to the left and right of the peak. One could interpret the existence of the latter as two distinct low-transport regimes: one with low gradients, and one with high gradients (which also has decreased magnetic shear and increased $\alpha$). It is, furthermore, interesting to note that the negative-triangularity tokamak rises to far higher values in terms of Æ and does not seem to drop back down to low levels along the chosen domain. Hence one could perhaps conclude that reaching a low-transport state with high gradients is not feasible in a negative-triangularity discharge. This is in line with findings of Saarelma et al. (Reference Saarelma, Austin, Knolker, Marinoni, Paz-Soldan, Schmitz and Snyder2021) and Nelson, Paz-Soldan & Saarelma (Reference Nelson, Paz-Soldan and Saarelma2022), where the H-mode was found to be inaccessible in negative-triangularity tokamaks on the basis of the ballooning instability, though the physical reason is of course different. This rise in Æ in negative triangularity is perhaps unsurprising given that we have found that negative triangularity is stabilising in cases with significant positive shear, a weak pressure gradient, and a slight density gradient, exemplified in figures 8 and 11. Since, along the chosen path shear decreases and $\alpha$ increases with increasing density gradient, which is opposite to what is stabilising for negative-triangularity tokamaks, we see a sharp increase in Æ. It may be feasible, however, to have a significant reduction in transport by tailoring the $q$-profile in such a way that negative triangularity becomes favourable, which likely implies significant positive shear. With such a reduction in Æ, one could perhaps enjoy much improved transport whilst staying in an L-mode-like regime. The parameters described in Marinoni et al. (Reference Marinoni, Austin, Hyatt, Walker, Candy, Chrystal, Lasnier, McKee, Odstrčil and Petty2019) do seem to meet such requirements, especially near the edge where the reduction in transport seems greatest as compared with the positive triangularity case.

A more comprehensive investigation, which shall be undertaken in a future publication, would self-consistently calculate the bootstrap current which would give precise paths in $(\hat {\omega }_n,\alpha,s)$-space. However, given the nature of the isocontours in this three-dimensional space, we expect the observed trends to be robust, as long as the path has the correct general dependencies (i.e. decreasing shear and increasing $\alpha$ with increasing density gradient).

4. Conclusions

We have shown that it is possible to simplify the analytical expression for the Æ of trapped electrons in the case of an omnigenous system, which speeds up calculations. If one, furthermore, employs an analytical local solution to the Grad–Shafranov equation, explicit expression of various quantities needed in the calculation of the Æ (e.g. bounce-averaged drifts, bounce times) can be found as in Roach et al. (Reference Roach, Connor and Janjua1995). Making use of an equilibrium parameterisation proposed by Miller et al. (Reference Miller, Chu, Greene, Lin-Liu and Waltz1998), we go on to investigate how Æ depends on these equilibrium parameters. Using this set-up, we observe several interesting features of the Æ.

  1. (i) A comparison is made between Æ and TGLF. We observe a fairly good correlation between energy flux and $A^{3/2}$, indicating that Æ can be a useful measure for tokamak transport.

  2. (ii) Increasing the magnitude of the magnetic shear or increasing the Shafranov shift tends to be stabilising as indicated by a reduction in the Æ, and these trends hold for many different choices of geometry. Especially negative shear reduces the Æ substantially for pure density gradients.

  3. (iii) Vertical elongation tends to be stabilising, as indicated by a reduction in Æ. Negative triangularity can be stabilising, particularly in configurations with significant positive shear or small gradients, but not always.

  4. (iv) The Æ has different scalings with respect to the gradient strength in weakly and strongly driven regimes. We employ this difference in scaling to estimate a gradient-threshold-like quantity, and we find that it has similar behaviours as found in the critical-gradient literature: an increase in shear tends to increase this gradient-threshold and negative triangularity benefits from an especially high gradient-threshold.

  5. (v) Using Æ for shape-optimisation we show that the optimal solution is strongly dependent on pressure gradients and magnetic shear, implying that the optimisation is sensitive to the density, pressure and $q$-profiles.

  6. (vi) An investigation is presented on how Æ varies as the density and pressure gradient increase consistently, while shear decreases. We find that in such scenarios one can find solutions with large gradients yet low Æ. Such solutions tend to exist for positive triangularity tokamaks but not for negative-triangularity tokamaks.

The results suggest that various observed trends regarding turbulent transport in tokamaks may partly be understood in terms of Æ, which has a simple physical interpretation and is cheap to compute. The analytical framework can readily be extended to account for an equilibrium model which allows for other shaping and plasma parameters such as plasma rotation (Hameiri Reference Hameiri1983; Miller et al. Reference Miller, Waelbroeck, Hassam and Waltz1995), squareness (Turnbull et al. Reference Turnbull, Lin-Liu, Miller, Taylor and Todd1999) and up–down asymmetry (Rodrigues & Coroado Reference Rodrigues and Coroado2018), though no such investigation is presented here.

Acknowledgements

We wish to thank J. Ball, J.M. Duff, R. Wolf, A. Goodman, P. Mulholland, P. Costello, M.J. Pueschel, F. Jenko, M. Barnes and E. Rodriguez for insightful discussions. This work was partly supported by a grant from the Simons Foundation (560651, P.H.), and this publication is part of the project ‘Shaping turbulence – building a framework for turbulence optimisation 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 P. Catto thanks the referees for their advice in evaluating this article.

Declaration of interests

The authors report no conflict of interest.

Appendix A. Details of bounce-averaging integrals in the $s$$\alpha$ limit

In the large-aspect ratio limit with circular flux surfaces, we find that

(A1a)\begin{gather} \gamma = 1, \end{gather}
(A1b)\begin{gather}C_1 =-1, \end{gather}
(A1c)\begin{gather}C_2 = 0, \end{gather}
(A1d)\begin{gather}C_3 = 1, \end{gather}
(A1e)\begin{gather}C_4 = 1, \end{gather}
(A1f)\begin{gather}\xi = 2 {\rm \pi}, \end{gather}
(A1g)\begin{gather}\oint \hat{l}_\theta \hat{B}_{p,s}^{-1} = 2 {\rm \pi}. \end{gather}

The equation for shear simplifies to $\sigma = s - 2$. Next, we investigate the radial derivatives of the magnetic field components in this limit and find that these become

(A2a)\begin{gather} r \partial_\rho b_p = 1 - s + \alpha \cos \theta, \end{gather}
(A2b)\begin{gather}r \partial_\rho b = \epsilon \left( \frac{\alpha}{2 q^2} - \cos \theta \right). \end{gather}

We express $\lambda$ in terms of the trapping parameter $k^2$, where the deeply trapped particles have $k=0$ and the barely trapped particles have $k=1$. This mapping is given by $\lambda = 1 + \epsilon (1 - 2 k^2)$, so that the magnetic field may be written as

(A3)\begin{equation} \lambda \hat{B} = 1 + \epsilon (1 - 2 k^2 - \cos \theta). \end{equation}

We can now express the argument of the bounce-averaging operator of (2.37), and expand it around the smallness of $\epsilon$. This gives us the leading-order result

(A4)\begin{equation} \hat{\omega}_\lambda = \left\langle -\frac{\alpha}{2 q^2} + \cos \theta + 2 (2 k^2 + \cos \theta - 1 )(s - \alpha \cos \theta) \right\rangle_\lambda. \end{equation}

In order to evaluate the integral, we first consider the general problem of evaluating

(A5)\begin{equation} I = \int_{\rm bounce} \frac{f(\theta)\,\mathrm{d} \theta }{\sqrt{\epsilon} \sqrt{2k^2 + \cos{\theta} - 1}}, \end{equation}

where the region of integration is set by the region where the argument of the square root is positive. Using the double angle identity $\cos (\theta ) = 1 - 2 \sin ^2 (\theta / 2)$, and setting $\tilde {\theta } = \theta /2$ gives

(A6)\begin{equation} I = \sqrt{\frac{2}{\epsilon}} \int_{\rm bounce} \frac{f(2 \tilde{\theta})\,\mathrm{d} \tilde{\theta} }{\sqrt{k^2 - \sin^2{\tilde{\theta}}}}. \end{equation}

Next, one uses the $u$-substitution $\sin \tilde {\theta } = k\sin \vartheta$, which has

(A7)\begin{equation} \mathrm{d} \tilde{\theta} = \frac{\sqrt{k^2 - k^2 \sin^2 \vartheta}}{\sqrt{1 - k^2 \sin \vartheta}} \mathrm{d} \vartheta, \end{equation}

so that the integral becomes

(A8)\begin{equation} I = \sqrt{\frac{2}{\epsilon}} \int_{-{\rm \pi}/2}^{{\rm \pi}/2} \frac{f(2 \arcsin[k \sin \vartheta])\,\mathrm{d} \vartheta }{\sqrt{1- k^2\sin^2{\vartheta}}}, \end{equation}

where have recognised the limits of integration satisfy $\vartheta = \pm {\rm \pi}/2$. The integral is now in standard form, and may be related to elliptic integrals of the first and second kind, depending on the functional form of $f$. For any constant function $f(\theta ) = f_0$, one simply has

(A9)\begin{equation} I = f_0 \sqrt{\frac{2}{\epsilon}} \int_{-{\rm \pi}/2}^{{\rm \pi}/2} \frac{\mathrm{d} \vartheta }{\sqrt{1- k^2\sin^2{\vartheta}}} =2 f_0 K(k) \sqrt{\frac{2}{\epsilon}}, \end{equation}

where the elliptic integral of the first kind is $K(k) = \int _0^{{\rm \pi} /2} \mathrm {d} \vartheta /\sqrt {1 - k^2 \sin \vartheta }$. Next, we require the integral with $f(\theta ) = \cos \theta = 1 - 2 k^2 \sin ^2 \vartheta$. This becomes

(A10)\begin{equation} I = 2\sqrt{\frac{2}{\epsilon}} \int_{{\rm \pi}/2}^{{\rm \pi}/2} \frac{1 - 2 k^2 \sin^2 \vartheta }{\sqrt{1- k^2\sin^2{\vartheta}}}\mathrm{d} \vartheta = 2\sqrt{\frac{2}{\epsilon}} \left( 2 E(k) - K(k) \right), \end{equation}

where $E(k) = \int _0^{{\rm \pi} /2} \mathrm {d} \vartheta \sqrt {1 - k^2 \sin \vartheta }$ is the elliptic integral of the first kind. We finally require the integral with $f(\theta ) = \cos ^2 \theta$, which reduces to

(A11)\begin{equation} I = \frac{2}{3}\sqrt{\frac{2}{\epsilon}} \left( \left[ 4 - 8k^2 \right] E(k) + \left[4 k^2 - 1\right] K(k) \right). \end{equation}

The bounce-average of the large-aspect ratio tokamak may now be evaluated, and one finds the result given in (2.59), equivalent to the result of Connor et al. (Reference Connor, Hastie and Martin1983). A plot of all these functions may be found in figure 13. As a final step, we calculate the dimensionless bounce-time, given (2.40). We find that it reduces to

(A12)\begin{equation} \hat{g}_\epsilon^{1/2} = \frac{\sqrt{2}}{\rm \pi} K(k). \end{equation}

Inserting the found results into (2.47) gives the result given in (2.62).

Figure 13. The functions $G_1$, $G_2$ and $G_3$ as a function of the trapping parameter $k^2$.

Appendix B. Benchmark of circular tokamak and Miller code and asymptotic limits

Here we show that the two codes that calculate the Æ in both the circular $s$$\alpha$ tokamak, for which the equation is given in (2.62), and a Miller tokamak, as given in (2.45), indeed yield the same results in the limit of a large-aspect-ratio circular tokamak. For a proper comparison, we set the Miller parameters such that one approaches the $s$$\alpha$ limit. As such, we choose $\epsilon =10^{-6}$, $q=2$ and all other Miller components of the Miller vector as given in (2.54) are set to zero. There is one numerical parameter of interest in the Miller code, the number of $\theta$ points which are used to evaluate the bounce integrals of (2.37) using a generalised trapezoidal method (Mackenbach et al. Reference Mackenbach, Duff, Gerard, Proll, Helander and Hegna2023b). In the comparison presented here we use $10^3$ equidistant nodes for $\theta$. The integral over the pitch angle is done using quadrature methods.

The comparison is shown in figure 14. In this figure, three different contour plots are shown: figure 14(a) is the Æ as calculated from (2.62); figure 14(b) shows the result as calculated from (2.45); figure 14(c) shows the relative error between the two codes (more precisely, it is the difference between figure 14a,b, divided by figure 14a). It can be seen that the error is typically quite small, with a maximal value of 1 % and a mean value of $0.004\,\%$. If different parameters are chosen (safety factor, density gradient, or $\eta$), the error remains similarly small.

Figure 14. Comparison of the Æ as calculated with two different codes. Panel (a) is calculated using a code that calculates Æ in the $s$$\alpha$ limit, and (b) is calculated using the Miller code. The plots are visually indistinguishable. Calculated using $q=2$, $\epsilon = 10^{-6}$, $\hat {\omega }_n = 3$ and $\eta =1$. All other parameters for Miller are set to zero, as required in the limit of the $s$$\alpha$ tokamak. Panel (c) presents the relative error, where it can be seen that the relative error is very small for large regions of $s$$\alpha$ space. Note that the colour bar scale in (c) is logarithmic.

All plots presented in the current publication are generated using the same or even more refined numerical parameters as used here, so that we have a high degree of confidence that the presented trends are indeed physical and not numerical. Further convergence checks (increasing the resolution of $\theta$ and adjusting the tolerances of the quadrature methods) do not alter the plots presented in this publication in a visually discernible manner.

As an additional check, we highlight that a recent publication has evaluated the Æ of trapped electrons in quasisymmetric systems (which includes tokamaks) in two asymptotic limits: those of a very strong and a very weak density gradient (Rodriguez & Mackenbach Reference Rodriguez and Mackenbach2023). It was found that the Æ scales with elongation as $\hat {A} \propto \kappa ^{1/4}$ if the density gradient is sufficiently small, and $\hat {A} \propto \kappa ^{-3/4}$ if the density gradient is sufficiently large. Importantly, this analysis assumed fixed $\partial n / \partial r_{\rm eff}$ and $r_{\rm eff} / R_0$, instead of fixed $\partial _r n$ and $r/R_0$. If one properly accounts for this different definition of the radial coordinate, we find that the code reproduces the correct scaling behaviours, as may be seen in figure 15. We also note that in the aforementioned investigation it was found that at zero shear, more negative triangularity is found to increase the Æ if the gradient is sufficiently strong and $\kappa > 1$. If the density gradient is sufficiently strong and $\kappa < 1$, the Æ decreases with more negative triangularity. These trends are reproduced and can be found in figure 7(d).

Figure 15. The Æ as a function of the elongation $\kappa$ for a very weak density gradient in (a) ($\hat {\omega }_n = 1/100$ at $\kappa = 1$), and a very strong density gradient in (b) ($\hat {\omega }_n = 100$ at $\kappa = 1$).

Appendix C. Negative triangularity and trapped particle precession

In this section, we investigate the difference in trapped particle orbits in positive and negative triangularity tokamaks. To this end, we investigate the dependence of (2.37) on $\delta$, and we set the other components of the Miller vector equal to $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ] = [1/3,2,\delta,0,0,0,2,0,0]$. The result for a positive triangularity tokamak ($\delta = 0.5$) is plotted in figure 16, where we have plotted $\omega _\lambda$ as a function of its bounce points $\theta$, which satisfy

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

Furthermore, we have shown the Æ per $\lambda$, called $\hat {A}_\lambda$, which is the integrand of (2.45). This is done by colouring a line of constant $\lambda$ (which corresponds to constant $B$) according to its $A_\lambda$. Finally, we also display $\omega _\lambda$ as a function of the trapping parameter $k^2$ which maps $\lambda \mapsto [0,1]$ according to

(C2)\begin{equation} k^2 = \frac{\hat{B}_\mathrm{max}- \lambda \hat{B}_\mathrm{max} \hat{B}_\mathrm{min}}{\hat{B}_\mathrm{max}- \hat{B}_\mathrm{min}}, \end{equation}

where the subscripts $\mathrm {max}$ and $\mathrm {min}$ refer to the maximal and minimal values of the functions, respectively. With this convention, $k^2 = 0$ corresponds to the most deeply trapped particles and $k^2=1$ to the most shallowly trapped particles. We have, furthermore, included a red dashed line, which delineates where $\omega _\lambda$ changes sign, which determines stability in a purely density-gradient-driven TEM. In the figure, $\omega _\lambda >0$ corresponds to instability (and associated Æ). It can be seen that this positive triangularity tokamak is unstable up to roughly $k^2=1/2$, and the magnetic well is relatively narrow.

Figure 16. The precession frequency and Æ distribution for a positive triangularity tokamak.

The same information is displayed for a tokamak which has $\delta =-0.5$ in figure 17. It can be seen that the precession frequencies are unstable for a broader range of values for $k^2$. The Æ is, furthermore, weighted by the bounce-time of a particle, which can become very large at the bottom of a magnetic well in a negative triangularity tokamak. As such, the negative triangularity case (with the Miller vectors as chosen here) has higher Æ than the positive triangularity case.

Figure 17. The precession frequency and Æ distribution for a negative triangularity tokamak.

We have tried various numerical experiments to assess the origin of this difference. From (2.37), we note that the term involving $1 - \lambda \hat {B} \propto v_\parallel ^2$, and hence we identify this term as the curvature component of the drift. The term involving $\lambda \hat {B} \propto v_\perp ^2$ on the other hand we identify as the gradient drift. Setting the term involving the parallel velocities equal to zero results in the found trends inverting, showcasing that this drive plays an important part in determining the precession. The poloidal curvature, $R_c^{-1}$, furthermore, plays an important part. By setting this term equal to unity in (2.37), we also find that negative triangularity is preferred over positive triangularity. Therefore, we postulate that this curvature drift plays an important part in determining stability. Importantly, the particles that experience curvature drive in negative-triangularity tokamaks are the deeply trapped particles, which tend to be most unstable against the TEM with a density gradient. This is in contrast to positive-triangularity tokamaks, where the most shallowly trapped particles experience significant curvature drive. These shallowly trapped particles, however, are stabilised by the fact that they experience an averaged drift, and as such the curvature drive here is less deleterious.

Footnotes

1 This correspondence between the maximum-$\mathcal {J}$ property and Æ is shown in Helander (Reference Helander2017), and can also be understood from (2.8). A device is said to be maximum-$\mathcal {J}$ if $\partial _\psi \mathcal {J}<0$ for all particles, which implies $\hat {\omega }_\alpha > 0$ for all $\lambda$. For $\eta < 2/3$, (2.1a,b) implies that $c_0 < 0$ for a radially decreasing density profile, and $c_1 > 0$, thus the integrand of the Æ reduces to zero since $I_z = 0$.

References

Balestri, A., Ball, J., Coda, S., Garcia-Munoz, M. & Viezzer, E. 2023 The aspect ratio dependence on confinement enhancement in negative triangularity plasmas (in preparation).Google Scholar
Candy, J. 2009 A unified method for operator evaluation in local grad–shafranov plasma equilibria. Plasma Phys. Control. Fusion 51 (10), 105009.10.1088/0741-3335/51/10/105009CrossRefGoogle 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
Coppi, B. & Pegoraro, F. 1977 Theory of the ubiquitous mode. Nucl. Fusion 17 (5), 969.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
Dagazian, R.Y. & Paris, R.B. 1982 The effects of high shear on ideal ballooning. Plasma Phys. 24 (6), 661670.CrossRefGoogle Scholar
Dimits, A.M., Bateman, G., Beer, M.A., Cohen, B.I., Dorland, W., Hammett, G.W., Kim, C., Kinsey, J.E., Kotschenreuther, M., Kritz, A.H., et al. 2000 Comparisons and physics basis of tokamak transport models and turbulence simulations. Phys. Plasmas 7 (3), 969983.CrossRefGoogle Scholar
Duff, J.M., Faber, B.J., Hegna, C.C., Pueschel, M.J. & Terry, P.W. 2022 Effect of triangularity on ion-temperature-gradient-driven turbulence. Phys. Plasmas 29 (1).CrossRefGoogle Scholar
Endres, S.C., Sandrock, C. & Focke, W.W. 2018 A simplicial homology algorithm for Lipschitz optimisation. J. Global Optim. 72 (2), 181217.CrossRefGoogle Scholar
Gardner, C.S. 1963 Bound on the energy available from a plasma. Phys. Fluids 6 (6), 839840.CrossRefGoogle Scholar
Hameiri, E. 1983 The equilibrium and stability of rotating plasmas. Phys. Fluids 26 (1), 230237.CrossRefGoogle Scholar
Hatch, D.R., Terry, P.W., Jenko, F., Merz, F., Pueschel, M.J., Nevins, W.M. & Wang, E. 2011 Role of subdominant stable modes in plasma microturbulence. Phys. Plasmas 18 (5).CrossRefGoogle Scholar
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).CrossRefGoogle Scholar
Helander, P. & Sigmar, D.J. 2005 Collisional Transport in Magnetized Plasmas. Cambridge University Press.Google Scholar
Jenko, F., Dorland, W. & Hammett, G.W. 2001 Critical gradient formula for toroidal electron temperature gradient modes. Phys. Plasmas 8 (9), 40964104.CrossRefGoogle Scholar
Kesner, J., Ramos, J.J. & Gang, F.Y. 1995 Comet cross-section tokamaks. J. Fusion Energy 14 (4), 361371.CrossRefGoogle Scholar
Kessel, C., Manickam, J.F., Rewoldt, G. & Tang, W.M. 1994 Improved plasma performance in tokamaks with negative magnetic shear. Phys. Rev. Lett. 72 (8), 1212.CrossRefGoogle ScholarPubMed
Kinsey, J.E., Waltz, R.E. & Candy, J. 2006 The effect of safety factor and magnetic shear on turbulent transport in nonlinear gyrokinetic simulations. Phys. Plasmas 13 (2), 022305.CrossRefGoogle Scholar
Kolmes, E.J. & Fisch, N.J. 2020 Recovering Gardner restacking with purely diffusive operations. Phys. Rev. E 102 (6), 63209.CrossRefGoogle ScholarPubMed
Kolmes, E.J. & Fisch, N.J. 2022 Minimum stabilizing energy release for mixing processes. Phys. Rev. E 106 (5), 055209.CrossRefGoogle ScholarPubMed
Kolmes, E.J., Helander, P. & Fisch, N.J. 2020 Available energy from diffusive and reversible phase space rearrangements. Phys. Plasmas 27 (6), 062110.CrossRefGoogle Scholar
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
Lang, J., Parker, S.E. & Chen, Y. 2008 Nonlinear saturation of collisionless trapped electron mode turbulence: zonal flows and zonal density. Phys. Plasmas 15 (5).CrossRefGoogle Scholar
Mackenbach, R.J.J., Duff, J.M., Gerard, M.J., Proll, J.H.E., Helander, P. & Hegna, C.C. 2023 b 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
Mackenbach, R.J.J., Proll, J.H.E., Wakelkamp, R. & Helander, P. 2023 a The available energy of trapped electrons: a nonlinear measure for turbulent transport. J. Plasma Phys. 89 (5), 905890513.CrossRefGoogle Scholar
Marinoni, A., Austin, M.E., Hyatt, A.W., Walker, M.L., Candy, J., Chrystal, C., Lasnier, C.J., McKee, G.R., Odstrčil, T., Petty, C.C., et al. 2019 H-mode grade confinement in L-mode edge plasmas at negative triangularity on DIII-D. Phys. Plasmas 26 (4), 042515.CrossRefGoogle Scholar
Mercier, C. & Luc, N. 1974 Report No. EUR-5127e 140 (Commission of the European Communities, Brussels, 1974) Tech. Rep.Google Scholar
Merlo, G., Brunner, S., Sauter, O., Camenen, Y., Görler, T., Jenko, F., Marinoni, A., Told, D. & Villard, L. 2015 Investigating profile stiffness and critical gradients in shaped TCV discharges using local gyrokinetic simulations of turbulent transport. Plasma Phys. Control. Fusion 57 (5), 054010.CrossRefGoogle Scholar
Merlo, G., Fontana, M., Coda, S., Hatch, D., Janhunen, S., Porte, L. & Jenko, F. 2019 Turbulent transport in TCV plasmas with positive and negative triangularity. Phys. Plasmas 26 (10), 102302.CrossRefGoogle Scholar
Merlo, G., Huang, Z., Marini, C., Brunner, S., Coda, S., Hatch, D., Jarema, D., Jenko, F., Sauter, O. & Villard, L. 2021 Nonlocal effects in negative triangularity TCV plasmas. Plasma Phys. Control. Fusion 63 (4), 044001.CrossRefGoogle Scholar
Merlo, G. & Jenko, F. 2023 Interplay between magnetic shear and triangularity in ion temperature gradient and trapped electron mode dominated plasmas. J. Plasma Phys. 89 (1), 905890104.CrossRefGoogle Scholar
Miller, R.L., Chu, M.-S., Greene, J.M., Lin-Liu, Y.R. & Waltz, R.E. 1998 Noncircular, finite aspect ratio, local equilibrium model. Phys. Plasmas 5 (4), 973978.CrossRefGoogle Scholar
Miller, R.L., Chu, M.S., Dominguez, R.R. & Ohkawa, T. 1989 Maximum J tokamak by plasma shaping. Plasma Phys. Control. Fusion 12 (3), 125132.Google Scholar
Miller, R.L., Waelbroeck, F.L., Hassam, A.B. & Waltz, R.E. 1995 Stabilization of ballooning modes with sheared toroidal rotation. Phys. Plasmas 2 (10), 36763684.CrossRefGoogle Scholar
Miyamoto, K. 2005 Plasma Physics and Controlled Nuclear Fusion, vol. 38. Springer Science & Business Media.Google Scholar
Nelson, A.O., Paz-Soldan, C. & Saarelma, S. 2022 Prospects for H-mode inhibition in negative triangularity tokamak reactor plasmas. Nucl. Fusion 62 (9), 096020.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
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), 085001.CrossRefGoogle ScholarPubMed
Rettig, C.L., Peebles, W.A., Doyle, E.J., Burrell, K.H., Greenfield, C., Staebler, G.M. & Rice, B.W. 1997 Microturbulence reduction during negative central shear tokamak discharges. Phys. Plasmas 4 (11), 40094016.CrossRefGoogle Scholar
Roach, C.M., Connor, J.W. & Janjua, S. 1995 Trapped particle precession in advanced tokamaks. Plasma Phys. Control. Fusion 37 (6), 679.CrossRefGoogle Scholar
Rodrigues, P. & Coroado, A. 2018 Local updown asymmetrically shaped equilibrium model for tokamak plasmas. Nucl. Fusion 58 (10), 106040.CrossRefGoogle Scholar
Rodriguez, E. & Mackenbach, R.J.J. 2023 Trapped-particle precession and modes in quasi-symmetric stellarators and tokamaks: a near-axis perspective. arXiv:2308.00960.Google Scholar
Romanelli, F. 1989 Ion temperature-gradient-driven modes and anomalous ion transport in tokamaks. Phys. Fluids B 1 (5), 10181025.CrossRefGoogle Scholar
Rosenbluth, M. & Sloan, M.L. 1971 Finite-$\beta$ stabilization of the collisionless trapped particle instability. Phys. Fluids 14 (8), 17251741.CrossRefGoogle Scholar
Saarelma, S., Austin, M.E., Knolker, M., Marinoni, A., Paz-Soldan, C., Schmitz, L. & Snyder, P.B. 2021 Ballooning instability preventing the H-mode access in plasmas with negative triangularity shape on the DIII—tokamak. Plasma Phys. Control. Fusion 63 (10), 105006.CrossRefGoogle Scholar
Staebler, G.M., Belli, E.A., Candy, J., Kinsey, J.E., Dudding, H. & Patel, B. 2021 Verification of a quasi-linear model for gyrokinetic turbulent transport. Nucl. Fusion 61 (11), 116007.CrossRefGoogle Scholar
Staebler, G.M., Candy, J., Belli, E.A., Kinsey, J.E., Bonanomi, N. & Patel, B. 2020 Geometry dependence of the fluctuation intensity in gyrokinetic turbulence. Plasma Phys. Control. Fusion 63 (1), 015013.CrossRefGoogle Scholar
Staebler, G.M. & Kinsey, J.E. 2010 Electron collisions in the trapped gyro-landau fluid transport model. Phys. Plasmas 17 (12), 122309.CrossRefGoogle Scholar
Staebler, G.M., Kinsey, J.E. & Waltz, R.E. 2007 A theory-based transport model with comprehensive physics. Phys. Plasmas 14 (5), 055909.CrossRefGoogle Scholar
Strait, E.J., Casper, T.A., Chu, M.S., Ferron, J.R., Garofalo, A., Greenfield, C.M., La Haye, R.J., Lao, L.L., Lazarus, E.A. & Miller, R.L. 1997 Stability of negative central magnetic shear discharges in the DIII-D tokamak. Phys. Plasmas 4 (5), 17831791.CrossRefGoogle Scholar
Turnbull, A.D., Lin-Liu, Y.R., Miller, R.L., Taylor, T.S. & Todd, T.N. 1999 Improved magnetohydrodynamic stability through optimization of higher order moments in cross-section shape of tokamaks. Phys. Plasmas 6 (4), 11131116.CrossRefGoogle Scholar
Figure 0

Figure 1. Contour plot of $I_z$ as a function of $c_0$ and $c_1$.

Figure 1

Figure 2. Cross-sections in the $(R,Z)$-plane of tokamaks parameterised via (2.53). The parameters $(\kappa,\delta )$ vary from (ad) as $(2/3,0.9)$, $(2/3,-0.9)$, $(3/2,0.9)$ and $(3/2,-0.9)$, respectively. All plots have $R_0=1$ and $\epsilon =1/3$.

Figure 2

Figure 3. Comparison between codes, showing the correspondence between the estimate of the energy flux from Æ and TGLF. Panels (a,c,e) display the energy flux from TGLF, and panels (b,d,f) display the corresponding estimate from Æ. One can see agreement in trends, though some details differ. Panels (a,b) have a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,\kappa,\delta, 0, 0, 0, 2, 0, 0]$, whereas panels (c,d) have $[1/3,\kappa,\delta, 0, 0, 0, 2, 1, 0]$, and panels (e,f) have a Miller vector of $[1/3,1,1/2, 0, 0, 0, 2, s, \alpha ]$. Panels (a,b) have $\hat {\omega }_n=3$; panels (c,d) and (e,f) have $\hat {\omega }_n=6$, and $\eta =1$ in all panels. The white masked-out regions have a dominant instability which is not in the electron direction, and as such we filter them out. Finally, note that the colour bars are the same scale in each column.

Figure 3

Figure 4. A scatter plot showing the relation between the two estimates of the nonlinear energy flux. The red dashed line is shows the expected linear relationship, $x=y$. The plot consists of $N=1171$ points. The grey points have some transparency, and as such darker regions arise due to a high density of points. Furthermore, we have added simulation data from the gyrokinetic code GENE (gyrokinetic electromagnetic numerical experiment) (Jenko, Dorland & Hammett 2001), also presented in Mackenbach et al. (2022), as blue markers.

Figure 4

Figure 5. The Æ of a large-aspect-ratio circular tokamak, as a function of magnetic shear $s$ and pressure gradient $\alpha$. The plots have been generated using $q=2$. Panel (a) has $\hat {\omega }_n=3$ and $\eta =0$, whereas (b) has a pure electron temperature gradient, i.e. $\hat {\omega }_n=0$ and $\hat {\omega }_n \cdot \eta = 3$.

Figure 5

Figure 6. Dependence of Æ on magnetic shear $s$ and pressure gradient $\alpha$. In (a), the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is set to $[ 1/3, 3/2, 1/2, 0, 0, 0, 2, s,\alpha ]$, and other panels have the same vector with one parameter changed. In (b) the safety factor $q$ is reduced from $2$ to $1$, for (c) the elongation $\kappa$ decreases from $3/2$ to $1/2$, and in (d) the sign of triangularity $\delta$ is changed from $1/2$ to $-1/2$. All panels have $\hat {\omega }_n=1$ and $\eta = 0$.

Figure 6

Figure 7. The effect of the geometry on Æ. In (a) the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is set to $[ 1/3,\kappa, \delta, 0, 0, 0, 2, 1,0 ]$ with $\hat {\omega }_n=1$ and $\eta = 0$, and all other panels have the same Miller vector with one parameter changed. The contours shown in (b) have a higher inverse aspect ratio as $\epsilon$ is increased from $1/3$ to $2/3$, in (c) the pressure gradient $\alpha$ is increased from $0$ to $1/2$, and for (d) we have decreased the shear from $1$ to $0$.

Figure 7

Figure 8. Various plots showcasing the dependencies of $\log (\varDelta )$, where $\varDelta$ is defined as $\hat {A}(\delta =-0.1)/\hat {A}(\delta =+0.1)$, on various equilibrium parameters. Panels (a,c) and (b,d) have different Miller vectors $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$, which are meant to be representative of the edge and the core. Panels (a,c) have a core-like Miller vector of $\boldsymbol {M}_\mathrm {core}=[1/100,3/2,\delta,0,0,0,1,s,\alpha ]$. Panels (b,d) have an edge-like Miller vector of $\boldsymbol {M}_\mathrm {edge}=[1/3,3/2,\delta,1/2,0,-1/2,3,s,\alpha ]$ Finally, (a) has $\hat {\omega }_n=1/2$ and $\eta =0$, (b) has $\hat {\omega }_n=2$ and $\eta =0$, (c) has $s=\alpha =0$ and (d) has $s=2$ and $\alpha =1/2$.

Figure 8

Figure 9. Example of dependence of Æ on gradient strength. Two scalings are found in (a). In (b) we define a gradient threshold by fitting a straight line to the strongly driven regime, and finding its $\hat {\omega }_n$ interception with the abscissa.

Figure 9

Figure 10. The gradient threshold as a function of equilibrium parameters. In (a) the Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ is $[1/3,3/2,1/2,0,0,0,2,s,\alpha ]$, and (b) has $[1/3,\kappa, \delta,0,0,0,2,1,0]$. In all plots $\eta = 0$.

Figure 10

Figure 11. Global Æ-minimising solutions as a function of $s$ and $\alpha$. Panel (a) showcases the Æ of the optimal solution, (b) displays the elongation and (c) shows the triangularity. Generated with a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,\kappa,\delta,0,0,-1/2,3,s,\alpha ]$. In all panels $\hat {\omega }_n = 1$ and $\eta = 0$.

Figure 11

Figure 12. Panels (a,b) showcase isocontours of the Æ as a function of $(\hat {\omega }_n,\alpha,s)$, where (a,b) have positive and negative triangularity,respectively. In both (a,b) a straight line is drawn which has increasing $\alpha$ and decreasing $s$ with increasing $\hat {\omega }_n$, and the projection of the line onto the grid-planes is shown as a dashed line. In (c), the Æ along both the blue line of (a) and the red line of (b) is plotted as a function $\hat {\omega }_n$. These plots were generated with a Miller vector $[\epsilon,\kappa,\delta, s_\kappa, s_\delta, \partial _r R_0, q, s, \alpha ]$ of $[1/3,3/2,\delta, 1/2, \delta /\sqrt {1-\delta ^2}, -1/2, 3, s, \alpha ]$, and $\eta = 0$.

Figure 12

Figure 13. The functions $G_1$, $G_2$ and $G_3$ as a function of the trapping parameter $k^2$.

Figure 13

Figure 14. Comparison of the Æ as calculated with two different codes. Panel (a) is calculated using a code that calculates Æ in the $s$$\alpha$ limit, and (b) is calculated using the Miller code. The plots are visually indistinguishable. Calculated using $q=2$, $\epsilon = 10^{-6}$, $\hat {\omega }_n = 3$ and $\eta =1$. All other parameters for Miller are set to zero, as required in the limit of the $s$$\alpha$ tokamak. Panel (c) presents the relative error, where it can be seen that the relative error is very small for large regions of $s$$\alpha$ space. Note that the colour bar scale in (c) is logarithmic.

Figure 14

Figure 15. The Æ as a function of the elongation $\kappa$ for a very weak density gradient in (a) ($\hat {\omega }_n = 1/100$ at $\kappa = 1$), and a very strong density gradient in (b) ($\hat {\omega }_n = 100$ at $\kappa = 1$).

Figure 15

Figure 16. The precession frequency and Æ distribution for a positive triangularity tokamak.

Figure 16

Figure 17. The precession frequency and Æ distribution for a negative triangularity tokamak.