1 Introduction
In recent years, great effort has been devoted to the investigation of gyrokinetic instabilities that can cause turbulent transport in stellarators. In particular, analytical and numerical progress has been made for electrostatic instabilities, such as trapped electron modes (Proll, Xanthopoulos & Helander Reference Proll, Xanthopoulos and Helander2013; Faber et al. Reference Faber, Pueschel, Proll, Xanthopoulos, Terry, Hegna, Weir, Likin and Talmadge2015), ion-temperature-gradient-driven modes (Plunk et al. Reference Plunk, Helander, Xanthopoulos and Connor2014; Helander et al. Reference Helander, Bird, Jenko, Kleiber, Plunk, Proll, Riemann and Xanthopoulos2015; Xanthopoulos et al. Reference Xanthopoulos, Plunk, Zocco and Helander2016; Zocco et al. Reference Zocco, Plunk, Xanthopoulos and Helander2016) and electron-temperature-gradient-driven modes (Jenko & Kendl Reference Jenko and Kendl2002). Electromagnetic gyrokinetic instabilities have been explored much less. At present, our understanding is based on the use of numerical codes and is limited to a handful of works (Sugama & Watanabe Reference Sugama and Watanabe2004; Baumgaertel et al. Reference Baumgaertel, Hammett, Mikkelsen, Nunami and Xanthopoulos2012; Ishizawa et al. Reference Ishizawa, Watanabe, Sugama, Maeyama and Nakajima2014, Reference Ishizawa, Watanabe, Sugama, Nunami, Tanaka, Maeyama and Nakajima2015; Mishchenko et al. Reference Mishchenko, Borchardt, Cole, Hatzky, Fehér, Kleiber, Könies and Zocco2015). This status quo is clearly not satisfactory, especially if we consider our lack of analytical insight. The state of affairs is different in the sphere of energetic particle physics, especially in tokamaks, where there is certainly no lack of analytically driven research (see the review of Chen & Zonca (Reference Chen and Zonca2016) and references therein). For transport studies, a first step towards the reconciliation of analytics and numerics, for strongly driven kinetic ballooning modes (KBMs), was made in the work of Aleynikova & Zocco (Reference Aleynikova and Zocco2017). Here, quantitative agreement between electromagnetic gyrokinetic numerical simulations and a finite- $\unicode[STIX]{x1D6FD}$ (where $\unicode[STIX]{x1D6FD}$ is the ratio of kinetic to magnetic plasma pressure) diamagnetic modification of ideal magnetohydrodynamics (MHD) was found. The results of Aleynikova & Zocco (Reference Aleynikova and Zocco2017), however, only apply to a simple geometric setting, and an extension to more relevant geometries is required. In this article we complement the numerical work of Aleynikova et al. (Reference Aleynikova, Zocco, Xanthopoulos, Helander and Nührenberg2018) on the stellarator Wendelstein 7-X, and put forward an analytical formulation of the diamagnetic modification of ideal MHD used by Aleynikova & Zocco (Reference Aleynikova and Zocco2017) in a surface-global setting. Our analysis will then be local in the radial direction of the torus, but the equilibrium magnetic field is allowed to vary on the magnetic flux surface with respect to the fieldline as is possible in non-axisymmetric geometries. We show how to properly choose coordinates in such a way that the original derivation of the Mercier criterion (Mercier Reference Mercier1960; Mercier & Luc Reference Mercier and Luc1974) can be performed also in a stellarator geometry with the use of the ballooning transform of Connor, Hastie & Taylor (Reference Connor, Hastie and Taylor1979). We identify the metric elements that characterise surface-global effects and study how they impact the real frequency of the diamagnetically modified ideal MHD mode proposed by Aleynikova & Zocco (Reference Aleynikova and Zocco2017). Finally, a discrete description similar to the flux-bundle model of Sugama et al. (Reference Sugama, Watanabe, Nunami, Satake, Matsuoka and Tanaka2012) is introduced. The effect of the fieldline-label dependence on the curvature drift is investigated within this framework and it is found to be stabilising. This stabilisation is related to a possible violation of the Mercier criterion.
2 Formulation
The equation for the divergence of the plasma current, when each term is ordered to accommodate linear ballooning modes, results in a second-order differential equation, in the fieldline-following variable $l$ , for the potential $\unicode[STIX]{x1D713}$ that defines the parallel component of the magnetic potential $-\text{i}\unicode[STIX]{x1D714}A_{\Vert }=\unicode[STIX]{x1D735}_{\Vert }\unicode[STIX]{x1D713}$ . Here $\unicode[STIX]{x1D714}$ is the complex mode frequency, $\unicode[STIX]{x1D735}_{\Vert }=\boldsymbol{b}\boldsymbol{\cdot }\unicode[STIX]{x1D735}$ , with $\boldsymbol{b}=\boldsymbol{B}/B$ , where $\boldsymbol{B}$ is the equilibrium magnetic field, and $B$ is its modulus. The general form of this equation is equation (2.35) of Tang, Connor & Hastie (Reference Tang, Connor and Hastie1980). This comes from a sound expansion of the gyrokinetic equation, $k_{\Vert }v_{\text{thi}}\ll \unicode[STIX]{x1D714}\ll k_{\Vert }v_{\text{the}}$ . Here $v_{\text{ths}}=\sqrt{2T_{s}/m_{s}}$ is the thermal speed for a species with temperature $T_{s}$ and mass $m_{s}$ . When a finite $\unicode[STIX]{x1D6FD}\sim \unicode[STIX]{x1D716}\equiv k_{\Vert }^{2}v_{\text{thi}}^{2}/\unicode[STIX]{x1D714}^{2}\ll 1$ ordering is implemented, magnetic compressibility is retained, and the curvature and grad- $B$ drifts are kept, consistent with the Grad–Shafranov equation, the relevant equation for kinetic ballooning modes is a simple diamagnetic modification of the ideal MHD ballooning equation (Roberts & Taylor Reference Roberts and Taylor1965; Aleynikova & Zocco Reference Aleynikova and Zocco2017)
where $B_{a}$ is a reference constant magnetic field, $\unicode[STIX]{x1D6FD}_{i}=8\unicode[STIX]{x03C0}p_{i}/B_{a}^{2}$ , $b=0.5k_{\bot }^{2}v_{\text{thi}}^{2}/\unicode[STIX]{x1D6FA}_{i}(B)^{2}$ , $\boldsymbol{k}_{\bot }$ is the wave vector (of perturbations) across the equilibrium magnetic field and $\unicode[STIX]{x1D6FA}_{i}(B)=m_{i}c/(eB)$ is the ion cyclotron frequency. In a surface-global setting, the $\boldsymbol{k}_{\bot }^{2}=k_{i}k^{i}=k^{j}g_{ji}k^{i}$ term becomes the Laplacian operator in curvilinear geometry
where $\unicode[STIX]{x1D70C}_{i}=v_{\text{thi}}/\unicode[STIX]{x1D6FA}_{i}(B_{a})$ , and we introduced a triplet of contravariant coordinates $\boldsymbol{x}=(x^{1},x^{2},x^{3})$ . Each $x^{i}$ is a scalar function of the Cartesian spatial coordinates $(x,y,z)$ . We then define the contravariant metric tensor $\unicode[STIX]{x1D628}^{ij}=\unicode[STIX]{x1D735}x^{i}\boldsymbol{\cdot }\unicode[STIX]{x1D735}x^{j}$ where $\unicode[STIX]{x1D735}=\boldsymbol{e}^{x}\unicode[STIX]{x2202}_{x}+\boldsymbol{e}^{y}\unicode[STIX]{x2202}_{y}+\boldsymbol{e}^{z}\unicode[STIX]{x2202}_{z}$ is the gradient in Cartesian coordinates, $\sqrt{g}=(\unicode[STIX]{x1D735}x^{1}\times \unicode[STIX]{x1D735}x^{2}\boldsymbol{\cdot }\unicode[STIX]{x1D735}x^{3})^{-1}$ is the determinant of the Jacobian matrix $J_{i}^{j}=\unicode[STIX]{x2202}_{i}x^{j}$ and $a$ is a reference length scale. The functions $\unicode[STIX]{x1D628}^{ij}$ will soon be specified. The diamagnetic frequency is
where $L_{n}^{-1}=\text{d}\ln n/\text{d}x^{1}$ . Then $\unicode[STIX]{x1D714}_{ps}=\unicode[STIX]{x1D714}_{\ast s}(1+\unicode[STIX]{x1D702}_{s})$ , with $\unicode[STIX]{x1D702}_{s}=\text{d}\ln T_{s}/\text{d}\ln n$ , $\unicode[STIX]{x1D714}_{p}=\unicode[STIX]{x1D714}_{pi}-\unicode[STIX]{x1D714}_{pe}$ and $L_{p,s}^{-1}=L_{n}^{-1}(1+\unicode[STIX]{x1D702}_{s})$ , with $L_{p}^{-1}=L_{p,i}^{-1}+L_{p,e}^{-1}$ . Notice that we have corrected a multiplicative factor 2 on the left-hand side of equation (2.1) of Aleynikova & Zocco (Reference Aleynikova and Zocco2017). We will now be more specific with the coordinate system.
We follow Xanthopoulos et al. (Reference Xanthopoulos, Cooper, Jenko, Turkin, Runov and Geiger2009) and consider a modification of the Boozer system (Boozer Reference Boozer1982) that respects the field alignment:
where $s=\unicode[STIX]{x1D6F7}/\unicode[STIX]{x1D6F7}_{\text{edge}}$ , with $\unicode[STIX]{x1D6F7}$ the toroidal magnetic flux and $\unicode[STIX]{x1D6F7}_{\text{edge}}$ its value at the last closed flux surface, and $\unicode[STIX]{x1D703}$ and $\unicode[STIX]{x1D701}$ are the Boozer poloidal and toroidal angles, respectively. Thus, $\sqrt{g_{B}}B^{2}=B_{\unicode[STIX]{x1D703}}\unicode[STIX]{x1D6F9}^{\prime }(s)+B_{\unicode[STIX]{x1D701}}\unicode[STIX]{x1D6F7}^{\prime }(s)$ , where $\unicode[STIX]{x1D6F9}$ is the poloidal magnetic flux and $\boldsymbol{B}=\unicode[STIX]{x1D6F9}^{\prime }(s)\unicode[STIX]{x1D735}x^{1}\times \unicode[STIX]{x1D735}x^{2}$ . The prime is a total derivative with respect to the explicit argument $s$ , $q=\unicode[STIX]{x1D6F7}^{\prime }/\unicode[STIX]{x1D6F9}^{\prime }\equiv \unicode[STIX]{x1D704}^{-1}$ , and $\unicode[STIX]{x1D703}_{0}$ is the familiar free parameter of ballooning theory (Connor, Hastie & Taylor Reference Connor, Hastie and Taylor1978; Connor et al. Reference Connor, Hastie and Taylor1979; Hastie & Taylor Reference Hastie and Taylor1981). We have
where $\unicode[STIX]{x1D73F}=\hat{\boldsymbol{b}}\boldsymbol{\cdot }\unicode[STIX]{x1D735}\hat{\boldsymbol{b}}$ . We now introduce our first assumption: $\unicode[STIX]{x2202}_{x^{1}}\equiv 0$ . That is, we are neglecting the radial structure of the mode under consideration. From this, it also follows that $\unicode[STIX]{x1D703}_{0}\equiv 0$ , since in ballooning theory it can be shown that $\unicode[STIX]{x1D703}_{0}$ is proportional to the radial wavenumber. The effect of $k_{1}$ must be carefully considered for each non-axisymmetric machine under consideration, depending on the global shear of its configurations. For instance, a finite $k_{1}$ seems to be crucial to capture the most unstable KBM in Large Helical Device (LHD) (see (Ishizawa et al. Reference Ishizawa, Watanabe, Sugama, Maeyama and Nakajima2014, figure 1)). In the case of W7-X, $k_{1}$ could have a less prominent role (Aleynikova et al. Reference Aleynikova, Zocco, Xanthopoulos, Helander and Nührenberg2018).
By using equation (23) of Xanthopoulos et al. (Reference Xanthopoulos, Cooper, Jenko, Turkin, Runov and Geiger2009), and the properties of Boozer coordinates, after some straightforward algebra, we obtain
where $j_{\Vert }=\hat{\boldsymbol{b}}\boldsymbol{\cdot }\boldsymbol{j}$ , $\boldsymbol{j}$ is the plasma current and ${\hat{s}}=2s_{0}q^{\prime }(s_{0})/q(s_{0})$ is the global magnetic shear at a given radial location $s_{0}$ , and we used $\unicode[STIX]{x1D6F9}_{N}^{\prime }=\unicode[STIX]{x1D6F9}^{\prime }/(a^{2}B_{a})=\sqrt{s}/q$ (see also equation (141) of Xanthopoulos et al. (Reference Xanthopoulos, Cooper, Jenko, Turkin, Runov and Geiger2009)). This form will be extremely important in order to derive a Mercier criterion, because of the explicit $\unicode[STIX]{x1D735}_{\Vert }$ . We finally choose $x^{3}=\unicode[STIX]{x1D703}$ , so that $\sqrt{g_{N}}a\unicode[STIX]{x1D735}_{\Vert }=(B_{a}/B)\unicode[STIX]{x2202}_{\unicode[STIX]{x1D703}}$ , where $\sqrt{g_{N}}=2qa^{-3}\sqrt{g_{B}}$ is the normalised Jacobian.
It is now possible to specify the form of (2.2). The metric elements entering (2.2) have first been presented by Cooper (Reference Cooper1992) and have also been evaluated by Xanthopoulos et al. (Reference Xanthopoulos, Cooper, Jenko, Turkin, Runov and Geiger2009). Then, we find it convenient to write
with $b_{0}=(g_{ss}B^{2}-B_{s}^{2})/(a^{2}B_{a}^{2})$ , $b_{1}=(B_{\unicode[STIX]{x1D703}}B_{s}-g_{s\unicode[STIX]{x1D703}}B^{2})/(s_{0}a^{2}B_{a}^{2})$ and $b_{2}=g^{ss}a^{2}/(4s_{0})\equiv g_{N}^{ss}$ . Since we are assuming (for perturbations!) $\unicode[STIX]{x2202}/\unicode[STIX]{x2202}x^{1}=\unicode[STIX]{x1D703}_{0}\equiv 0$ , the $g_{B}^{22}$ term is the only metric element left in the summation that defines $b$ in (2.2). It is perhaps interesting to note that, in (2.7), the function $b$ shows the same ${\hat{s}}\unicode[STIX]{x1D703}$ dependence that it would have in the well-known ${\hat{s}}-\unicode[STIX]{x1D6FC}$ model: $b_{{\hat{s}}-\unicode[STIX]{x1D6FC}}\propto k_{2}^{2}+k_{1}k_{2}{\hat{s}}\unicode[STIX]{x1D703}+k_{2}^{2}{\hat{s}}^{2}\unicode[STIX]{x1D703}^{2}$ . However now the coefficients $b_{i}$ are not constant, and we have a linear secular term even if $k_{1}\equiv 0!$ This is purely geometric, and comes from the off-diagonal entries of the metric tensor. However, this term does not play a role in the formulation of the Mercier criterion.
2.1 Local Mercier criterion and its validity
Before analysing the properties of (2.1) when the $x^{2}$ -variation of the eigenfunction is allowed, it seems reasonable to follow the analysis of Connor, Hastie and Taylor of the ballooning equation (Connor et al. Reference Connor, Hastie and Taylor1979), and derive a Mercier criterion which is valid in a local flux-tube gyrokinetic context for stellarators. This is important since, historically, the derivation of the ballooning equation for stellarators has been based on a complicated minimisation of the ideal MHD potential (Correa-Restrepo Reference Correa-Restrepo1978) à la Mercier (Mercier Reference Mercier1960; Mercier & Luc Reference Mercier and Luc1974) and its application to local flux-tube gyrokinetics is not straightforward. In some works on ideal MHD ballooning modes in stellarators, Hamada (Reference Hamada1962) coordinates are used (Correa-Restrepo Reference Correa-Restrepo1978). In others (Hegna & Nakajima Reference Hegna and Nakajima1998), Boozer coordinates are introduced but the field-following coordinate is not specified and the secular terms are expressed implicitly in terms of integrals on the local shear. The ‘stellarator expansion’ was used by Sugama & Watanabe (Reference Sugama and Watanabe2004). The most explicit formulation of the Mercier criterion for stellarators is the one given in a not so very accessible article by Nührenberg & Zille (Reference Nührenberg and Zille1987), where the authors use the toroidal angle as the field-following coordinate and do not order the global shear with the plasma $\unicode[STIX]{x1D6FD}$ , unlike us. Additional instances of the use of a Mercier criterion in stellarators (Fu et al. Reference Fu, Cooper, Gruber, Schwenn and Anderson1992; Gardner & Blackwell Reference Gardner and Blackwell1992) lead to chapter 5 of the book of Bauer, Betancourt & Garabedian (Reference Bauer, Betancourt and Garabedian1984), which, in turns, leads cyclically to the work of Mercier & Luc (Reference Mercier and Luc1974). Since in this bibliographical odyssey, lasting more than 38 years (therefore nearly 4 times the original odyssey), we could not find a derivation of the indicial ballooning equation that: is based on the poloidal angle being the fieldline-following coordinates, relates to local flux-tube gyrokinetics and gives an explicit ordering for the global shear, we decided to present such calculation here. The equation we study is then
with $\unicode[STIX]{x1D714}_{A}^{2}=v_{\text{thi}}^{2}/(\unicode[STIX]{x1D6FD}_{i}a^{2})$ , $b=\unicode[STIX]{x1D70C}_{i}^{2}k_{2}^{2}B_{a}^{2}/(2a^{2}B^{2})g_{N}^{22}$ and $g_{N}^{22}=b_{0}+b_{1}{\hat{s}}\unicode[STIX]{x1D703}+b_{2}{\hat{s}}^{2}\unicode[STIX]{x1D703}^{2}$ , where the $b_{i}$ have been defined in the previous section.
We are now in the position to seek a solution of the type
where $z={\hat{s}}\unicode[STIX]{x1D703}$ , and we consider radial locations for which $\unicode[STIX]{x1D704}=n/m$ , with $m$ and $n$ integers. Then, the functions $g_{i}$ have the period of the equilibrium, and $\int _{\unicode[STIX]{x1D6E4}}\,\text{d}g_{i}=0$ if $\unicode[STIX]{x1D6E4}$ in the path on integration along a closed fieldline. When the fieldline is chosen to be a high-order rational $\int _{\unicode[STIX]{x1D6E4}}(\cdots \,)\,\text{d}\unicode[STIX]{x1D703}/\int _{\unicode[STIX]{x1D6E4}}\,\text{d}\unicode[STIX]{x1D703}\approx (2\unicode[STIX]{x03C0})^{-2}\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D703}\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D701}(\cdots \,)$ . The index $\unicode[STIX]{x1D6FC}$ is a complex quantity which determines a necessary condition for marginal stability. Rigorously, the diamagnetic correction of (2.1) renders the original treatment of Connor, Hastie and Taylor extremely difficult. The problem has been studied by Connor, Tang & Allen (Reference Connor, Tang and Allen1984) by means of an asymptotic matching procedure. Here the authors consider the case $\unicode[STIX]{x1D714}-\unicode[STIX]{x1D714}_{pi}\ll \unicode[STIX]{x1D714}_{A}$ , and solve (2.1) in two asymptotic regions: one defined by ${\hat{s}}\unicode[STIX]{x1D703}\sim 1$ , the other ${\hat{s}}\unicode[STIX]{x1D703}\sim \unicode[STIX]{x1D714}_{A}^{2}/\unicode[STIX]{x1D714}(\unicode[STIX]{x1D714}-\unicode[STIX]{x1D714}_{pi})\gg 1$ . Asymptotic matching of the two solutions then provides a stability criterion that incorporates some diamagnetic effects. The authors also notice that, for (2.1), a necessary condition for $\unicode[STIX]{x1D714}$ to be imaginary in that $\text{Re}[\unicode[STIX]{x1D714}]=\unicode[STIX]{x1D714}_{pi}/2$ . This implies that, at marginality, $\unicode[STIX]{x1D714}(\unicode[STIX]{x1D714}-\unicode[STIX]{x1D714}_{pi})=-\unicode[STIX]{x1D714}_{pi}^{2}/4$ , and, more importantly, equation (2.1) is solved in an asymptotic expansion in $\unicode[STIX]{x1D714}_{pi}^{2}/4\unicode[STIX]{x1D714}_{A}^{2}\ll 1$ . Explicitly, we have
which, for a given $\unicode[STIX]{x1D6FD}_{i}$ , determines the range of wavelength for which the $\unicode[STIX]{x1D714}-\unicode[STIX]{x1D714}_{pi}\ll \unicode[STIX]{x1D714}_{A}$ analysis of (2.1) is valid
We consider this limit to apply and proceed order by order.
Then, to order $z^{\unicode[STIX]{x1D6FC}+2}$ , one obtains
and $g_{0}=1$ . To order $z^{\unicode[STIX]{x1D6FC}+1}$ , we have
A constant of integration is chosen so that $\int _{\unicode[STIX]{x1D6E4}}\text{d}\unicode[STIX]{x1D703}\text{d}g_{1}/\text{d}\unicode[STIX]{x1D703}=0$ . Then
where each term is of the form of those of equation (43) of Connor et al. (Reference Connor, Hastie and Taylor1979).
To order $z^{\unicode[STIX]{x1D6FC}}$ , after integrating in $\int _{\unicode[STIX]{x1D6E4}}\,\text{d}\unicode[STIX]{x1D703}$ , we obtain
and, again, each term of this equation resembles those of equation (44) of Connor et al. (Reference Connor, Hastie and Taylor1979). After using (2.14), one gets the indicial equation $\unicode[STIX]{x1D6FC}(\unicode[STIX]{x1D6FC}+1)+{\mathcal{D}}=0$ , with
This implies that ${\mathcal{D}}=\mathit{O}(1)$ for
which is the condition that determines the ordering of the global shear for which the asymptotic form (2.9) is acceptable. The Mercier criterion that can be used for comparisons with flux-tube gyrokinetics in a stellarator, when conditions (2.11) and (2.17) apply, is then
for stability, where ${\mathcal{D}}$ is defined by (2.16). This result is not new, as each term of (2.14) and (2.15) can be identified with the respective terms in equations (43) and (44) of Connor et al. (Reference Connor, Hastie and Taylor1979), where different coordinates were used. In the absence of an equilibrium parallel current, it is a limiting condition on the gradient of the plasma $\unicode[STIX]{x1D6FD}$ plus a correction due to the covariant component of the equilibrium magnetic field. The usefulness of our result resides in its possible application to gyrokinetic numerical studies, which is now viable since we expressed the stability parameter ${\mathcal{D}}$ in terms of modified Boozer coordinates that commonly interface stellarator equilibria codes and gyrokinetic codes (Xanthopoulos et al. Reference Xanthopoulos, Cooper, Jenko, Turkin, Runov and Geiger2009). As a final remark, we notice the relation of our result, derived in modified Boozer coordinates, and the common concept of ‘magnetic well’. Since the plasma volume enclosed in a magnetic surface is $V(s)=\int _{0}^{s}\,\text{d}s\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D703}\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D701}\sqrt{g_{N}}$ , we have $\text{d}^{2}V/\text{d}s^{2}=\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D703}\int _{0}^{2\unicode[STIX]{x03C0}}\,\text{d}\unicode[STIX]{x1D701}\unicode[STIX]{x2202}_{s}\sqrt{g_{N}}$ . Had we expressed the curvature drive in (2.6) in terms of equilibrium poloidal and toroidal current fluxes, we would have been left with the non-secular component of the magnetic drift, $(\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D714}_{p})_{NS}$ , proportional to
where, indeed, $J$ and $I$ are the toroidal and poloidal current fluxes and $\unicode[STIX]{x1D6F7}$ and $\unicode[STIX]{x1D6F9}$ are the toroidal and poloidal magnetic fluxes. This expression would replace the non-secular term at the second line of (2.8), and would result in an explicit dependence on $\text{d}^{2}V/\text{d}s^{2}$ for the Mercier index in (2.16). For negative pressure gradients, a positive $\text{d}^{2}V/\text{d}s^{2}$ then adds to the drive of pressure-driven instabilities, making them more unstable. Similarly, a negative $\text{d}^{2}V/\text{d}s^{2}$ has a stabilising effect (Johnson & Greene Reference Johnson and Greene1967). In the first case, the magnetic configuration is said to possess a ‘magnetic hill’, while is the second case it has a ‘magnetic well’. Even if this nomenclature is somewhat intuitive, our expression seems more conclusive for what concerns the positive–definiteness of the driving terms (the radial derivatives at the first line of (2.16)): $\sqrt{g_{N}}(2P^{\prime }(s)+\unicode[STIX]{x2202}_{s}B^{2})/B^{2}$ . From this it is evident that a minimisation of the volume-averaged $B^{2}$ is beneficial. The same conclusion was drawn by Boozer (Reference Boozer1981) (see discussion after (29)). We conclude this section by noticing that our expression for the Mercier index ${\mathcal{D}}$ in (2.16) agrees with equation (85) of Cooper (Reference Cooper1992), only if the global shear is ordered to be as small as the equilibrium plasma pressure gradient. It is easy to see that this is imposed by the smallness of the global shear. The reason why the global shear has to be small, in our multiple scale asymptotic analysis of the ballooning equation, is explained well in the Introduction of § II of Connor et al. (Reference Connor, Tang and Allen1984). While the ballooning equation used to derive the Mercier index of Cooper (Reference Cooper1992) does not agree with our starting point (however, see also the alternative improved version of Cooper, Singleton & Dewar (Reference Cooper, Singleton and Dewar1996)), its application to ideal marginal stability is valid and agrees with our result.
3 Surface-global diamagnetism
Equation (2.8) implies that, in a local flux tube, a necessary condition for instability is $\text{Re}[\unicode[STIX]{x1D714}]=\unicode[STIX]{x1D714}_{pi}/2$ . This can be seen by multiplying the equation by the complex conjugate eigenfunction $\unicode[STIX]{x1D713}^{\ast }$ and integrating by parts along the fieldline. The result is a second-order algebraic equation for the eigenvalue, $\unicode[STIX]{x1D714}$ , whose imaginary part is not zero only if, indeed, $\text{Re}[\unicode[STIX]{x1D714}]=\unicode[STIX]{x1D714}_{pi}/2$ . We now see how this changes in a surface-global setting. The Laplacian in curvilinear coordinates of (2.2) is more tractable if the metric elements are slowly varying in $x^{2}:\unicode[STIX]{x2202}_{x^{2}}\ln g_{ss}\sim \unicode[STIX]{x2202}_{x^{2}}\ln g_{s\unicode[STIX]{x1D703}}\sim \unicode[STIX]{x2202}_{x^{2}}\ln g^{ss}\ll \unicode[STIX]{x2202}_{x^{2}}\ln \unicode[STIX]{x1D713}$ , then (2.1) becomes
where $\unicode[STIX]{x1D6FA}=\unicode[STIX]{x1D6FA}_{r}+\text{i}\unicode[STIX]{x1D6FA}_{i}\equiv \unicode[STIX]{x2202}_{x^{2}}^{2}\unicode[STIX]{x1D713}$ and the magnetic drift is formally split into an axisymmetric, $K_{A}$ , and a non-axisymmetric component $K_{h}$ , where $\unicode[STIX]{x1D716}_{h}$ is a constant. If we multiply by $\unicode[STIX]{x1D6FA}^{\ast }$ , and integrate in $\text{d}\unicode[STIX]{x1D703}$ , we obtain a quadratic equation for $\unicode[STIX]{x1D714}$ :
with
and
In the strongly driven case, $\unicode[STIX]{x1D706}\gg |\unicode[STIX]{x1D701}|\unicode[STIX]{x1D714}_{pi}^{(0)}$ , the ideal MHD growth rate and a small real correction are found
The real correction to the ideal MHD growth rate is the frequency $\unicode[STIX]{x1D714}_{pi}^{(0)}/2$ times a surface-global factor. The result is then
Let us now consider a trial function which is a rotation by an angle $k_{2}x^{2}$ of a function $\hat{\unicode[STIX]{x1D6FA}}(\unicode[STIX]{x1D703})$ defined on a flux tube
Equation (3.6)) then reduces to the local result
A less trivial fieldline-label dependence of the eigenfunction generates an effective surface-global diamagnetic frequency. Let us consider, for instance, a system with helical symmetry, thus
The contribution to the surface-global real frequency of each helical harmonic $M$ is proportional to
thus
and the marginal frequency is affected by the number of poloidal turns it takes the helix to close onto itself.
We conclude that, in a surface-global setting, for large pressure gradients, the real frequency of unstable KBMs (as described by diamagnetic MHD, equation (2.1)) can differ from the value $\unicode[STIX]{x1D714}_{pi}/2$ for purely geometrical reasons.
4 Lattice-drift model for KBMs
A further geometric effect that we expect to observe is associated with the $x^{2}$ -dependence of the strength of the curvature drive, the term that multiplies $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}$ in (2.1). In (3.1), this term was formally separated into an axisymmetric and a non-axisymmetric part: $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}\propto K_{AS}(\unicode[STIX]{x1D703})+\unicode[STIX]{x1D716}_{h}K_{h}(\unicode[STIX]{x1D703},x^{2})$ . The effect of the $x^{2}$ dependence in $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}$ has been investigated for the case of the ion-temperature-gradient mode. In the work of Zocco et al. (Reference Zocco, Plunk, Xanthopoulos and Helander2016), the authors performed an asymptotic expansion in $\unicode[STIX]{x1D716}_{h}\ll 1$ . For finite $\unicode[STIX]{x1D716}_{h}$ , the authors introduced a discrete Fourier expansion of the ion-temperature-gradient driven (ITG) eigenvalue equation (Zocco, Xanthopoulos & Helander Reference Zocco, Xanthopoulos and Helander2018). The non-axisymmetric term $\unicode[STIX]{x1D716}_{h}K_{h}(\unicode[STIX]{x1D703},x^{2})$ then generates a side-band coupling of the Fourier component of the eigenfunction. The eigenvalue equation is written in a matrix form, and a surface-global eigenvalue equation is given by setting to zero the determinant of the matrix, which strikingly resembles the equation of state of quantum electrons in a periodic crystal. The same approach is now possible for KBMs, however there is now a complication owing to the second-order derivative on the left-hand side of (2.1), which was neglected in the aforementioned ITG studies. In practice, we need to introduce an explicit form for $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}$ is (2.1), expand the eigenfunction using as a basis the functions used to construct $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}$ and study a system of coupled ballooning equations, rather than one ballooning equation, which is sufficient in the axisymmetric case, since $\unicode[STIX]{x1D714}_{\unicode[STIX]{x1D705}}$ is a function of $\unicode[STIX]{x1D703}$ only. The careful reader might recognise that such approach is similar to the flux-tube-bundle model introduced by Sugama et al. (Reference Sugama, Watanabe, Nunami, Satake, Matsuoka and Tanaka2012) and used numerically by Nunami, Watanabe & Sugama (Reference Nunami, Watanabe and Sugama2010). Thus, we proceed by neglecting the complications related to the $x^{2}$ dependence of the left-hand side of (2.1), and start with (3.1). We assume $B^{2}\approx B_{a}^{2}$ and take $\sqrt{g_{B}}=\text{const.}$ We add a small helical correction to the driving term found in concentric circular geometry
where $L_{B}$ is some effective average radius of curvature. The system is artificial but useful to build up some intuition to be used in the interpretation of either surface-global or flux-bundle numerical simulations. If we use $k_{2}\rightarrow -\text{i}\unicode[STIX]{x2202}_{x^{2}}$ , $\unicode[STIX]{x1D713}=\sum _{m}\unicode[STIX]{x1D713}_{m}\exp [2\unicode[STIX]{x03C0}x^{2}/a]$ , equation (3.1) becomes
where $\hat{\unicode[STIX]{x1D714}}=\unicode[STIX]{x1D714}/(v_{\text{thi}}/\ell _{c})$ , $\ell _{c}$ is a connection length and $L_{B}$ an effective radius of curvature. The first two lines of (4.2) are simply the Fourier series expansion of the axisymmetric equation studied by Aleynikova & Zocco (Reference Aleynikova and Zocco2017). Non-axisymmetry is induced by the helical term. Let us consider a given $m_{0}\sim \unicode[STIX]{x1D70C}_{\ast }^{-1}\gg 1$ , $m=m_{0}-\unicode[STIX]{x0394}m$ and $\hat{\unicode[STIX]{x1D714}}=\hat{\unicode[STIX]{x1D714}}_{0}+\text{i}\hat{\unicode[STIX]{x1D6FE}}_{0}+\unicode[STIX]{x1D6FF}\hat{\unicode[STIX]{x1D714}}\equiv \bar{\unicode[STIX]{x1D714}}+\unicode[STIX]{x1D6FF}\hat{\unicode[STIX]{x1D714}}$ , where
with $\hat{\unicode[STIX]{x1D714}}_{0}=(\ell _{c}/4L_{n})m_{0}\unicode[STIX]{x1D70C}_{\ast }(1+\unicode[STIX]{x1D702}_{i})$ and $\hat{\unicode[STIX]{x1D6FE}}_{0}=\text{Im}[\bar{\unicode[STIX]{x1D714}}]$ , where $\bar{\unicode[STIX]{x1D714}}$ is the solution of the quadratic equation for the axisymmetric problem $\bar{\unicode[STIX]{x1D714}}(\bar{\unicode[STIX]{x1D714}}-\unicode[STIX]{x1D714}_{pi})+\tilde{\unicode[STIX]{x1D706}}^{2}=0$ , and
Notice that in the subsidiary $\unicode[STIX]{x1D70C}_{\ast }m_{0}\ll 1$ limit, the mode is purely growing and $\unicode[STIX]{x1D713}_{m}$ is real. We now consider this limit. After using the finite-difference formula for the $m$ -space derivatives, the imaginary part of the first-order correction reads
which is finite for $\unicode[STIX]{x1D70C}_{\ast }m_{0}\ll 1$ , and always negative if $\unicode[STIX]{x1D713}_{m}$ has a maximum in $m_{0}$ . This result proves that the helical correction to the axisymmetric ballooning mode is stabilising. Perhaps, the most important feature of (4.5) is that stabilisation occurs for any value of $q$ , while the Mercier condition for stability, for concentric circular cross-sections, shows a strong dependence on $q$ (Glasser, Green & Johnson Reference Glasser, Green and Johnson1976; Porcelli & Rosenbluth Reference Porcelli and Rosenbluth1998)
Equation (4.5) then implies that a system can be ballooning unstable according to the Mercier criterion, but the surface-global effect could mitigate the instability.
5 Summary and discussion
In this article we studied several new aspects of kinetic ballooning modes in magnetically confined toroidal plasmas that stem from purely geometric properties of the confining magnetic field. This was done for large equilibrium plasma pressure gradients since, in this limit, analytical progress can be made. The surface-global formulation of the problem was presented. Here, physical quantities are kept radially local but variations in the fieldline-label coordinate are allowed for both equilibrium and perturbed fields. A novel form of the Mercier stability criterion, useful for quantitative comparison with stellarator flux-tube gyrokinetic codes was given. The use of modified Boozer coordinates led us to the conclusion that a minimisation of the average of the magnetic field magnitude square is beneficial for stability. We explain the relation between this result and the stabilising effect of magnetic wells on equilibrium configurations. For surface-global systems, we derived the general form equivalent to the necessary condition for instability of KBMs which constrains the frequency of the mode. It is found that purely geometric effects can result in mode frequencies that differ from the tokamak result $\text{Re}[\unicode[STIX]{x1D714}]=\unicode[STIX]{x1D714}_{pi}/2$ , where $\unicode[STIX]{x1D714}_{pi}$ is the total diamagnetic frequency of the ions. Finally, the effect of the coupling of several flux tubes covering a flux surface has been studied. This coupling has a stabilising effect on the local most unstable mode, and can lead to a possible violation of the Mercier criterion.
Acknowledgements
We thank P. Helander, J. Nührenberg, J. Connor, H. Sugama, M. Nunami and M. Nakata, for their comments on different aspects of this work. Part of this work was motivated by discussions with M. Romanelli in the framework of the ITPA for transport and confinement, and was carried out under the auspices of EUROfusion for the JET task T17-05 D3 ‘Gyrokinetic simulation in the pedestal (global effects)’ and was completed during a visit at the National Institute for Fusion Science, Toki, Gifu, Japan. We thank F. Zonca and A. Mishchenko for their comments on the work on kinetic ballooning mode theory presented by K.A. at the 17th European Fusion Theory Conference, Athens, October 2017.