Abstract
Two-fluid (ions and electrons) flowing equilibrium configurations of spherical torus plasma are numerically determined by using the multi-grid method. The axisymmetric equilibrium equations consist of a pair of second-order partial differential equations for the magnetic (electron) and ion stream functions, and Bernoulli equations for the density. It is found from the numerical results that the multi-grid method with the damped Jacobi method in the smoothing step is effective for solving these equations with numerical stability, high accuracy, and high speed.
Introduction
Spherical torus (ST) [1] which is the tokamak with the very small aspect ratio less than 2 is considered as candidates for magnetic confinement fusion reactors because of its high confinement, stability, and beta (ratio of plasma pressure to magnetic pressure). Recently, it is recognized that the effect of plasma flow is important in understanding the confinement of high beta torus plasmas, and that two-fluid effects which consists of ion diamagnetic and inertial effects are significant for smaller scale length, higher beta, and flow velocity approaching the ion diamagnetic drift velocity [2]. The formalism for two-fluid flowing equilibria is developed [3]. This system is described by a pair of second-order partial differential equations for two surface variables, i.e., the magnetic and ion stream functions and Bernoulli equations for the density. In order to solve this system, three arbitrary functions for each species are required to be assumed as functions of the surface variables stated above. The purpose of this study is to solve these equations by the multi-grid method [4] and to investigate the properties of numerical convergence. We focus our attention on the equilibria for geometry and boundary conditions of the rapidly rotating, high-performance National Spherical Torus eXperiment (NSTX) device [1].

Computational domain and boundary condition in cylindrical coordinate (x, θ, z), corresponding to the confinement region in the NSTX device.
Let us assume axisymmetry about NSTX geometric axis in cylindrical coordinates (r, θ, z), as shown in Fig. 1. An axisymmetric two-fluid flowing equilibrium [5] is described by a pair of second-order partial differential equations for ion surface variable Y (r, z) and electron surface variable 𝜓(r, z)
Computation procedure
Under the above assumptions and boundary conditions, Eqs (1)–(4) are numerically solved by using the following iterative procedure. (1st step) We assume the right-hand side of Eq. (4), and then solve Eq. (4) with the second-order finite difference approximation by using the multi-grid method. (2nd step) We update Y (r, z) and B
θ(r, z) by using
The multi-grid method (MGM) consists of smoothing step and coarse-grid correction step [4]. The high frequency components of the residual of solution 𝜓(r, z) can be eliminated in the smoothing step. We employ three types of classical iterative method, the damped Jacobi, Gauss-Seidel, and SOR methods as the sweeper to check the smoothing effect. Equation (4) with the second-order finite difference approximation can result in the following matrix form,
The next step is the coarse-grid correction which can eliminate the low frequency components of the residual of solution 𝜓(r, z). Substituting
Before investigating the properties of numerical convergence of solution 𝜓(r, z), we show contours of 𝜓(r, z) in Fig. 2. The contours indicate the reconstructed equilibrium solution 𝜓(r, z), corresponding to the magnetic flux surfaces in the NSTX device based on the input parameters and surface function coefficients (see Table I of Ref. [6]). The calculation conditions are the MGM (l = 4 → l = 1, V-cycle) with the damped Jacobi method (damped coefficient, ω d = 0.9 and smoothing criteria, ϵ d = 0.9), (N l, x N l, z ) = (128, 68), the SOR method at l = 1 (acceleration coefficient, ω s = 1.3 and convergence criteria, ϵ s = 10−5), convergence criteria of the MGM, ϵ MGM = 10−5, and convergence criteria of the outer loop, ϵ outer = 10−5.

Typical two-fluid ST equilibrium of NSTX device.
Figure 3 shows dependency of the average value at z = 0 of righ-hand side of Eq. (4) on the grid number. The calculation conditions are the MGM (V-cycle) with the damped Jacobi method (ω d = 0.9 and ϵ d = 0.9), the SOR method at l = 1 (ω s = 1.3 and ϵ s = 10−5), ϵ MGM = 10−5, and ϵ outer = 10−5. This average value converges with inverse square of the grid number. The covergence property of the average value indicates to be numerically stable.

Dependency of the average value of righ-hand side of Eq. (4) on the grid number.

Dependency of the residual of 𝜓(r, z) on the iteration number of the MGM.
We investigate dependency of the numercal convergence on the sweeper (the damped Jacobi, Gauss-Seidel, and SOR methods) in the smoothing step. Figure 4 shows dependency of the residual of 𝜓(r, z) on the iteration number of the MGM. The calculation conditions are the MGM (l = 4 → l = 1, V-cycle) with the damped Jacobi method (ω d = 0.9), the MGM (l = 4 → l = 1, V-cycle) with the Gauss-Seidel method, the MGM (l = 4 → l = 1, V-cycle) with the SOR method (ω SOR = 1.3) (N l, x N l, z ) = (128, 168), ϵ d = 0.9, the SOR method at l = 1 (ω s = 1.3 and ϵ s = 10−5) ϵ MGM = 10−5, and ϵ outer = 10−5 The residual decreases with the iteration number of the MGM. The residual reduction rate of the damped Jacobi method is larger than that of the Gauss-Seidel and SOR methods. The residual reduction rate of the Gauss-Seidel method is kept at approximately constant, and almost the same as that of the SOR method.
Figure 5 shows dependency of the residual of 𝜓(r, z) on the iteration number of the outer loop. The calculation conditions are the MGM (l = 7 → l = 1, V-cycle) with the damped Jacobi method (ω d = 0.9), the MGM (l = 7 → l = 1, V-cycle) with the Gauss-Seidel method, the MGM (l = 7 → l = 1, V-cycle) with the SOR method (ω SOR = 1.3), the SOR method at l = 1 (ω s = 1.3 and ϵ s = 10−5) (N l, x , N l, z ) = (1024,1344), ϵ d = 0.9, ϵ MGM = 10−5, and ϵ outer = 10−10. The residual decreases with the iteration number of the outer loop. The residual reduction rate of the damped Jacobi method is larger than that of the Gauss-Seidel and SOR methods, due to the good covergence of the damped Jacobi method as shown in Fig. 4.

Dependency of the residual of 𝜓(r, z) on the iteration number of the outer loop.
Figure 6 shows dependency of the CPU time on the residual of 𝜓(r, z) The calculation conditions are the MGM (l = 6 → l = 1, V-cycle) with the damped Jacobi method (ω d = 0.9), the MGM (l = 6 → l = 1, V-cycle) with the Gauss-Seidel method, and the MGM (l = 6 → l = 1, V-cycle) with the SOR method (ω SOR = 1.3), the SOR method at l = 1 (ω s = 1.3 and ϵ s = 10−5), (N l, x , N l, z ) = (512, 672)ϵ d = 0.9, ϵ MGM = 10−5, and the SOR method (ω SOR = 1.5). The CPU time of the MGM with the damped Jacobi method is about 60 times shorter than that of the SOR method at the residual value of 8.7 ×10−11. The CPU time of the MGM with the Gauss-Seidel method is almost the same as that of the MGM with the SOR method.

Dependency of the CPU time on the residual of 𝜓(r, z).
Figure 7 shows dependency of the CPU time on the grid number. The calculation conditions are the MGM (V-cycle) with the damped Jacobi method (ω d = 0.9), MGM (V-cycle) with the Gauss-Seidel method, and the MGM (V-cycle) with the SOR method (ω SOR = 1.3), the SOR method at l = 1 (ω s = 1.3 and ϵ s = 10−5), ϵ d = 0.9, ϵ MGM = 10−5, ϵ outer = 10−5, and the SOR method (ω SOR = 1.5). The CPU time of the MGM with the damped Jacobi method is about 16 times shorter than that of the SOR method at the square of grid number of 1.4 ×106.

Dependency of the CPU time on the grid number.
Consequently, the multi-grid method with the damped Jacobi method is effective for computing the two-fluid flowing equilibrium equations with numerical stability, high accuracy, and high speed.
We have numerically determined the two-fluid (ions and electrons) flowing equilibrium configurations of spherical torus plasma by using the MGM. The axisymmetric equilibrium equations consist of a pair of second-order partial differential equations for the magnetic (electron) and ion stream functions, and Bernoulli equations for the density. The CPU time of the MGM with the damped Jacobi method is about 60 times shorter than that of the SOR method from the dependency of the CPU time on the residual. The MGM with the damped Jacobi method is effective for solving the two-fluid equilibrium equations with numerical stability, high accuracy, and high speed.
