Following Greene et al. [Phys. Fluids 14, 671 (1971)] and Connor et al. [Phys. Plasmas 31, 577 (1988); Plasma Phys. Control. Fusion 34, 161 (1992); and Nucl. Fusion 33, 1533 (1993)], the Grad-Shafranov equation for an axisymmetric tokamak plasma equilibrium is solved via an expansion in the, supposedly small, inverse aspect-ratio of the plasma, ϵ. The displacements of equilibrium magnetic flux-surfaces due to plasma shaping are assumed to be O(ϵ) smaller than the minor radii of the surfaces, but no other restriction is placed on the nature of the shaping. The solution of the Grad-Shafranov equation is matched to a vacuum solution that extends to infinity, and consists of an expansion in toroidal functions. The external poloidal magnetic field generated by a finite set of discrete external poloidal magnetic field-coils is calculated, and incorporated into the toroidal function expansion. In this manner, the shape of a large aspect-ratio tokamak plasma is directly related to the currents flowing in the external poloidal field-coils. Finally, a pedestal in the plasma pressure, and the associated spike in the bootstrap current, are incorporated into the model.

In a celebrated paper, published in 1971, Greene, Johnson, and Weimer (GJW) developed a theory of axisymmetric tokamak equilibria that is based on an expansion of the Grad–Shafranov equation (see Sec. II D) in the inverse aspect-ratio of the plasma (i.e., the ratio of the minor to the major radius of the plasma torus).1 In addition, GJW demonstrated how to match the plasma magnetic field to a curl-free magnetic field, in the vacuum region exterior to the plasma, by distinguishing between the field generated in the vacuum region by currents flowing within the plasma and the field generated by external magnetic field-coils.

GJW assumed that the horizontal (Shafranov) shift2 of the plasma magnetic flux-surfaces is O(ϵ) smaller than the minor radius, where ϵ1 is the inverse aspect-ratio. Furthermore, GJW assumed that the ellipticity of the flux-surfaces is O(ϵ) smaller than the horizontal shift. This latter assumption was reasonable for the tokamak plasmas, characterized by almost circular boundaries in the poloidal plane, that were prevalent in the 1960s and 1970s. Nowadays, however, tokamak plasmas are highly elongated and strongly shaped in the poloidal plane.3 Starting in 1985, in a series of papers, Connor et al. (CHA) generalized the GJW analysis to allow for flux-surface elongation and triangularity that is of the same order of magnitude as the horizontal shift.4–7 However, CHA did not perform the vacuum matching procedure. Moreover, CHA assumed that the plasma is up-down symmetric. Nowadays, however, tokamak plasmas tend to have a lower magnetic null on the plasma boundary that render them significantly up-down asymmetric.3 Tokamak plasmas also generally feature a pedestal in the plasma pressure, close to the plasma boundary, with an associated spike in the parallel current density due to the bootstrap current.3 

The aim of this paper is to generalize the analysis of GJW and CHA so as to allow for strong magnetic flux-surface shaping of a general nature, lack of up-down symmetry, and the presence of a pedestal in the plasma pressure profile. Furthermore, we wish to perform the matching to the vacuum solution, with the eventual aim of directly relating the shape of the plasma to currents flowing in a set of discrete external poloidal magnetic field-coils.

Despite the widespread availability of fast numerical solvers for the Grad–Shafranov equation,8,9 analytic model equilibria are still widely used by fusion scientists,10–12 particularly in preliminary design studies. Most of these model equilibria are extensions of the model equilibria first discovered by Solov'ev in the 1960s.10 Solov'ev-type equilibria have the property that the plasma current profile extends all the way to the plasma boundary, necessitating a large discontinuous jump in the current density across the plasma/vacuum interface. Such a jump has a highly destabilizing influence on ideal external-kink modes,13 which generally means that Solov'ev-type equilibria are unsuitable for free-boundary plasma stability calculations. On the other hand, the aspect-ratio expanded model equilibria of GJW and CHA allow the plasma current density to go to zero at the plasma boundary, eliminating the need for a discontinuous jump in the plasma current density across the plasma/vacuum interface. Hence, such equilibria are quite suitable for free-boundary plasma stability calculations.

Conventional numerical solvers for the Grad–Shafranov equation, such as HELENA and CHEASE,8,9 only calculate the solution inside the plasma boundary, and, hence, do not provide the vacuum solution outside the boundary. Reference 14 demonstrates how a vacuum solution can be added to a Solov'ev solution by means of a Green's function. Moreover, Ref. 15 shows how this vacuum solution can be related to currents flowing in a finite set of discrete poloidal magnetic field-coils surrounding the plasma. Such a vacuum solution can easily be added to a HELENA or a CHEASE solution using similar techniques. Unfortunately, the numerical implementation of a general Green's function solution is extremely time consuming. One of the main advantages of the GJW and CHA model equilibria is that most of the hard work entailed in the calculation of the vacuum solution can be performed by means of analysis, so that the numerical implementation of the solution can be carried out very rapidly.

This paper is organized as follows: In Sec. II, we discuss the equilibrium solution inside the plasma. In Sec. III, we match the plasma solution to a generic vacuum solution outside the plasma. In Sec. IV, we match the plasma solution to the vacuum solution generated by a set of discrete external poloidal magnetic field-coils. Pedestal physics is discussed in Sec. V. In Sec. VI, we describe some example calculations. (Note that, given the great efficiency of the analytic expansion method described in this paper, all of these calculations can be performed in a fraction of a second on an ordinary laptop computer.) Finally, the paper is summarized, and conclusions are drawn, in Sec. VII.

Consider a tokamak plasma confined on a set of nested, axisymmetric, magnetic flux-surfaces. Let R, ϕ, Z be right-handed cylindrical coordinates whose symmetry axis corresponds to the common symmetry axis of the flux-surfaces. Let us define right-handed flux-coordinates, r, θ, ϕ, where r(R, Z) is a magnetic flux-surface label with the dimensions of length, and θ(R,Z) a poloidal angle. Let4,5,7
(1)
be the Jacobian of the flux-coordinate system. Here, (R0,0) are the (R, Z) coordinates of the magnetic axis of the nested magnetic flux-surfaces. The axis corresponds to r = 0 in the flux-coordinate system. Note that |ϕ|=R1.
The divergence-free equilibrium magnetic field is written1 
(2)
where f(r) and g(r) are free (dimensionless) flux-surface functions, and B0 is the toroidal magnetic field-strength at the magnetic axis.
It is helpful to define the toroidal magnetic flux (divided by 2π) contained within the magnetic flux-surface whose label is r,
(3)
and the corresponding poloidal magnetic flux (divided by 2π),
(4)
The safety-factor of the flux-surface (which is the inverse of the rotational transform),16 
(5)
is directly related to these two fluxes.
It follows from Eqs. (1), (2), and (5) that
(6)
which implies that
(7)
Consequently, if the equilibrium magnetic field-lines within a given magnetic flux-surface are plotted in the θ- ϕ plane then they appear as parallel straight lines whose pitch is determined by the surface's safety-factor (or rotational transform).
It is also helpful to define the toroidal plasma current flowing within the flux-surface whose label is r,
(8)
and the corresponding poloidal plasma current,
(9)
Here, j is the equilibrium plasma current density. Moreover, X(r)X(r,θ)dθ/2π. Note that g(0)=1, by convention, so as to ensure that B0 is indeed the toroidal magnetic field-strength on the magnetic axis.
The loci of the equilibrium magnetic flux-surfaces are written in the parametric form1,4–7
(10)
(11)
Here, H1(r) controls the relative horizontal locations of the flux-surface centroids, respectively, H2(r) and V2(r) control the up-down symmetric and asymmetric flux-surface ellipticities, respectively, and H3(r) V3(r) control the up-down symmetric and asymmetric flux-surface triangularities, respectively, etc., whereas L(r) is a relabeling parameter. Moreover, ω(R,Z) is a poloidal angle that is distinct from θ.
Let
(12)
be the Jacobian of the r, ω coordinate system. We can transform to the r, θ coordinate system by writing
(13)
(14)
This transformation ensures that
(15)
and, hence, that
(16)
in accordance with Eq. (1).
Equilibrium force balance within the plasma, and the surrounding vacuum, is governed by the Grad–Shafranov equation,1,4–7
(17)
where p(r) is the equilibrium plasma pressure. Note that we can easily extend the Grad–Shafranov equation to include the centrifugal effect of plasma flows on the equilibrium.17,18 We choose not to do this in the present calculation because such effects are generally negligible in a reactor-sized tokamak.
Let r = a correspond to the plasma/vacuum boundary, and let
(18)
be the inverse-aspect ratio of the plasma. It is assumed that ϵ1. Furthermore, let R=R0R̂,Z=R0Ẑ,r=ar̂,=a1̂, Hn=ϵaĤn,Vn=ϵaV̂n, and L=ϵ2aL̂. The parametric equations of the flux-surfaces, (10) and (11), become6,7
(19)
(20)
It is assumed that, other than ϵ, all quantities appearing in the previous two expressions are O(1).
We can determine the metric elements of the flux-coordinate system by combining the previous two equations with Eqs. (13) and (14). Evaluating the elements up to O(ϵ), but retaining O(ϵ2) contributions to terms that are independent of ω, we obtain,6,7
(21)
(22)
(23)
(24)
(25)
Here, d/dr̂, and n is a non-negative integer.
Let us write
(26)
(27)
(28)
where f1, f3, g2, g4, p2, and p4 are all O(1). It follows from Eq. (5) that, to lowest order in our expansion, the safety-factor profile is given by
(29)
whereas, to second order, the profile takes the modified form
(30)
Expanding the Grad–Shafranov equation, (17), order by order in the small parameter ϵ, making use of Eqs. (23)–(25), we obtain1,4–6
(31)
(32)
(33)
(34)
(35)
where
(36)
Note that the relative horizontal shift of magnetic flux-surfaces, Ĥ1, otherwise known as the Shafranov shift,2 is driven by toroidicity [the second term on the right-hand side of Eq. (32)], and plasma pressure gradients (the third term). All of the other shaping terms (i.e., the Ĥn for n > 1, and the V̂n for n > 1) are driven by currents flowing in external magnetic field-coils.

In the present study, it is convenient to set g4=p4=0. However, other choices are possible.

Let us regard f1(r̂) and p2(r̂) as the two free flux-surface functions that determine the equilibrium. In the plasma interior, which corresponds to 0r̂1, Eq. (31) yields
(37)
At small r̂, assuming that f1(r̂)=f1cr̂2 and p2(r̂)=p2c+(1/2)p2cr̂2, where f1c,p2c,p2c are constants that can be determined from the given f1(r̂) and p2(r̂) functions, we deduce that g2(r̂)=(f1c2+p2c/2)r̂2. Note that we have set g2=0 at r̂=0 in order to ensure that B0 is indeed the toroidal magnetic field-strength on the magnetic axis. Equation (32) must be solved subject to the boundary conditions that
(38)
at small r̂. Likewise, Eqs. (33) and (34) must be solved subject to the small- r̂ boundary conditions that
(39)
(40)
Here, Ĥnc and V̂nc are arbitrary constants. It turns out that the only solution of Eq. (34) for n = 1 that does not blow up at r̂=0 is the trivial solution V̂1(r̂)=V̂1c. However, we wish to set Ĥ1=V̂1=0 at r̂=0, in order to ensure that r̂=0 is indeed the magnetic axis. Hence, we are forced to conclude that V̂1(r̂)=0, which accounts for the absence of this term in our analysis. Once we have determined g2(r̂), as well as the Ĥn(r̂) and the V̂n(r̂) functions, we can integrate Eq. (35) to give
(41)
Note that f3(r̂)=f1c(Ĥ2c2+V̂2c2)r̂2 at small r̂. Furthermore, we have conveniently set f̂3=0 at r̂=0, which ensures that q(0)=[1+ϵ2(Ĥ2c2+V̂2c2)]/f1c.
We expect
(42)
in the vacuum region immediately surrounding the plasma, which corresponds to 1<r̂ϵ1. We also expect this so-called near-vacuum region to be current-free, which implies that It(r̂)=It(1) and Ip(r̂)=Ip(1) for r̂>1. It follows from Eq. (9) that
(43)
in the near-vacuum region, where g2a=g2(1) is a constant determined from Eq. (37). Likewise, Eq. (8) requires that
(44)
in the region r̂>1. Making use of the orderings introduced in Sec. II G, we deduce that
(45)
to lowest order, where f1a=f1(1) is a constant that can be determined from the given f1(r̂) profile, and
(46)
to next order. Here,
(47)
is the component of |̂r̂|2 that is second order in ϵ. [See Eq. (23).]
The toroidal and poloidal current profiles in the plasma can be written It(r)=ϵ2(B0R0/μ0)Ît(r̂) and Ip(r)=ϵ2(B0R0/μ0)Îp(r̂), respectively. It follows from Eqs. (8) and (9) that the total normalized toroidal and poloidal plasma currents flowing in the plasma are
(48)
(49)
respectively.
In this paper, we shall assume that the equilibrium plasma current density is continuous across the plasma/vacuum interface, as is generally the case in a realistic tokamak plasma (assuming that the plasma current profile has been given sufficient time to diffuse across the plasma). Given that the current density is zero in the vacuum region, it follows that the current density must be zero just inside the plasma boundary. In other words, we require that Ît(1)=Îp(1)=0. Thus, making use of Eqs. (8) and (9), we deduce that g2(1)=0,
(50)
and also that Eq. (46) must be satisfied at r̂=1. Finally, Eq. (31) yields
(51)
Note that Eq. (31) is automatically satisfied in the near-vacuum region. Equations (32)–(34), combined with Eq. (42) and (45), yield
(52)
(53)
(54)
which can be solved to give1 
(55)
(56)
(57)
in the near-vacuum region. Here,
(58)
(59)
(60)
(61)
Moreover, Ĥna=Ĥn(1),Ĥna=Ĥn(1),V̂na=V̂n(1), and V̂na=V̂n(1) are constants determined from the solutions of Eqs. (32)–(34) in the plasma interior, subject to the boundary conditions (38)–(40). It follows from Eqs. (35), (36), (42), and (45) that
(62)
However, Eqs. (46)–(47) and (52)–(54) can be combined to give exactly the same relation, which confirms that zero toroidal current flows in the near-vacuum region, and also that the toroidal current density is zero at the plasma boundary. Equations (55)–(57) and (62) can be integrated to give
(63)
in the near-vacuum region. Here, f3a=f3(1) is a constant determined from Eq. (41).
Let Ψp(r)=ϵ2B0R02Ψ̂p(r̂). It follows from Eqs. (4), (26), (45), and (63) that
(64)
in the near-vacuum region, where
(65)
(66)
Here, C1 and C3 are arbitrary constants.

The r, θ, ϕ coordinate system becomes singular in the vacuum region at large r̂ [i.e., r̂O(ϵ1)]. Thus, in order to find a global vacuum solution, we need to match our previous near-vacuum solution to a vacuum solution calculated using a coordinate system that is nonsingular throughout the vacuum region.

An appropriate choice of a nonsingular vacuum coordinates is orthogonal toroidal coordinates,1,7 μ, η, ϕ, which are defined such that19 
(67)
(68)
Here, μ(R̂,Ẑ)0 corresponds to either R̂0 or (R̂2+Ẑ2)1/2 (i.e., an approach to the toroidal symmetry axis or to infinity), whereas μ(R̂,Ẑ) corresponds to (R̂,Ẑ)(1,0) (i.e., an approach to the magnetic axis). Furthermore, η(R̂,Ẑ) is an angular variable in the poloidal plane.
According to Eqs. (2), (4), (27), and (43), the equilibrium magnetic field in the vacuum region can be written
(69)
where Ia=B0B0(1+ϵ2g2a) is a constant. It follows that
(70)
Hence, the condition that must be satisfied in order to ensure that no current flows in the vacuum is ·(Ψp/R2)=0, which implies that
(71)
When expressed in the toroidal coordinate system, the previous equation yields1,
(72)
If we write
(73)
where n is an integer (as must be the case to render the normalized poloidal magnetic flux, Ψ̂p, single-valued in η), then we obtain
(74)
where z=coshμ. The previous equation can be recognized as an associated Legendre function of degree n1/2 and order 1.20 The independent solutions of this equation are the so-called toroidal functions Pn1/21(z) and Qn1/21(z).21 Note that Pn1/21(z) is well behaved in the limit z1, whereas Qn1/21(z) is badly behaved. Conversely, Pn1/21(z) is badly behaved in the limit z, whereas Qn1/21(z) is well behaved.
According to the previous analysis, the most general expression for the normalized poloidal magnetic flux in the vacuum region is1 
(75)
where n is a non-negative integer. Here, the pcn,qcn,psn, and qsn are arbitrary coefficients. Moreover, it is clear from the asymptotic behaviors of the Pn1/21(z) and the Qn1/21(z) functions that the terms in the previous series that involve the pcn and psn represent the magnetic field generated in the vacuum region by currents flowing in the plasma, whereas the terms involving the qcn and qsn represent the magnetic field generated in the vacuum region by currents flowing in external magnetic field-coils. We now need to match expression (75) to expression (64). Note that the latter expression is only valid in the near-vacuum region, 1r̂ϵa1, whereas the former expression is valid throughout the whole vacuum region.
In the immediate vicinity of the plasma boundary, Eqs. (19), (20), (21), (67), and (68) can be combined to give
(76)
where
(77)
Furthermore,
(78)
where
(79)
Note that r̂O(1) in the near-vacuum region, which implies that z1.
In the limit z1, the toroidal functions Pn1/21(z) and Qn1/21(z) have the following asymptotic behaviors:22,23
(80)
(81)
(82)
(83)
Note that there is a factor 1 difference between the definition of the Pn1/21(z) used in this paper and that employed in Ref. 22. Moreover, Γ(z) is a Gamma function.24 
Let
(84)
(85)
(86)
(87)
(88)
(89)
Here, the p̂cn,p̂sn,q̂cn, and q̂sn coefficients are assumed to be O(1).
It follows from Eqs. (75), (78), and (80)–(89) that
(90)
in the near-vacuum region.
Making use of Eq. (79), the most general expression for the normalized poloidal magnetic flux in the near-vacuum region becomes
(91)
where
(92)
(93)
(94)
(95)
(96)
Here, we have written
(97)
(98)
where p̂c00,p̂c02,q̂c00, and q̂c02 are all O(1). Note that we have evaluated Ψ̂p(r̂,η) up to O(ϵ), and retained O(ϵ2) contributions to those terms that are independent of η.

We now have two expressions for the poloidal magnetic flux in the near-vacuum region. The first, (64), is the extension of the Grad–Shafranov solution inside the plasma into the near-vacuum region. The second, (91), is the near-vacuum limit of the general vacuum solution (75). We require these two solutions to be identically equal to one another throughout the whole of the near-vacuum region. At first sight, it might seem that the problem is over-determined,25 because there are far more distinct functional forms that require matching than there are free parameters in the problem. Fortunately, as described in GJW, if the matching is performed in systematic manner then exact matching is achieved, showing that the apparent over-determined nature of the problem is illusory. In fact, the achievement of exact matching is a very powerful internal self-consistency check on the whole calculation, because any algebraic error in the various terms that makeup the two solutions would lead to residual unmatched terms.

We must now match expression (91) to expression (64), assuming that the Ĥn(r̂) and V̂n(r̂) functions takes the forms specified in Eqs. (55)–(57) in the near-vacuum region.

To zeroth order in ϵ, the matching yields
(99)
Separately equating the coefficients of lnr̂ and r̂0, we obtain1 
(100)
(101)
To first order in ϵ, matching the coefficients of cosη yields
(102)
Separately equating the coefficients of r̂1 and r̂1, we obtain1 
(103)
(104)
To first order in ϵ, matching the coefficients of cos(nη), where n > 1, yields
(105)
Separately equating the coefficients of r̂n and r̂n, we obtain
(106)
(107)
To first order in ϵ, matching the coefficients of sinη yields
(108)
where we have made use of the fact that V̂1=0. Separately equating the coefficients of r̂1 and r̂, we obtain
(109)
(110)
To first order in ϵ, matching the coefficients of sin(nη), where n > 1, yields
(111)
Separately equating the coefficients of r̂n and r̂n, we obtain
(112)
(113)
Finally, to second order in ϵ, the matching yields
(114)
where
(115)
(116)
Note that many terms proportional to r̂2ln2r̂ and r̂2lnr̂ and r̂2n and r̂2n have canceled one another in expression (114) on the basis of the previous matching (see Sec. III F). Separately equating the coefficients of lnr̂ and r̂0, we obtain
(117)
(118)
It is convenient to set the value of the arbitrary constant C3 so as to ensure that q̂c02=0, which implies that
(119)
(120)
where
(121)
We have now completed the matching process.
Let
(122)
(123)
where ρ(R,Z) measures radial distance from the magnetic axis, and Ω(R,Z) is a geometric poloidal angle that is distinct from both θ and ω. Using similar analysis to that employed in Secs. III C–III E, we deduce that the normalized poloidal magnetic flux generated by the currents flowing in the external magnetic field-coils takes the form
(124)
in the immediate vicinity of the magnetic axis. If we write
(125)
(126)
then we obtain
(127)
where26 
(128)
(129)
and use has been made of the results of Sec. III G. Here, x̂ and ẑ measure horizontal and vertical distance from the magnetic axis, respectively. In particular, if Ĥna=V̂na=0 for n > 3 then expression (127) reduces to
(130)
Let Bx=B0B̂x be the magnetic field generated by the external field-coils in the immediate vicinity of the magnetic axis. It is easily seen from Eqs. (2), (4), (122), (123), (125), and (126) that
(131)
where eR=R and eZ=Z. Hence,
(132)
Here, the first term on the right-hand side of the previous equation is the vertical field that counteracts the hoop stress in the plasma torus.1,13 The second term is the higher order quadrupole correction to the vertical field. The third and the fourth terms are quadrupole magnetic fields that control the up-down symmetric and asymmetric ellipticities of the plasma equilibrium magnetic flux-surfaces, respectively. Note that these fields are mutually orthogonal. In fact, one can be transformed into the other via a rotation in the poloidal plane through 90°. Finally, the fifth and the sixth terms are sextupole magnetic fields that control the up-down symmetric and asymmetric triangularities of the equilibrium magnetic flux-surfaces, respectively. As before, the fields are mutually orthogonal, and one can be transformed into the other via a rotation in the poloidal plane through 90°.

Suppose that the set of magnetic field-coils that generate the external poloidal magnetic field, discussed in Sec. III H, that supports the plasma equilibrium are discrete and located a finite distance from the plasma.

Let us crudely model a given magnetic field-coil as made up of a number of toroidal loops, of zero cross-section in the poloidal plane, that we shall term strands. See Fig. 1. Suppose that a given strand carries a toroidal current Ix, and is located at coordinates (Rx, Zx) in the cylindrical system. The strand is located at coordinates (μx,ηx) in the toroidal system, where27 
(133)
(134)
(135)
(136)
Here, R̂x=Rx/R0 and Ẑx=Zx/R0. Obviously, the strand is assumed to lie outside the plasma.
FIG. 1.

The blue curves show the internal magnetic flux-surfaces of an axisymmetric tokamak plasma equilibrium characterized by ϵ=0.25,qc=1.0,ν=3.0,pc=0.25,μ=2.1, and Δped=0. The red curve denotes the plasma boundary, and the red dot corresponds to the magnetic axis. Here, OH is the Ohmic heating coil, and P1 through P6 are the six poloidal field-coils. Each green dot corresponds to a constituent strand (of zero poloidal cross-sectional area) of a given field-coil that carries the same toroidal current. The relative weights of the net toroidal currents flowing in OH and P1 to P6 are 0.80, 0.02, 0.01, −0.01, −0.02, 0.65, and 0.75, respectively.

FIG. 1.

The blue curves show the internal magnetic flux-surfaces of an axisymmetric tokamak plasma equilibrium characterized by ϵ=0.25,qc=1.0,ν=3.0,pc=0.25,μ=2.1, and Δped=0. The red curve denotes the plasma boundary, and the red dot corresponds to the magnetic axis. Here, OH is the Ohmic heating coil, and P1 through P6 are the six poloidal field-coils. Each green dot corresponds to a constituent strand (of zero poloidal cross-sectional area) of a given field-coil that carries the same toroidal current. The relative weights of the net toroidal currents flowing in OH and P1 to P6 are 0.80, 0.02, 0.01, −0.01, −0.02, 0.65, and 0.75, respectively.

Close modal
Combining Eq. (70) with the Ampère–Maxwell equation, we obtain
(137)
where Ψx(R,Z) is the poloidal magnetic flux generated by the strand, and
(138)
is the poloidal scale-factor for the toroidal coordinate system.27 Now,28 
(139)
Hence, if we write Ψx=ϵ2B0R02Ψ̂x and Ix=ϵ2(B0R0/μ0)Îx then we obtain
(140)
where z=coshμ.
Let
(141)
Equation (140) transforms to give
(142)
Now,29,
(143)
Let
(144)
The previous three equations yield
(145)
where
(146)
The solution of Eq. (145) that is well-behaved as z1 and z, and is continuous at z = zx, is20,21
(147)
Integration of Eq. (145) across z = zx reveals that
(148)
However,30 
(149)
which yields
(150)
The previous analysis implies that, in the region interior to the strand,
(151)
A comparison with expression (75) reveals that the contributions of the strand to the matching coefficients that characterize the external magnetic field are
(152)
(153)
Finally, making use of the normalizations (87)–(89), we obtain
(154)
(155)
(156)
Suppose, finally, that the external magnetic field-coils are made up of K strands. Let the kth strand carry the toroidal current Ik=ϵ2(B0R0/μ0)Îk and be located at z = zk and η=ηk. It follows that
(157)
(158)
(159)

We must now match our coil-generated poloidal magnetic flux to our previous plasma solution.

Given that we adjusted the value of the arbitrary constant C3 to ensure that q̂c02=0, in Sec. III G, it follows from Eq. (98) that q̂c00=q̂c0. Equations (101) and (157) yield
(160)
The previous equation implies that, adopting the convention that the poloidal magnetic flux is zero at infinity, the normalized poloidal magnetic flux at the plasma boundary (including both plasma and vacuum contributions) is
(161)
[See Eqs. (64), (116), and (121).]
Equations (157) and (159) give
(162)
It follows from Eq. (104) that
(163)
The previous equation is the condition that must be satisfied in order for the plasma to be in a state of horizontal force balance.
Equations (110) and (159) yield
(164)
The previous equation is the condition that must be satisfied in order for the plasma to be in a state of vertical force balance.
Equations (107) and (158) give
(165)
for n > 1. The previous equation determines the up-down symmetric shaping of the plasma equilibrium.
Finally, Eqs. (113) and (159) yield
(166)
for n > 1. The previous equation determines the up-down asymmetric shaping of the plasma equilibrium. We have now completed the matching process.

Tokamak plasmas possessing magnetic nulls on the plasma/vacuum interface generally operate in the so-called H-mode regime.3,31 In this regime, a transport barrier forms just inside the plasma boundary, giving rise to a narrow edge region in which the (negative) equilibrium pressure gradient is much larger than that in the plasma interior. This high-gradient region is known as the pedestal. The non-inductive bootstrap current32 is a parallel plasma current that is driven by pressure gradients.33 Hence, as a consequence of the bootstrap current, as well as the strong pressure gradients present in the pedestal, H-mode tokamak plasmas generally contain a localized spike in the equilibrium parallel plasma current in the pedestal. We wish to incorporate these features of realistic tokamak plasma equilibria into our model.

In order to incorporate the pedestal in the plasma pressure into our model, we can modify our normalized pressure profile as follows:
(167)
where
(168)
Here, Δped,δ̂ped, and r̂ped are the normalized height, width, and radius of the pedestal, respectively. Note that it is still the case that p2(1)=0, assuming that p2original(1)=0, which ensures that the poloidal current density at the plasma boundary remains zero. [See Eq. (51).] In the limit that δ̂ped1, the previous two expressions reduce to
(169)
Clearly, we have effectively introduced into the plasma pressure profile a negative step of height Δped at the pedestal radius.
The flux-surface averaged parallel plasma current density can be written,7 
(170)
To lowest order in our expansion, the previous equation yields
(171)
Now, a fairly primitive expression for the bootstrap current density is34 
(172)
To lowest order in our expansion, the previous equation gives
(173)
A comparison between Eqs. (171) and (173) reveals that we can incorporate the change in the bootstrap current profile associated with the pedestal in the plasma pressure into our model by modifying our f1(r̂) profile as follows:
(174)
Note that it is still the case that f1(1)=0, assuming that f1original(1)=0, and given that Δp2(1)=0, which ensures that the toroidal current density at the plasma boundary remains zero [See Eq. (50)].

The example calculations described in this sections are made for illustrative purpose only, and are not intended to be particularly realistic.

Our model lowest-order toroidal current and pressure profiles are35 
(175)
(176)
respectively. Here, ϵ2(B02/μ0)pc is the central plasma pressure, and qc the safety-factor on the magnetic axis. Note that the model profiles satisfy the constraints (50) and (51) provided that ν>2 and μ>2.

Our model coil set consists of a 29-strand Ohmic heating coil located within the plasma torus, plus six 5-strand poloidal field-coils arrayed around the outer side of the plasma torus. See Fig. 1. Each constituent strand of a given field-coil carries the same toroidal current.

Figure 1 shows an example axisymmetric tokamak equilibrium characterized by ϵ=0.25,qc=1.0,ν=3.0,pc=0.25,μ=2.1, and Δped=0.

The equilibrium pictured in Fig. 1 is calculated as follows. First, the total toroidal currents flowing in the Ohmic heating coil, OH, and the six poloidal field-coils, P1 to P6, are given the relative weights 0.80, 0.02, 0.01, −0.01, −0.02, 0.65, and 0.75, respectively. Next, Eq. (163) is used to determine the total toroidal current that must flow in the whole coil-set in order for the plasma to be in horizontal force balance. Next, the coil-set is shifted vertically (which is equivalent to shifting the plasma vertically) until the vertical force-balance constraint (164) is satisfied [adjusting the total toroidal current flowing in the coil-set such that Eq. (163) is always satisfied]. Finally, the shape of the plasma boundary is deduced from Eqs. (165) and (166).

In this particular example, the normalized vertical field is B̂v=0.168, the normalized total toroidal plasma current is Îta=2.11, the normalized total poloidal plasma current is Îpa=6.98×102, and the value of the safety-factor at the plasma boundary is q2(1)=4.91.

Figure 2 shows the values of the shaping functions at the plasma boundary, Ĥna and V̂na, for the example equilibrium pictured in Fig. 1. It can be seen that Ĥ1a<0, which corresponds to the usual outward horizontal shift of the plasma axis with respect to the plasma boundary. Moreover, Ĥ2a>0, which corresponds to a vertical elongation of the plasma boundary. It can be seen that the V̂na are finite, but generally much smaller in magnitude than the Ĥna, indicating a modest up-down asymmetry of the plasma (due to the slight up-down asymmetry of the currents flowing in the poloidal field-coils). Finally, it is clear that the Ĥna and the V̂na are negligible for n > 10. This implies that, despite the fairly strong flux-surface shaping evident in Fig. 1, the plasma equilibrium can be accurately described in terms of a few shaping harmonics.

FIG. 2.

Values of the shaping functions at the plasma boundary for the example tokamak plasma equilibrium shown in Fig. 1. Here, the Hna control the up-down symmetric shaping of magnetic flux-surfaces, whereas the Vna control the up-down asymmetric shaping. Moreover, n is a poloidal mode number.

FIG. 2.

Values of the shaping functions at the plasma boundary for the example tokamak plasma equilibrium shown in Fig. 1. Here, the Hna control the up-down symmetric shaping of magnetic flux-surfaces, whereas the Vna control the up-down asymmetric shaping. Moreover, n is a poloidal mode number.

Close modal

Finally, Fig. 3 shows various characteristic profiles for the example equilibrium pictured in Fig. 1. It can be seen that the corrected safety-factor profile, q2(r̂), climbs more steeply in the edge regions of the plasma than the lowest-order profile, q0(r̂). Moreover, the normalized toroidal and poloidal plasma current profiles, Ît(r̂) and Îp(r̂), respectively, have zero gradients at the plasma boundary, implying that the plasma current density is continuous across the plasma/vacuum interface.

FIG. 3.

Various characteristic profiles for the example tokamak plasma equilibrium shown in Fig. 1. Here, p2 is the normalized plasma pressure profile, g2 controls the variation of the toroidal magnetic field-strength, f1 and f3 control the variation of the poloidal magnetic field-strength, q0 and q2 are the lowest-order and corrected safety-factor profiles, respectively, and Ît and Îp are the normalized toroidal and poloidal currents, respectively, flowing within flux-surfaces. Finally, r̂ is a flux-surface label that is zero at the magnetic axis, and unity at the plasma boundary.

FIG. 3.

Various characteristic profiles for the example tokamak plasma equilibrium shown in Fig. 1. Here, p2 is the normalized plasma pressure profile, g2 controls the variation of the toroidal magnetic field-strength, f1 and f3 control the variation of the poloidal magnetic field-strength, q0 and q2 are the lowest-order and corrected safety-factor profiles, respectively, and Ît and Îp are the normalized toroidal and poloidal currents, respectively, flowing within flux-surfaces. Finally, r̂ is a flux-surface label that is zero at the magnetic axis, and unity at the plasma boundary.

Close modal

In our second example calculation, we add a pedestal characterized by Δped=0.05,δ̂ped=0.025, and r̂ped=0.95 to the plasma equilibrium shown in Fig. 1. The resulting equilibrium is illustrated in Figs. 4–6. The pedestal in the plasma pressure is clearly evident in the top left-hand panel of Fig. 6, whereas the spike in the bootstrap current can be seen in the bottom left-hand panel. Note that, as a consequence of the bootstrap current spike, the safety-factor profile becomes slightly non-monotonic in the pedestal. In this particular example, the normalized vertical field is B̂v=0.199, the normalized total toroidal plasma current is Îa=2.80, the normalized total poloidal plasma current is Îpa=2.19×102, and the value of the safety-factor at the plasma boundary is q2(1)=3.67.

FIG. 4.

Internal magnetic flux-surfaces of a axisymmetric tokamak plasma equilibrium characterized by ϵ=0.25,qc=1.0,ν=3.0,pc=0.25,μ=2.1, Δped=0.05,δ̂ped=0.025, and r̂ped=0.95. See Fig. 1 caption.

FIG. 4.

Internal magnetic flux-surfaces of a axisymmetric tokamak plasma equilibrium characterized by ϵ=0.25,qc=1.0,ν=3.0,pc=0.25,μ=2.1, Δped=0.05,δ̂ped=0.025, and r̂ped=0.95. See Fig. 1 caption.

Close modal
FIG. 5.

Values of the shaping functions at the plasma boundary for the example tokamak equilibrium shown in Fig. 4. See Fig. 2 caption.

FIG. 5.

Values of the shaping functions at the plasma boundary for the example tokamak equilibrium shown in Fig. 4. See Fig. 2 caption.

Close modal
FIG. 6.

Various characteristic profiles for the example tokamak equilibrium shown in Fig. 4. See Fig. 3 caption.

FIG. 6.

Various characteristic profiles for the example tokamak equilibrium shown in Fig. 4. See Fig. 3 caption.

Close modal

Following Greene et al. (GJW)1 and Connor et al.4–7 we have solved the Grad–Shafranov equation for an axisymmetric tokamak plasma equilibrium via an expansion in the, supposedly small, inverse aspect-ratio of the plasma, ϵ. We have assumed that the displacements of equilibrium magnetic flux-surfaces due to plasma shaping are O(ϵ) smaller than the minor radii of the surfaces, but have, otherwise, placed no restriction on the nature of the shaping. In particular, we allow for an infinite number of shaping harmonics, and also for a lack of up-down symmetry of the plasma. Following GJW, we have matched our solution of the Grad–Shafranov equation to a vacuum solution that extends to infinity, and consists of an expansion in toroidal functions. We have also calculated the external poloidal magnetic field generated by a finite set of discrete external poloidal magnetic field-coils, and incorporated that calculation into our toroidal function expansion. In this manner, we are able to directly relate the shape of a large aspect-ratio tokamak plasma to the currents flowing in the external poloidal field-coils. Finally, we have incorporated a pedestal in the plasma pressure, located in the outer regions of the plasma, and the associated spike in the bootstrap current, into our model.

The main value of our calculation lies in the fact that it can directly determine the metric elements of the plasma equilibrium via Eqs. (21)–(25). This implies that the calculation can be used as the basis for an aspect-ratio-expanded determination of the tearing mode stability of the plasma equilibrium, as described in Ref. 7, or an aspect-ratio-expanded calculation of the response of the equilibrium to an externally applied resonant magnetic perturbation (RMP), along the lines of Ref. 36. In future work, we intend to perform these calculations.

This research was directly funded by the U.S. Department of Energy, Office of Science, Office of Fusion Energy Sciences, under Contract No. DE-SC0021156. The calculations described this paper have been verified using the REDUCE computer algebra system.

The authors have no conflicts to disclose.

Richard Fitzpatrick: Conceptualization (equal); Formal analysis (equal); Investigation (equal); Writing – original draft (equal); Writing – review & editing (equal).

The digital data used in the figures in this paper can be obtained from the author upon reasonable request.

1.
J. M.
Greene
,
J. L.
Johnson
, and
K. E.
Weimer
,
Phys. Fluids
14
,
671
(
1971
).
2.
V. D.
Shafranov
,
Sov. At. Energ.
13
,
1149
(
1963
).
3.
J. A.
Wesson
and
D. J.
Campbell
,
Tokamaks
, 4th ed. (
Oxford University Press
,
Oxford, UK
,
2011
).
4.
J. W.
Connor
and
R. J.
Hastie
, “
The effect of shaped plasma cross sections on the ideal kink mode in a tokamak
,” Report No. CLM-M106 (
Culham Laboratory
,
Abingdon, UK
,
1985
).
5.
J. W.
Connor
,
S. C.
Cowley
,
R. J.
Hastie
,
T. C.
Hender
,
A.
Hood
, and
T. J.
Martin
,
Phys. Fluids
31
,
577
(
1988
).
6.
R.
Fitzpatrick
,
C. G.
Gimblett
, and
R. J.
Hastie
,
Plasma Phys. Controlled Fusion
34
,
161
(
1992
).
7.
R.
Fitzpatrick
,
R. J.
Hastie
,
T. J.
Martin
, and
C. M.
Roach
,
Nucl. Fusion
33
,
1553
(
1993
).
8.
G. T. A.
Huysmans
,
J. P.
Goedbloed
, and
W.
Kerner
,
Int. J. Mod. Phys. C
2
,
371
(
1991
).
9.
H.
Lütjens
,
A.
Bondeson
, and
O.
Sauter
,
Comput. Phys. Commun.
97
,
219
(
1996
).
10.
L. S.
Solov'ev
,
Sov. Phys. JETP
26
,
400
(
1968
).
11.
A. J.
Cerfon
and
J. P.
Freidberg
,
Phys. Plasmas
17
,
032502
(
2010
).
12.
L.
Guazzotto
and
J. P.
Freidberg
,
J. Plasma Phys.
87
,
905870305
(
2021
).
13.
J. F.
Freidberg
,
Ideal Magnetohydrodynamics
(
Plenum Press
,
New York
,
1987
).
14.
T.
Xu
and
R.
Fitzpatrick
,
Nucl. Fusion
59
,
064002
(
2019
).
15.
J.
Liu
,
P.
Zhu
, and
H.
Li
,
Phys. Plasmas
29
,
084502
(
2022
).
16.
A. H.
Boozer
,
Rev. Mod. Phys.
76
,
1071
(
2005
).
17.
R.
Iacono
,
A.
Bondeson
,
F.
Troyon
, and
R.
Gruber
,
Phys. Fluids B
2
,
1794
(
1990
).
18.
L.
Guazzotto
,
R.
Betti
,
J.
Manickam
, and
S.
Kaye
,
Phys. Plasmas
11
,
604
(
2004
).
19.
P. M.
Morse
and
H.
Feshbach
,
Methods of Theoretical Physics
(
McGraw-Hill
,
New York
,
1953
), p.
1301
.
20.
M.
Abramowitz
and
I. A.
Stegun
,
Handbook of Mathematical Functions
(
Dover
,
New York
,
1964
), p.
332
.
21.
M.
Abramowitz
and
I. A.
Stegun
,
Handbook of Mathematical Functions
(
Dover
,
New York
,
1964
), Sec. 8.11.
22.
P. M.
Morse
and
H.
Feshbach
,
Methods of Theoretical Physics
(
McGraw-Hill
,
New York
,
1953
), pp.
1302
1329
.
23.
A.
Erdélyi
,
W.
Magnus
,
F.
Oberhettinger
, and
F. C.
Tricomi
,
Higher Transcendental Functions
(
McGraw-Hill
,
New York
,
1953
), Vol.
1
, Sec. 1.7.3.
24.
M.
Abramowitz
and
I. A.
Stegun
,
Handbook of Mathematical Functions
(
Dover
,
New York
,
1964
), Chap. 6.
25.
J. P.
Goedbloed
,
R.
Keppens
, and
S.
Poedts
,
Magnetohydrodynamics of Laboratory and Astrophysical Plasmas
(
Cambridge University Press
.
Cambridge, UK
,
2019
), Chap. 16.
26.
I. S.
Gradshteyn
and
I. M.
Ryzhik
,
Table of Integrals, Series, and Products
(
Academic Press
,
San Diego
,
1980
), p.
27
.
27.
G.
Arfken
,
Mathematical Methods for Physicists
(
Academic Press
,
New York
,
1968
), p.
112
.
28.
P. M.
Morse
and
H.
Feshbach
,
Methods of Theoretical Physics
(
McGraw-Hill
,
New York
,
1953
), p.
36
.
29.
J. D.
Jackson
,
Classical Electrodynamics
, 2nd ed. (
John Wiley & Sons
,
New York
,
1975
), p.
117
.
30.
P. M.
Morse
and
H.
Feshbach
,
Methods of Theoretical Physics
(
McGraw-Hill
,
New York
,
1953
), p.
1330
.
31.
F.
Wagner
,
G.
Becker
,
K.
Behringer
,
D.
Campbell
,
A.
Eberhagen
,
W.
Engelhardt
,
G.
Fussmann
,
O.
Gehre
,
J.
Gernhardt
,
G. V.
Gierke
et al,
Phys. Rev. Lett.
49
,
1408
(
1982
).
32.
R. J.
Bickerton
,
J. W.
Connor
, and
J. B.
Taylor
,
Nat. Phys. Sci.
229
,
110
(
1971
).
33.
R.
Fitzpatrick
,
Tearing Mode Dynamics in Tokamak Plasmas
(
IOP
,
Bristol, UK
,
2023
).
34.
M. N.
Rosenbluth
,
R. D.
Hazeltine
, and
F. L.
Hinton
,
Phys. Fluids
15
,
116
(
1972
).
36.
R.
Fitzpatrick
,
Phys. Plasmas
24
,
072506
(
2017
).