betaFeedback

WorksPhysics and Astronomy

Implementation and verification of a new free boundary module for Resistive Wall Modes simulations with the nonlinear 3D full MHD code SpeCyl

Abstract

Self-consistent numerical simulations of free boundary instabilities, such as resistive wall modes (RWMs) and external kink modes, require special attention given their relevance on the path towards magnetic fusion based nuclear reactors. In this work, a new implementation and a verification benchmark are presented for the nonlinear three-dimensional (3D) full magneto-hydrodynamics (MHD) code SpeCyl, which self-consistently combines a free flow 3D treatment for the edge plasma velocity with double resistive wall thin shell magnetic boundary conditions, capable of capturing the essential features of common setups in experimental devices. Two coaxial resistive shells surround the plasma. Vacuum conditions are assumed between and outside the resistive shells, whose relative positions and time constants can be varied on purpose. The implementation is extensively verified against Shafranov's analytic theory, valid for a circular cross section large aspect ratio tokamak and assuming a flat current profile. The correctness of newly implemented Boundary Conditions (BCs) is confirmed by the good agreement obtained for the linear growth rates of (m=2,n=1) RWM and external kink, over a wide range of wall positions, resistive shell time constants, and for different initial reference equilibria. The (m=2,n=1) RWM growth rates are also benchmarked against previous different RWMs modelling and successful validation studies for RFX-mod tokamak plasmas. The new BCs make SpeCyl a flexible and robust tool to investigate free boundary MHD modes in large aspect ratio magnetic confinement configurations, such as those achieved with the RFX-mod machine and expected in RFX-mod2.

Introduction

One of the main concerns for a thermonuclear fusion reactor is the uncontrolled growth of magneto-hydrodynamic instabilities, potentially capable of leading to a fast termination of the plasma discharge, with ensuing severe electromagnetic, thermal and mechanical loads dissipated on the reactor components in a short time. This is the case of tokamak plasmas, where major disruption events[1, 2], possibly triggered by free boundary instabilities[3, 4, 5, 6] such as Vertical Displacement Events (VDEs), external kink modes and Resistive Wall Modes (RWMs), can terminate the plasma discharge and degrade the first wall of the confining machine[3, 7].

In this work, the focus is on the numerical implementation and verification analysis of linear growth rates for the specific instability class of RWMs, i.e., modes which would be stable in presence of a perfectly conducting boundary but become unstable on the characteristic resistive time scale of a realistic resistive boundary. These unstable modes play a key role in magnetic fusion machines[8, 9] and require stabilizing action from external control systems. Active feedback control systems[10] of external coils are currently intensively pursued[1] to reproduce the effects of a highly conducting wall, after the seminal proposal by Bishop[11], which was initially developed for a Reversed Field Pinch (RFP) configuration.

More specifically, this work aims at implementing and verifying a new boundary module in the nonlinear visco-resistive MHD numerical code SpeCyl[12], motivated by the goal of increasing the realism of the electromagnetic boundary front-end to enable the investigation of MHD instabilities such as the RWMs[13, 14] and the Resistive Wall Tearing Modes. The new setup consists of two resistive shells implemented in the computational tool for visco-resistive MHD plasma simulations. The inner shell mimics plasma facing components, while a second coaxial resistive thin shell plays the role of the main conducting structure and enables the simulation of RWMs[8, 15, 16, 17].

This study constitutes a mandatory step towards the introduction of feedback system modelling interaction with 3D nonlinear MHD. The inclusion of conductive/resistive structures is needed to correctly capture the growth rates of RWMs. In fact, mirror currents induced in the resistive shell by the evolution of RWMs play an essential role in slowing down such instabilities[18, 19, 20], with respect to no-wall conditions, to the time scale of the resistive time of the shell. Reliable modelling of the amplitude of mirror currents and of their exponential decay as magnetic perturbations penetrate the shell is also key for fusion reactor integrated modelling, to predict the electromechanical force density distribution that may result in loads that the structures must withstand[21, 22, 23, 24].

The new boundary module is verified in two stages. First, a verification against analytical solutions[18] is presented, on a class of flat current tokamak equilibria in a cylindrical plasma. The study of linear growth rates for the (m=2,n=1m = 2, n = 1) RWM is discussed, by varying the outer shell resistivity in SpeCyl from an ideal wall case (external kink mode limit) to increasingly large wall resistivity. Then, a benchmark study with respect to previous realistic tokamak successful modelling[25] related to RFX-mod is discussed, and serves to anticipate a future more systematic validation of SpeCyl against experimental results.

The paper is organized as follows: Section II presents an overview of the SpeCyl code, including the set of MHD equations and the flow boundary conditions. Section III introduces the thin shell treatment and the set of newly implemented equations, which are detailed in § 0.4 at the numerical level. The analytical model assumed as a reference for the first verification activity is presented in § 0.5. The setup adopted for simulations, together with their general features, is introduced in Section VI and the numerical results are described in Section VII. The second verification benchmark against previous successful realistic RFX-mod modelling is presented in Section VIII, while a summary and final outlook are provided in § 0.9. Three appendices are included, which deal with: the definition of double vacuum magnetic fields (Appendix A), the theoretical framework to produce a perturbative stability analysis in the rectified tokamak (Appendix B) and the elements for the derivation of the so-called Shafranov’s flat current model (Appendix § 0.7.3).

The SpeCyl code

SpeCyl is a viscoresistive non-linear three-dimensional full MHD code[12], which simulates the evolution of the magnetic field B\mathbf{B} and of the flow field v\mathbf{v} by means of a predictor-corrector scheme within a spectral approach[26, 27]. Cylindrical coordinates [r,ϑ,z][r,\vartheta,z] are adopted to write such fields, obeying the following set of equations[3]:

ρ(∂v∂t+v⋅∇v)=J×B+ρνΔv,(1)\rho\left(\frac{\partial\mathbf{v}}{\partial t}+\mathbf{v}\cdot\nabla\mathbf{v}\right)=\mathbf{J}\times\mathbf{B}+\rho\nu\Delta\mathbf{v}, \tag*{(1)}
∂B∂t=−∇×E,(2)\frac{\partial\mathbf{B}}{\partial t}=-\nabla\times\mathbf{E}, \tag*{(2)}
E=ηJ−v×B,(3)\mathbf{E}=\eta\mathbf{J}-\mathbf{v}\times\mathbf{B}, \tag*{(3)}
J=∇×B,(4)\mathbf{J}=\nabla\times\mathbf{B}, \tag*{(4)}
∇⋅B=0.(5)\nabla\cdot\mathbf{B}=0. \tag*{(5)}

The pressure term ∇p\nabla p is neglected in the momentum equation, and the plasma density profile ρ\rho is assumed to be constant (dρ/dt=0\mathrm{d}\rho/\mathrm{d}t=0). J\mathbf{J} is the plasma current density, ν\nu is the kinematic viscosity, η\eta is the plasma resistivity and E\mathbf{E} is the electric field. The transport coefficients (η\eta and ν=μ/ρ\nu=\mu/\rho, with μ\mu the dynamic viscosity) are assumed to be scalar fields. All terms are set in dimensionless form, using suitable reference quantities: ρ=ρ^/ρ0\rho=\hat{\rho}/\rho_0; B=B^/B0\mathbf{B}=\hat{\mathbf{B}}/B_0; v=v^/vA\mathbf{v}=\hat{\mathbf{v}}/v_A; t=t^/τAt=\hat{t}/\tau_A; J=J^μ0a/B0\mathbf{J}=\hat{\mathbf{J}}\mu_0a/B_0; E=E^/vAB0\mathbf{E}=\hat{\mathbf{E}}/v_AB_0. In these expressions, hatted terms are in physical units and ρ0=ρ^∣r=0\rho_0=\left.\hat{\rho}\right|_{r=0}, B0=∣B^∣r=0,t=0B_0=\left|\hat{\mathbf{B}}\right|_{r=0,t=0}, while vAv_A is the Alfvén velocity and τA\tau_A is the Alfvén time. Their expressions are (being μ0\mu_0 the vacuum permeability and aa the minor plasma radius) vA=B0/μ0ρ0v_A=B_0/\sqrt{\mu_0\rho_0} and τA=ρ0μ0a/B0\tau_A=\sqrt{\rho_0\mu_0}a/B_0. Equations (1) - (5) depend only on two dimensionless parameters, namely the Lundquist number S=1/ηS = 1/\eta and the viscous Lundquist number M=1/νM = 1/\nu, which regulate the importance of diffusion for both equations[12]. The MHD model presented above is numerically solved in the computational domain constituted by a straight periodic cylinder, so that 0≤r≤a0 \le r \le a, 0≤ϑ≤2π0 \le\vartheta\le2\pi, and 0≤z≤2πR00 \le z \le2\pi R_{0} (being R0R_{0} the major plasma radius). Periodic boundary conditions are enforced at the two bases of the cylinder as in toroidal geometry. Consistently, the equations are Fourier-transformed in the [ϑ,z][\vartheta, z] coordinates, and finite differences are adopted along the radial coordinate rr to discretize differential operators. The non-linearities inherent in the simulated equations and the time advancing are dealt with using a semi-implicit treatment and a predictor-corrector scheme[28, 29, 30].

Given that Equations (1) - (5) are a set of partial differential equations, suitable boundary conditions for B\mathbf{B}, v\mathbf{v} must be specified for their solution. The new magnetic BCs are extensively presented in Sections III, § 0.4, while the flow BCs are briefly outlined hereafter. The fully three-dimensional free normal flow velocity BCs implemented in SpeCyl have already proved essential in modelling free boundary instabilities with remarkable accuracy[30, 31]. Such flow BCs allow for a full 3D spectrum of velocity modes at the plasma edge, which couples with the magnetic field spectrum and increases the numerical complexity of the scheme. Discrete convolutions in the Fourier space manage the coupling of velocity and magnetic field harmonics. The flow BCs in SpeCyl are derived according to the treatment given in Ref.32 for the case of a zero-β\beta paramagnetic pinch equilibrium but could be generalized to finite pressure models, as pointed out in Ref.30. Based on the axisymmetric pinch velocity contribution, SpeCyl adopts a general expression for the velocity modes, which has the shape of a E×B\mathbf{E} \times\mathbf{B} flow. An edge velocity proportional to E×B\mathbf{E} \times\mathbf{B} is retrieved from Ohm’s law at r=ar = a, taking its cross product with B\mathbf{B}, i.e.:

(E×B)a=ηa(J×B)a−(v×B)a×Ba.(6)(\mathbf{E} \times\mathbf{B})_{a} = \eta_{a}(\mathbf{J} \times\mathbf{B})_{a} - (\mathbf{v} \times\mathbf{B})_{a} \times\mathbf{B}_{a}. \tag*{(6)}

The orthogonal velocity is obtained by assuming (E×B)a≫ηa(J×B)a(\mathbf{E} \times\mathbf{B})_{a} \gg\eta_{a}(\mathbf{J} \times\mathbf{B})_{a}, while for the parallel velocity a natural choice (and easily generalizable) is to set a null value,

v∥(a)=0.(7)v_{\parallel}(a) = 0. \tag*{(7)}

This assumption (∥\parallel denotes the direction parallel to the total magnetic field at the edge) is justified because the parallel velocity in MHD instability dynamics is typically negligible. The edge velocity then reads:

v(a)=v⊥(a)=(E×B)a∣Ba∣2.(8)v(a) = v_{\perp}(a) = \frac{(\mathbf{E} \times\mathbf{B})_{a}}{\lvert\mathbf{B}_{a}\rvert^{2}}. \tag*{(8)}

The ordering assumption made in Equation (8) can be intended as a convenient closure for Equation (6), suitable for the boundary of a warm plasma. Neglecting the Ohmic term that accounts for the diffusive-resistive flux, i.e. ηJ×B∼0\eta\mathbf{J} \times\mathbf{B} \sim0, means considering negligible electromagnetic forces on the E×B\mathbf{E} \times\mathbf{B} flow spatial scales and thus acting as a force-free condition at the plasma boundary. Then, the magnetic energy flux ∣Ba∣2v⊥(a)\lvert B_a\rvert^2 v_{\perp}(a) due to external modes is put in direct relation with the Poynting vector S=E×B\mathbf{S} = \mathbf{E} \times\mathbf{B} on the left hand side of Equation (6), which results particularly effective in studying ideal MHD modes that are influenced by external conductors, e.g. the RWMs. In the limit of a small amplitude plasma displacement (i.e. when a linear stability analysis is performed), the edge velocity v⊥(a)v_{\perp}(a) of Equation (8) can be decomposed along [r,ϑ,z][r,\vartheta,z], retaining the three components which couple to the 3D edge magnetic field by means of discrete convolutions.

The following decomposition is adopted throughout the work for the electric, magnetic and velocity fields, where u^r\hat{\mathbf{u}}_r is the unit vector aligned with the radial direction, while the subscript “t” addresses the components of the field that are tangential to the wall, i.e. t=[ϑ,z]t = [\vartheta,z]: E=Eru^r+Et\mathbf{E} = E_r\hat{\mathbf{u}}_r + \mathbf{E}_t, B=Bru^r+Bt\mathbf{B} = B_r\hat{\mathbf{u}}_r + \mathbf{B}_t, v=vru^r+vt\mathbf{v} = v_r\hat{\mathbf{u}}_r + \mathbf{v}_t.

Derivation of magnetic BCs

The electromagnetic boundary in SpeCyl employs a thin shell treatment2, adopted to model conductive/resistive elements enclosing the plasma. Introducing the generic shell position rwr_w, the thin shell modelling assumes that the radial component of B\mathbf{B} is continuous throughout the thin shell, i.e.,

Brm,n∣rw−rw+=0.(9)\left.B_r^{m,n}\right|_{r_w^-}^{r_w^+} = 0. \tag*{(9)}

The symbols rw+r_w^+, rw−r_w^- identify an infinitesimally displaced radial position (positive and negative) with respect to rwr_w, and the vertical bar denotes the associated difference of evaluations. The integration of the Ampère-Maxwell law across the shell3 yields the expressions for the electromagnetic fields in correspondence with the resistive thin wall. For a generic radial position rwr_w, thin shell relations2 are obtained as:

∂Br,wm,n∂t=1τw[∂∂r(rBr,wm,n)]rw−rw+.(10)\frac{\partial B_{r,w}^{m,n}}{\partial t} = \frac{1}{\tau_w} \left[ \frac{\partial}{\partial r} \left(rB_{r,w}^{m,n}\right) \right]_{r_w^-}^{r_w^+}. \tag*{(10)}
Et,wm,n=rwτwu^r×Bt,wm,n∣rw−rw+.(11)E_{t,w}^{m,n} = \frac{r_w}{\tau_w} \left.\hat{\mathbf{u}}_r \times\mathbf{B}_{t,w}^{m,n}\right|_{r_w^-}^{r_w^+}. \tag*{(11)}

In Equations (9) - (11) the spectral nature appears through the superscripts (m,n)(m,n), which denote Fourier harmonics in the azimuthal and axial periodic coordinates, while the subscript “t” denotes the components of the tangential field, as stated in the previous section. A proof of the identities in Equation (10) making use of Green’s functions can be found in Ref.[33]. The physical properties of the thin wall are contained in the adjustable wall time constant τw\tau_w:

τw=μ0rwδwσw.(12)\tau_w = \mu_0 r_w \delta_w \sigma_w. \tag*{(12)}

In the previous expression, rwr_w is the radial position of the shell, δw\delta_w is its thickness, and σw=1/ηw\sigma_w = 1/\eta_w represents the conductivity of the shell. The thin shell treatment can be regarded as the limiting case of the thick-wall treatment[8, 15, 34] when the thin shell ordering is valid, i.e.: δw≪rw≪2πR0\delta_w \ll r_w \ll2\pi R_0. Various experimental conditions of interest can be reproduced within a thin shell treatment depending on the time scales on which the B\mathbf{B} modes penetrate the solid conductors. These are determined according to the Alfvén time τA\tau_A, which sets the different regimes for the diffusion of magnetic field modes through solid walls, also introducing in the picture the target time for the simulation tsimt_{sim}:

  • the condition τw→+∞\tau_w \to+\infty defines the case of an infinitely conductive wall. In other words, τw≫tsim\tau_w \gg t_{sim} and thus the diffusion-less case of an ideal shell is addressed;

  • the condition τA≪τw≪tsim\tau_A \ll\tau_w \ll t_{sim} reproduces the case of a wall having finite resistivity;

  • the condition τw≪τA\tau_w \ll\tau_A instead sets instant-diffusion features, thus implying a sort of vacuum-wall transparent to magnetic fields. This condition, which was already used in Refs.[30, 31], will be employed in this study (unless otherwise stated) for the magnetic boundary at r=ar = a to mimic a free interface between the plasma and the vacuum.

The description of the electromagnetic boundary is completed with the expression for the radial electric field, obtained by applying the divergence operator to Equation (11) and using the gauge invariance for E\mathbf{E}:

Er,wm,n=ηwτwrw∇⋅Et,wm,n.(13)E_{r,w}^{m,n} = \eta_w \frac{\tau_w}{r_w} \nabla\cdot\mathbf{E}_{t,w}^{m,n}. \tag*{(13)}

Equations (10), (11) naturally reproduce the field expressions for the limiting cases discussed above, namely the ideal wall and the transparent wall conditions. For an ideal shell, τw→+∞\tau_w \to+\infty and so Br,wm,nB_{r,w}^{m,n} is fixed in time and Et,wm,n=0E_{t,w}^{m,n} = 0. On the other hand, a transparent wall condition is characterized by τw→0\tau_w \to0 and, owing to the finiteness of other fields, the continuity of Bt,wm,nB_{t,w}^{m,n} and of the radial derivative of Br,wm,nB_{r,w}^{m,n} are implied.

Figure 1 illustrates the geometry of the new SpeCyl BCs: the plasma is surrounded by two coaxial cylindrical shells. The thin inner resistive shell (already present in Refs.[30, 31]) corresponds to the plasma edge at r=ar = a (this position is fixed by construction because the inner shell coincides with the outermost node of the plasma radial grid, as explained in § 0.4) and a second thin resistive shell is placed at r=br = b. The outer ideal shell is placed at r=cr = c with c>b>ac > b > a (typically far from the plasma) and serves to close the system of equations. Vacuum conditions are assumed in between the three coaxial conducting elements. The resistivity of the shells (as specified through the time constants τw,a,τw,b\tau_{w,a}, \tau_{w,b}) and their mutual distances are freely adjustable (by means of normalized positions b/ab/a, c/ac/a), allowing flexibility in investigating various experimental conditions. The presence of a second resistive shell of wall constant equal to τw,b\tau_{w,b} requires not only to account for the evolution of the magnetic field components on it, but also to update the analytic expressions for magnetic field spectral components in the double coaxial vacuum. In addition, the double shell setup of Figure 1 must be self-consistently merged with the already existing 3D flow velocity treatment at the plasma edge, preserving a notable feature of SpeCyl[31] with respect to other nonlinear MHD codes. A former set of BCs, implementing the hitherto described physical framework but only including the inner resistive shell in r=ar=a was non-linearly verified[30] against the PIXIE3D code[35]. Together with a previous verification study[36], this proved the quantitative reliability of both SpeCyl and PIXIE3D codes over different test cases (tokamak and RFP configurations).

The SpeCyl double shell set-up, represented with radial and axial views

Figure 1. The SpeCyl double shell set-up, represented both with radial and axial views. The new implementation requires the modelling of a second resistive shell whose dynamics depends on τw,b\tau_{w,b} and a second vacuum region, and their self-consistent coupling to other SpeCyl features.

The new boundary module developed within this work is expected to increase the realism of the simulations performed with the new version of SpeCyl, especially when investigating RWMs. These instabilities require the presence of a resistive shell at finite distance from the plasma edge, where the free finite velocity couples with the magnetic field. The main equations arising from this approach are highlighted in the rest of this section, while in Appendix A the analytical derivation of the double vacuum treatment is given in detail together with the development of the double vacuum coefficients. The starting point are the renewed expressions of the amplitudes of the components of Blm,nB_l^{m,n}, where l=1,2l=1,2 identifies the vacuum region considered:

Br,lm,n=Alm,nIm′(∣n∣rR0)+Blm,nKm′(∣n∣rR0),(14)B_{r,l}^{m,n}=\mathcal{A}_l^{m,n}I_m^\prime\left(\frac{|n|r}{R_0}\right)+\mathcal{B}_l^{m,n}K_m^\prime\left(\frac{|n|r}{R_0}\right), \tag*{(14)}
Bϑ,lm,n=−mR0∣n∣r[Alm,nIm(∣n∣rR0)+Blm,nKm(∣n∣rR0)],(15)B_{\vartheta,l}^{m,n}=-\frac{mR_0}{|n|r}\left[\mathcal{A}_l^{m,n}I_m\left(\frac{|n|r}{R_0}\right)+\mathcal{B}_l^{m,n}K_m\left(\frac{|n|r}{R_0}\right)\right], \tag*{(15)}
Bz,lm,n=n∣n∣[Alm,nIm(∣n∣rR0)+Blm,nKm(∣n∣rR0)].(16)B_{z,l}^{m,n}=\frac{n}{|n|}\left[\mathcal{A}_l^{m,n}I_m\left(\frac{|n|r}{R_0}\right)+\mathcal{B}_l^{m,n}K_m\left(\frac{|n|r}{R_0}\right)\right]. \tag*{(16)}

Equations (14)–(16) provide the expressions for the vacuum magnetic field harmonics, understood to be in Fourier space, involved in the definition of the new BCs. These are now discussed for the general case m,n≠0m,n \ne0, and in § 0.4 their discretized version will be presented. The form of BCs for the axisymmetric mode (m=0,n=0)(m=0,n=0) remains unchanged and can be found in Ref.[30]. The first two equations are a specific version of Equation (10) for the two thin shells in rw=ar_w=a and rw=br_w=b. The partial radial derivatives of Brm,nB_r^{m,n} are written as a combination of Brm,n(a)B_r^{m,n}(a) and Brm,n(b)B_r^{m,n}(b), resorting to the double vacuum coefficients Cljsm,nC_{ljs}^{m,n} for the magnetic field harmonics. The index ll denotes the first or second vacuum region, while the indices j,sj,s are set as a,ba,b, according to the procedure detailed in Appendix A. In brief, for the second shell at rw=br_w=b:

τw,b∂Brm,n(b)∂t=[C2bbm,n−C1bbm,n]Brm,n(b)−C1bam,nBrm,n(a),(17)\tau_{w,b}\frac{\partial B_r^{m,n}(b)}{\partial t}=\left[C_{2bb}^{m,n}-C_{1bb}^{m,n}\right]B_r^{m,n}(b)-C_{1ba}^{m,n}B_r^{m,n}(a), \tag*{(17)}

while for rw=ar_w=a the form of BC results in:

τw,a∂Brm,n(a)∂t=C1aam,nBrm,n(a)+C1abm,nBrm,n(b)−∂∂r(rBrm,n(r))∣pl.(18)\tau_{w,a}\frac{\partial B_r^{m,n}(a)}{\partial t}=C_{1aa}^{m,n}B_r^{m,n}(a)+C_{1ab}^{m,n}B_r^{m,n}(b)-\left.\frac{\partial}{\partial r}\left(rB_r^{m,n}(r)\right)\right|_{pl}. \tag*{(18)}

The subscript “pl” addresses the edge of the plasma domain. The non-axisymmetric tangential magnetic field components are determined enforcing the continuity of the tangential electric field (along ϑ,z\vartheta,z), for each Fourier mode in rw=ar_w=a, using Equation (11):

ηa(∇×Bm,n)ϑ,a−(v×B)ϑ,a=−aτw,a(iZ1aam,nBrm,n(a)+iZ1abm,nBrm,n(b)−Bzm,n(a)).(19)\eta_a(\nabla\times\mathbf{B}^{m,n})_{\vartheta,a}-(\mathbf{v}\times\mathbf{B})_{\vartheta,a}=-\frac{a}{\tau_{w,a}}\left(iZ_{1aa}^{m,n}B_r^{m,n}(a)+iZ_{1ab}^{m,n}B_r^{m,n}(b)-B_z^{m,n}(a)\right). \tag*{(19)}
ηa(∇×Bm,n)z,a−(v×B)z,a=aτw,a(iΘ1aam,nBrm,n(a)+iΘ1abm,nBrm,n(b)−Bϑm,n(a)).(20)\eta_a(\nabla\times\mathbf{B}^{m,n})_{z,a}-(\mathbf{v}\times\mathbf{B})_{z,a}=\frac{a}{\tau_{w,a}}\left(i\Theta_{1aa}^{m,n}B_r^{m,n}(a)+i\Theta_{1ab}^{m,n}B_r^{m,n}(b)-B_\vartheta^{m,n}(a)\right). \tag*{(20)}

In both of these expressions, the left hand side represents the tangential electric field on the plasma side derived from Ohm’s law, while the right hand side is the thin shell expression, which employs double vacuum coefficients Θ1jsm,n\Theta_{1js}^{m,n} and Z1jsm,nZ_{1js}^{m,n}, detailed in the Appendix A. The convolution product v×B\mathbf{v}\times\mathbf{B} over the entire spectrum of modes produces a nonlinear term that must be dealt with to obtain a linear system with a spectral approach, as discussed in § 0.4.

Implementation of the new boundary module

The numeric implementation of BCs derived in Section III must comply with the nonlinear and spectral structure of SpeCyl. From now on, the superscript kk identifies the generic time-step of the iterative SpeCyl workflow[27, 30] and for each kk, the newly implemented boundary module enforces the BCs by solving a system of 7 equations in 7 unknowns. Three discrete radial positions are involved in the formulation: two belong to the plasma radial mesh and are rN−1=a−Δrr_{N-1}=a-\Delta r and rN=ar_N=a (edge node), while the third is the location of the second resistive shell, i.e., rN+1=br_{N+1}=b. In the previous expressions, NN is the total number of radial mesh nodes and Δr\Delta r is the uniform spacing of the plasma mesh nodes. Then, the unknowns of the boundary module (for each mode and for each time step) are:

Br(a−Δr), Bϑ(a−Δr), Bz(a−Δr), Br(a), Bϑ(a), Bz(a), Br(b).(21)B_r(a-\Delta r),\ B_\vartheta(a-\Delta r),\ B_z(a-\Delta r),\ B_r(a),\ B_\vartheta(a),\ B_z(a),\ B_r(b). \tag*{(21)}

Three equations to determine them arise as a consequence of the backward step of the so-called Thomas algorithm[37], a simplified form of Gaussian elimination that can be used to solve tri-diagonal systems of equations. In fact, the spectral approach combined with a finite differences scheme to discretize second order derivatives (Laplace operator) produces a tri-diagonal mode-dependent linear system. The Thomas algorithm is computationally less expensive than other methods[37], although based on a forward and backward step. These steps set constraints in the way the mesh unknowns are processed, because the coefficients entering the linear system depend both on the radial position (mesh dependency) and on the mode indices (m,n)(m,n) (modal dependency). Three conditions expressed as linear relations linking the magnetic field unknowns at the edge mesh nodes rN−1=a−Δrr_{N-1}=a-\Delta r, rN=ar_N=a arise. They are constraints of numerical nature that propagate the boundary values to the inner plasma column radial mesh points:

Brm,n,k+1(a−Δr)=a1m,nBrm,n,k+1(a)+b1m,nBϑm,n,k+1(a)+c1m,n,(22)B_r^{m,n,k+1}(a-\Delta r)=a_1^{m,n}B_r^{m,n,k+1}(a)+b_1^{m,n}B_\vartheta^{m,n,k+1}(a)+c_1^{m,n}, \tag*{(22)}
Bϑm,n,k+1(a−Δr)=a2m,nBrm,n,k+1(a)+b2m,nBϑm,n,k+1(a)+c2m,n,(23)B_\vartheta^{m,n,k+1}(a-\Delta r)=a_2^{m,n}B_r^{m,n,k+1}(a)+b_2^{m,n}B_\vartheta^{m,n,k+1}(a)+c_2^{m,n}, \tag*{(23)}
Bzm,n,k+1(a−Δr)=a3m,nBzm,n,k+1(a)+c3m,n.(24)B_z^{m,n,k+1}(a-\Delta r)=a_3^{m,n}B_z^{m,n,k+1}(a)+c_3^{m,n}. \tag*{(24)}

The full expression of the modal coefficients is omitted here because they are already encoded in the previous versions of SpeCyl and have not been modified.

The remaining four equations are obtained starting from the equations introduced in the last part of Section III. The Equations (17), (18) are discretized in time using a first order Euler scheme of implicit type, so that their main unknowns become the Fourier components of Brk+1(b)B_r^{k+1}(b) and Brk+1(a)B_r^{k+1}(a), respectively. Moreover, Equation (18) contains a radial partial derivative which is discretized according to a first order finite difference written on the plasma mesh nodes. They result in:

τw,bBrm,n,k+1(b)−Brm,n,k(b)Δt=(C2bbm,n−C1bbm,n)Brm,n,k+1(b)−C1bam,nBrm,n,k+1(a),(25)\tau_{w,b}\frac{B_r^{m,n,k+1}(b)-B_r^{m,n,k}(b)}{\Delta t}=\left(C_{2bb}^{m,n}-C_{1bb}^{m,n}\right)B_r^{m,n,k+1}(b)-C_{1ba}^{m,n}B_r^{m,n,k+1}(a), \tag*{(25)}

and

τw,aBrm,n,k+1(a)−Brm,n,k(a)Δt=(C1aam,n−aΔr)Brm,n,k+1(a)+C1abm,nBrm,n,k+1(b)+(aΔr−1)Brm,n,k+1(a−Δr).(26)\begin{aligned} \tau_{w,a}\frac{B_r^{m,n,k+1}(a)-B_r^{m,n,k}(a)}{\Delta t} &=\left(C_{1aa}^{m,n}-\frac{a}{\Delta r}\right)B_r^{m,n,k+1}(a)\\ &\quad+C_{1ab}^{m,n}B_r^{m,n,k+1}(b)+\left(\frac{a}{\Delta r}-1\right)B_r^{m,n,k+1}(a-\Delta r). \tag*{(26)} \end{aligned}

The route for the last two equations is longer: several steps are devised to access the algebraic version of Equations (19), (20) that are compatible with the spectral nature of SpeCyl. First, the real space representation of v×B\mathbf{v} \times\mathbf{B} is split in two terms, to isolate the axisymmetric velocity components which couple to the generic magnetic field harmonic:

(v×B)am,n=va0,0×Bam,n+∑(p,q)≠(m,n)vam−p,n−q×Bap,q.(27)(\mathbf{v} \times\mathbf{B})_a^{m,n} = \mathbf{v}_a^{0,0} \times\mathbf{B}_a^{m,n} + \sum_{\substack{(p,q)\ne(m,n)}} \mathbf{v}_a^{m-p,n-q} \times\mathbf{B}_a^{p,q}. \tag*{(27)}

It is then required to obtain a linear equation for each mode and for each time-frame when the cross product is inserted back into Equations (19), (20). Moving to the spectral space (application of the Fourier operator F\mathcal{F}) means defining an algebraic modal representation based on time dependent matrices. The terms in Equation (27) are suitably represented as a row-by-column product between the square matrix v‾‾a\underline{\underline{\mathbf{v}}}_a and the column vector B‾a\underline{\mathbf{B}}_a in the discrete Fourier space, where the contracted indices (p,q)(p,q) run over all the (m,n)(m,n) couples allocated in the simulation. To show this, the first contribution to the azimuthal component (along ϑ\vartheta) of v×B\mathbf{v} \times\mathbf{B} is considered (a similar procedure holds for the second, i.e., vrBzv_rB_z):

F(vzBr)am,n=∑p,q(vzm−p,n−q⋅Brp,q)a⟺(vz0,0I‾‾+⟨vz⟩)⋅B‾r.(28)\mathcal{F}(v_zB_r)_a^{m,n} = \sum_{p,q} \left(v_{z}^{m-p,n-q} \cdot B_r^{p,q}\right)_a \Longleftrightarrow\left(v_z^{0,0}\underline{\underline{I}} + \langle v_z\rangle\right)\cdot\underline{B}_r. \tag*{(28)}

Equation (28) requires knowledge of the full magnetic field spectrum at a specific time-frame, meaning that the nonlinearity is not yet removed but isolated in the non-axisymmetric terms

⟨v‾⟩⋅B=∑(p,q)≠(m,n)vm−p,n−q×Bp,q.(29)\langle\underline{\mathbf{v}}\rangle\cdot\mathbf{B} = \sum_{\substack{(p,q)\ne(m,n)}} \mathbf{v}^{m-p,n-q} \times\mathbf{B}^{p,q}. \tag*{(29)}

A deconvolution procedure[26] is adopted to treat them. This preserves the SpeCyl modal-based solution (serial solution of each Fourier harmonic) and allows individual inversion of each equation for the (m,n)(m,n) mode when enforcing the boundary conditions. Taking advantage of the iterative structure of SpeCyl (see Refs. 26,27), the terms which couple with the non-axisymmetric velocity part in the convolution are evaluated explicitly, using their value at the prior time-step. So, taking into account the predictor-corrector advancement in time, the spectral character of SpeCyl and the deconvolution procedure yield the following expression, derived from Equation (28), for the first component of the azimuthal part of the v×B\mathbf{v} \times\mathbf{B} already mentioned:

F(vzBr)am,n,k+1=(vz0,0,k+1⋅Brk+1+⟨vz⟩k+1⋅Brk)am,n.(30)\mathcal{F}(v_zB_r)_a^{m,n,k+1} = \left(v_z^{0,0,k+1}\cdot B_r^{k+1} + \langle v_z\rangle^{k+1}\cdot B_r^k\right)_a^{m,n}. \tag*{(30)}

Equation (30) constitutes a single term of the cross product entering Equation (19). Using the expressions of the magnetic fields according to the coefficients listed in the final part of the Appendix A, the spectral, time and space discretized representations of the Equations (19), (20) then read:

ηa(Bzm,n,k+1(a)−Bzm,n,k+1(a−Δr)Δr−inR0Brm,n,k+1(a))+(vz0,0,k+1⋅Brk+1+⟨vz⟩k+1⋅Brk+1)am,n−(vr0,0,k+1⋅Bzk+1+⟨vr⟩k+1⋅Bzk+1)am,n=aτw,a(iZ1aam,nBrm,n,k+1(a)+iZ1abm,nBrm,n,k+1(b)−Bzm,n,k+1(a)),(31)\begin{aligned} \eta_a\left(\frac{B_z^{m,n,k+1}(a)-B_z^{m,n,k+1}(a-\Delta r)}{\Delta r}-\frac{in}{R_0}B_r^{m,n,k+1}(a)\right) \\ {}+\left(v_z^{0,0,k+1}\cdot B_r^{k+1}+\langle v_z\rangle^{k+1}\cdot B_r^{k+1}\right)_a^{m,n} \\ {}-\left(v_r^{0,0,k+1}\cdot B_z^{k+1}+\langle v_r\rangle^{k+1}\cdot B_z^{k+1}\right)_a^{m,n} \\ =\frac{a}{\tau_{w,a}}\left(iZ_{1aa}^{m,n}B_r^{m,n,k+1}(a)+iZ_{1ab}^{m,n}B_r^{m,n,k+1}(b)-B_z^{m,n,k+1}(a)\right), \tag*{(31)} \end{aligned}

and

ηaa(aBϑm,n,k+1(a)−(a−Δr)Bϑm,n,k+1(a−Δr)Δr−imBrm,n,k+1(a))−(vr0,0,k+1⋅Bϑk+1+⟨vr⟩k+1⋅Bϑk+1)am,n+(vϑ0,0,k+1⋅Brk+1+⟨vϑ⟩k+1⋅Brk+1)am,n=aτw,a(iΘ1aam,nBrm,n,k+1(a)+iΘ1abm,nBrm,n,k+1(b)−Bϑm,n,k+1(a)).(32)\begin{aligned} \frac{\eta_a}{a}\left(\frac{aB_\vartheta^{m,n,k+1}(a)-(a-\Delta r)B_\vartheta^{m,n,k+1}(a-\Delta r)}{\Delta r}-imB_r^{m,n,k+1}(a)\right) \\ {}-\left(v_r^{0,0,k+1}\cdot B_\vartheta^{k+1}+\langle v_r\rangle^{k+1}\cdot B_\vartheta^{k+1}\right)_a^{m,n} \\ {}+\left(v_\vartheta^{0,0,k+1}\cdot B_r^{k+1}+\langle v_\vartheta\rangle^{k+1}\cdot B_r^{k+1}\right)_a^{m,n} \\ =\frac{a}{\tau_{w,a}}\left(i\Theta_{1aa}^{m,n}B_r^{m,n,k+1}(a)+i\Theta_{1ab}^{m,n}B_r^{m,n,k+1}(b)-B_\vartheta^{m,n,k+1}(a)\right). \tag*{(32)} \end{aligned}

Equations (22) - (26) and (31), (32) constitute the system of 7 equations that form the new boundary module: its solution, subject to an evident coupling along the coordinates rr, ϑ\vartheta, defines the edge values of the magnetic field components, which are used by the code as BCs to solve the MHD model in the plasma domain. These values reflect the presence of the double shell/vacuum setup depicted in Figure 1. Apart from the values of plasma quantities, updated at each time-step kk, the hitherto described boundary module depends on constant parameters (such as the Cljsm,nC_{ljs}^{m,n}, Θljsm,n\Theta_{ljs}^{m,n} and Zljsm,nZ_{ljs}^{m,n} coefficients) that can be computed before the simulation starts. The only additional time-dependent spectral unknown is the radial magnetic field Brm,n,kB_r^{m,n,k} at the outer thin shell in rN+1=br_{N+1}=b. This additional dynamic variable is employed for the vacuum field calculations (see Appendix A) at each time-step, and complies with the spectral nonlinear implementation of the SpeCyl.

The Shafranov's flat current model (FCM)

The Shafranov’s flat current model[18, 38] (FCM) provides analytical solutions for the dynamics of kink modes and RWMs on simplified equilibria in a current-carrying pinch. It has already been used for numerical verification studies addressed by different nonlinear codes such as JOREK[39, 40], NIMROD[41], M3D-C1[42], XTOR-2F[43] and SpeCyl[31]. The model is based on the straight tokamak limit, achieved for a vanishing inverse aspect ratio ϵ=a/R0→0\epsilon=a/R_0\to0, and it descends from the linearization of the ideal MHD equations around a given equilibrium, when assuming flat profiles for the plasma density ρ\rho and the plasma current JJ. Details on the procedure are given in the Appendix B. The analytical model allows an exact shape for the eigenfunction (or plasma displacement ξ\boldsymbol{\xi}) to be obtained and produces the expression of a dispersion relation that yields the linear growth rate of the instabilities.

Although this model is already presented in the literature (e.g. in [18]), its derivation is retraced here through its main steps, also enriched by the graphical outcomes of a purposely developed Newton algorithm to solve the general dispersion relation, as shown in Figure 2. Two routes are available to derive the FCM: the first recasts the model into a particular version of the Energy Principle (a notable result of ideal MHD[44, 45]), while the second consists of solving a suitable Boundary Value Problem (BVP) for the so called magnetic flux function ψ\psi, as done in [18]. The two approaches can be proven equivalent because algebraic relations exist among their unknowns, as pointed out by Equations (60), (61). The reason for the equivalence is the frozen-in-law of ideal MHD. Being the system periodic, the magnetic flux function, i.e. the linear perturbation to the equilibrium flux, is Fourier analysed in the ϑ,z\vartheta, z coordinates, giving:

Figure 2. Dispersion relations from the linear analytical theory described in Section V for the mode (m=2,n=1)(m = 2, n = 1) and considering a large aspect ratio tokamak with flat current profile with q(a)=q0=1.5q(a) = q_0 = 1.5. The dimensionless growth rate γτA/ϵ\gamma\tau_A/\epsilon, where ϵ\epsilon is the inverse aspect ratio, is represented as a function of the shell proximity b/ab/a. The red curve is for a typical dimensionless wall time constant τw/τA=2000\tau_w/\tau_A = 2000 and will be used for the benchmark with SpeCyl simulations. The green curve is obtained for the ideal wall limit when τw/τA→+∞\tau_w/\tau_A \to+\infty. In this limit case, only the external kink instability is found, when the shell proximity exceeds the ideal wall instability threshold (b/a)crit=1.189(b/a)_{crit} = 1.189, marked by the dotted vertical line. Both the red and the green curves asymptotically converge to the so-called no-wall limit (γτA/ϵ=0.471(\gamma\tau_A/\epsilon= 0.471, horizontal dashed line) when the conducting shell is moved far away from the plasma. The blue curve is an approximation only valid when the plasma inertia can be neglected, i.e. for sufficiently low values of γ\gamma, when the wall position is close to the plasma edge.

ψ(r,ϑ,z;t)=Ψ(r)exp⁡(imϑ−inz/R0)exp⁡(γt).(33)\psi(r,\vartheta,z;t)=\Psi(r)\exp(im\vartheta-inz/R_0)\exp(\gamma t). \tag*{(33)}

This implies that the growth rate γ\gamma will depend on the mode numbers (m,n)(m,n) of the considered MHD instability, in addition to relevant parameters such as the Alfvén time τA\tau_A accounting for plasma inertia and wall time constant τw\tau_w. The equilibrium addressed to start the perturbative analysis enters the picture through the safety factor q(r)q(r), defined as

q(r)=rBzR0Bϑ.(34)q(r)=\frac{rB_z}{R_0B_\vartheta}. \tag*{(34)}

In the specific case of Shafranov’s model, the safety factor turns out to be constant in the plasma domain, as a consequence of a uniform axial current density profile. All details are found in Appendix B: departing from specific assumptions for the field profiles of interest, the growth rate dispersion relation is derived by solving a BVP for Ψ(r)\Psi(r) of Equation (33). The modal dispersion relation for MHD resistive wall modes and external kink modes is presented in Equation (35), which yields the growth rate γ\gamma of the MHD instability considered as a function of the uniform (over the radial coordinate in the plasma domain) q-value q0q_0, the resistive wall time constant τw\tau_w and its relative position with respect to the plasma edge rw/ar_w/a[18]:

ν(m−nq0)−11−γτw2μ+γτw(arw)2μ=12(γτA/ϵ)2q02(m−nq0)2,(35)\frac{\nu}{(m-nq_0)}-\frac{1}{1-\frac{\gamma\tau_w}{2\mu+\gamma\tau_w}\left(\frac{a}{r_w}\right)^{2\mu}}=\frac{1}{2}\frac{\left(\gamma\tau_A/\epsilon\right)^2q_0^2}{(m-nq_0)^2}, \tag*{(35)}

where ν=sgn⁡(m)\nu=\operatorname{sgn}(m) and μ=∣m∣\mu=|m|. If no root of this equation exists with a positive real part, the plasma is stable. Compared to the corresponding expression in [18], Equation (35) presents a factor 1/ϵ1/\epsilon in the numerator of the right hand side, given the use of the “poloidal” Alfvén time τA\tau_A. In addition, it differs by a factor 2 in the fraction before the term (a/rw)2μ(a/r_w)^{2\mu}, due to the adopted definition for τw\tau_w. Being Equation (35) a nonlinear expression of shape f(γ,rw/a,τw)=0f(\gamma,r_w/a,\tau_w)=0, a Newton algorithm has been developed to compute the predicted growth rate γ\gamma, to compare it with the one obtained from the SpeCyl code with an equivalent setup. The general solution of Equation (35), valid for both RWMs and external kink modes, is shown as a function of wall proximity b/ab/a in Figure 2 (red curve for RWM), for the case of the (m=2,n=1)(m = 2, n = 1) mode with q(a)=q0=1.5q(a) = q_0 = 1.5. For an ideal wall, τw→+∞\tau_w \to+\infty and so the corresponding dispersion relation reads

ν(m−nq0)−11−(arw)2μ=12(γτA/ϵ)2q02(m−nq0)2(36)\frac{\nu}{(m-nq_0)}-\frac{1}{1-\left(\frac{a}{r_w}\right)^{2\mu}}=\frac{1}{2}\frac{(\gamma\tau_A/\epsilon)^2q_0^2}{(m-nq_0)^2} \tag*{(36)}

This is the specific case of the external kink mode that corresponds to the green curve in Figure 2. This mode becomes unstable when the ideal shell is placed further from the plasma than the critical proximity (b/a)crit(b/a)_{crit}, where rw=br_w = b is the position of the shell. The threshold

just mentioned is obtained by imposing γ=0\gamma= 0, τw→+∞\tau_w \to+\infty in Equation (35) and reads

(b/a)crit=(1−m−nq0ν)−1/2μ.(37)(b/a)_{\mathrm{crit}} = \left(1 - \frac{m - nq_0}{\nu}\right)^{-1/2\mu}. \tag*{(37)}

For q(a)=1.5q(a) = 1.5 and (m=2,n=1)(m = 2, n = 1), it follows that (b/a)crit=1.189(b/a)_{\mathrm{crit}} = 1.189. Without any wall surrounding the unstable plasma, which means for rw→+∞r_w \to+\infty, the instability growth rate in the so-called no-wall limit is obtained. The latter obeys the expression indicated by the horizontal dashed line in Figure 2:

(γτA/ϵ)2=2q02(m−nq0)[ν−(m−nq0)].(38)(\gamma\tau_A/\epsilon)^2 = \frac{2}{q_0^2}(m - nq_0)[\nu- (m - nq_0)]. \tag*{(38)}

Finally, an approximation of Equation (35) is valid in the regime for which the growth rate is sufficiently small, i.e., when γτA≪1\gamma\tau_A \ll1 (which implies assuming the typical condition τA≪τw\tau_A \ll\tau_w with γτw∼1\gamma\tau_w \sim1). This approximation neglects the role of plasma inertia: the condition coincides with having the MHD response of the system occurring on a timescale that results much slower than the Alfvén time. In such a case, the dispersion relation, shown by the blue curve in Figure 2, becomes

γτw=−2μ1−ν(m−nq0)[1−ν(m−nq0)−(arw)2μ].(39)\gamma\tau_w = -2\mu\frac{1 - \nu(m - nq_0)}{\left[1 - \nu(m - nq_0) - \left(\frac{a}{r_w}\right)^{2\mu}\right]}. \tag*{(39)}

Only for small growth rates and when the wall position is placed close to the plasma edge, the agreement between the blue and the red curves is relatively good. In general, the plasma inertia cannot be neglected and plays an important role in the full dispersion relation of Equation (35). However, Equation (39) is useful because it shows that in the RWM limit (i.e., when γτA≪1\gamma\tau_A \ll1) for a given mode, a given equilibrium, and wall position, the growth rate γ\gamma is inversely proportional to the wall time constant τw\tau_w.

Verification setup and preliminary tests

Setup and consistency check

NmodesN_{\mathrm{modes}}mn\frac{m}{n}ϵ=aR0\epsilon= \frac{a}{R_0}τw,aτA\frac{\tau_{w,a}}{\tau_A}ΔtτA\frac{\Delta t}{\tau_A}NrN_rMMSS
520.0510−610^{-6}10−510^{-5}90010710^710710^7

Table 1. Parameters adopted for the simulations with SpeCyl.

The numerical setup adopted in SpeCyl to reproduce the same conditions and profiles that characterize Shafranov’s FCM described in the previous section is illustrated in Table I.

The inverse aspect ratio is set sufficiently small to retrieve the straight tokamak limit: ϵ=0.05\epsilon= 0.05 is obtained by setting the plasma major and minor radius equal to R0=20R_0 = 20 and a=1a = 1, respectively. The resistivity η\eta and the kinematic viscosity ν\nu of the plasma are assumed to be uniform along the radial coordinate. In addition, previous studies[31] suggested setting both the plasma kinematic viscosity ν=1/M\nu= 1/M and the plasma resistivity η=1/S\eta= 1/S equal to 10−710^{-7}, as the best compromise to approach ideal plasma conditions in a visco-resistive MHD code. The adopted time-step is Δt/τA=10−5\Delta t/\tau_A = 10^{-5} and the discretization along the radial coordinate employs Nr=900N_r = 900 mesh points equally spaced, selected after preliminary tests that showed satisfactory numerical convergence of the expected growth rate γ\gamma for such a value. The numerical simulations consider a spectrum of harmonics composed by the equilibrium axisymmetric mode (m=0m = 0, n=0n = 0) and by 5 non-axisymmetric components, characterized by a fixed helical pitch m=2nm = 2n, for 1<n<51 < n < 5.

The equilibrium fields B\mathbf{B}, J\mathbf{J} are self-consistently calculated in SpeCyl, combining Ohm’s law and a force-free version of the momentum balance equation[32]. For ideal plasma conditions, the plasma current roughly scales with the (uniform) inverse plasma resistivity: Figure 3(a-c) illustrates the resulting profiles obtained for B\mathbf{B}, J\mathbf{J} and qq. Panel (d) also represents the adopted plasma density, which is assumed to be uniform over the plasma domain. A vertical red line marks the edge between the plasma region and the surrounding vacuum.

Figure 3. Equilibrium profiles for the verification of SpeCyl against the Shafranov’s flat current model: panel (a) represents the circular cross section safety factor q(r)q(r) according to Equation (66); the plasma domain 0≤r/a≤10 \le r/a \le1 and the external vacuum region r/a>1r/a > 1 are separated by means of a red vertical line. The equilibrium magnetic fields are represented in panel (b), where the magnitude of the azimuthal field BϑB_\vartheta has the functional shape deduced in Equation (65). In panel (c), the plasma current density profiles are depicted. It is observed that Jz=J0∼0.067J_z = J_0 \sim0.067, which is consistent with the relation assumed in the derivation of the analytical model, i.e. q0=2B0/μ0J0R0q_0 = 2B_0/\mu_0J_0R_0, when B0=1B_0 = 1 and μ0=1\mu_0 = 1 according to the SpeCyl normalization. Panel (d) represents the plasma density, assumed to be uniform in the computational domain.

The analytical FCM assumes a free plasma-vacuum interface at r=ar = a. To reproduce this condition in SpeCyl, the time-scale of the inner shell is set such that τw,a/τA=10−6\tau_{w,a}/\tau_A = 10^{-6}. This results in a transparent wall (instantaneous magnetic diffusion, negligible wall conductivity) consistent with the free boundary treatment, which has already been proven to be a suitable set-up for the modelling of free boundary MHD linear modes[31], due to the 3D velocity BCs (see Section II). Consequently, the second wall time constant τw,b\tau_{w,b} (denoted as τw\tau_w in the theoretical derivation of § 0.5) will be the only shell time constant whose values will be varied in the verification of the FCM discussed below, thus acting as the only effective conducting structure. In the rest of the paper, the attention is focused on the mode (m=2,n=1)(m = 2, n = 1). The initial equilibrium[32], is destabilized by means of a velocity perturbation whose magnitude is set by C=10−6C = 10^{-6}, which reads:

δvrm,n=Crsin⁡(πra)m+2cos⁡(mϑ−nz/R0).(40)\delta v_r^{m,n} = \frac{C}{r}\sin\left(\frac{\pi r}{a}\right)^{m+2}\cos(m\vartheta- nz/R_0). \tag*{(40)}

A consistency test is devised to check the effective numerical implementation of the set of equations that make up the new boundary module. Given a typical SpeCyl simulation of a RWM with the new boundary conditions developed in § 0.4, the test considers the continuity of Et\mathbf{E}_t across neighbouring media for each time-step Δt=tk+1−tk\Delta t = t^{k+1} - t^k of the SpeCyl workflow: in correspondence with the plasma edge r=ar = a, it compares the evolution of Eϑm,nE_\vartheta^{m,n}, Ezm,nE_z^{m,n} when obtained according to the two routes onto which Equations (19), (20) are built. The plasma side expression (in dashed red) computes the tangential components via

the generalized Ohm’s law, reading:

Et,am,n=ηa(∇×Bm,n)t,a−(v×B)t,am,n,(41)\mathbf{E}_{t,a}^{m,n} = \eta_a(\nabla\times\mathbf{B}^{m,n})_{t,a} - (\mathbf{v} \times\mathbf{B})_{t,a}^{m,n}, \tag*{(41)}

while the vacuum side expression (in black) results in a particular version of (11), which reads as follows:

Et,am,n=aτw,au^r×Bt,am,n∣a−a+.(42)E_{t,a}^{m,n} = \frac{a}{\tau_{w,a}} \hat{u}_r \times\left.\mathbf{B}_{t,a}^{m,n}\right|_{a^-}^{a^+}. \tag*{(42)}

Equation (41) evaluates plasma fields at the time frame tk+1t^{k+1}, numerically determined according to the MHD equations solved in the plasma domain. Equation (42) considers numerically computed plasma fields together with the resistive shell fields at tk+1t^{k+1}, and magnetic field expressions based on double vacuum coefficients Θljsm,n\Theta_{ljs}^{m,n}, Zljsm,nZ_{ljs}^{m,n} presented in the Appendix A. The test is particularly meaningful due to the intrinsic non-linearities involved in the timestepping scheme[27, 30] and because the electric field is not directly evolved by SpeCyl. Equation (41) and Equation (42) are here computed in post-processing and combine the multiple dependences on all modes of B\mathbf{B}, v\mathbf{v}. In this sense, the agreement displayed in Figure 4 for the entire duration of the simulation tested, including both the linear growth phase and the nonlinear saturation phase, is significative. Eϑ,am,nE_{\vartheta,a}^{m,n} and Ez,am,nE_{z,a}^{m,n} are evolving almost identically when comparing their plasma side value and their vacuum side value. This confirms the new BCs are correctly framed into the SpeCyl iterative and modal dependent structure, determining a coherent evolution of the simulated quantities. The smooth behaviour in the saturation phase highlights the absence of edge field errors when the amplitudes of the harmonic components entering the convolutions are of comparable magnitude.

Figure 4. Comparison of the edge tangential electric fields Eϑm,nE_\vartheta^{m,n} in panel (a) and Ezm,nE_z^{m,n} in panel (b), considering the case: mode (m=2,n=1)(m = 2, n = 1), safety factor q(a)=q0=1.5q(a) = q_0 = 1.5, shell position b/a=1.1b/a = 1.1 and wall constant τw,b/τA=1000\tau_{w,b}/\tau_A = 1000. For both the azimuthal and toroidal electric fields, the plasma expression in r=ar = a is compared to the vacuum expression in r=ar = a, for the whole duration of the simulation.

Comparison of SpeCyl profiles with the linear theory

This subsection presents the dynamics and field profiles of a SpeCyl simulation with the new BCs (covering both the linear and nonlinear phases) and comparison with Shafranov’s FCM linear analytical theory. The same simulation already introduced in the previous subsection is considered with b/a=1.1b/a = 1.1, τw,b/τA=1000\tau_{w,b}/\tau_A = 1000, resulting in an unstable (m=2,n=1)(m = 2, n = 1) RWM. The outcome of the simulation is reported in Figure 5. Panel (a) of Figure 5 shows the evolution in time of the value of Br2,1(r,t)B_r^{2,1}(r,t) at the plasma boundary r=ar = a (red curve) and at the resistive shell r=br = b (blue curve): a linear stage and a nonlinear (or saturated) stage can be identified in both curves. Panel (b) displays the evolution in time of the azimuthal magnetic field discontinuity [Bϑ2,1]rw[B_\vartheta^{2,1}]_{r_w} across the two shells, obtained as

Figure 5. Features of a typical SpeCyl simulation using the new BCs, with q(a)=1.5q(a)=1.5, τw,b/τA=1000\tau_{w,b}/\tau_A=1000 and b/a=1.1b/a=1.1. In panel (a), the time evolution of edge radial magnetic fields is shown. The red line denotes the Br2,1B_r^{2,1} at the r=ar=a radial position, while the blue line denotes the Br2,1B_r^{2,1} at r=br=b. A linear and a saturated stage are present in their evolution. The black dashed line represents the linear fit employed to estimate growth rates linear trend. The vertical green dashed line identifies a time snapshot in the linear stage and the cyan one has the same role for the saturated stage. The same colours are employed in the subsequent panels. Panel (b) adopts the same approach of panel (a) to represent [Bθ2,1]rw[B_\theta^{2,1}]_{rw}. Panel (c) shows the Br2,1B_r^{2,1} profile over the radial coordinate, for the two time snapshots in the linear and nonlinear phases, respectively. The linear behaviour matches the Shafranov’s flat current model analytical expectations, indicated by the dashed black line. The cyan saturated profile displays a smoother behaviour at the plasma edge. The vertical dashed lines represent the two thin shells at r=ar=a (red) and at r=br=b (blue).

[Bϑ2,1]rw=Bϑ2,1∣rw+−Bϑ2,1∣rw−.(43)[B_\vartheta^{2,1}]_{r_w} = B_\vartheta^{2,1}\big|_{r_w^+} - B_\vartheta^{2,1}\big|_{r_w^-}. \tag*{(43)}

For the plasma edge, the notation rw−r_w^- refers to the field value at r=ar = a in the plasma domain, while the notation rw+r_w^+ refers to the vacuum field value at r=ar = a. For the shell in r=br = b, rw−r_w^- refers to the field value computed in the inner vacuum region, while rw+r_w^+ refers to the field values in r=br = b as computed in the outer vacuum region. The azimuthal magnetic field discontinuity [Bϑ2,1]rw[B_\vartheta^{2,1}]_{r_w} is directly related to the axial electric field Ez,w2,1E_{z,w}^{2,1} because of (11) and Ohm’s law for the resistive shell Ez,w2,1=ηwJz,w2,1E_{z,w}^{2,1} = \eta_w J_{z,w}^{2,1} gives the corresponding current density.

The red curve in panel (b) of Figure 5 represents the discontinuity of Bϑ2,1B_{\vartheta}^{2,1} for the shell in rw/a=1r_w/a = 1 having the wall time constant set as τw,a/τA=10−6\tau_{w,a}/\tau_A = 10^{-6}: its magnitude over time is small (∼10−13\sim10^{-13}), meaning that the azimuthal magnetic field is nearly continuous when comparing its plasma value and its vacuum value. This confirms the transparent wall nature of the inner shell, for which the magnetic field diffusion is almost instantaneous with respect to the plasma mode timescales. The blue curve in the same panel refers to the shell in r=br=b, for which τw,b/τA=103\tau_{w,b}/\tau_A = 10^3: the magnitude of the time evolution of [Bϑ2,1]b[B_{\vartheta}^{2,1}]_b is larger due to the finite conductivity of the shell.

Panel (c) of Figure 5 shows the radial profile of the magnetic field component Br2,1B_r^{2,1} (the eigenfunction) for both the plasma and the double vacuum region. Outside the plasma domain, the Br2,1B_r^{2,1} profile from SpeCyl is extended using a combination of Bessel functions that arise as a solution of the cylindrical Laplace problem (see Appendix A) for the double vacuum region associated with 1<r/a≤21 < r/a \le2. In the plasma domain 0≤r/a≤10 \le r/a \le1, the green profile, which refers to the linear stage of the mode, increases as a linear function in rr. Indeed, the FCM (introduced in § 0.5) is also reported for comparison as a black dashed line: the predicted eigenfunction (see Appendix § 0.7.3) is characterized by a very simple analytical solution, which goes linearly with rr and matches the simulation results.

The radial derivative of the linear Br2,1B_r^{2,1} profile (in green) is discontinuous across the thin shell in r=br=b with wall time constant τw,b/τA=103\tau_{w,b}/\tau_A = 10^3, due to the presence of a transient localized current. In fact, according to Equation (10), the evolution of the radial magnetic field across the resistive shell is driven by the slope imbalance of Br2,1B_r^{2,1} in the two regions. A resistive thin shell will then damp the currents over the penetration time τw\tau_w. The linear Br2,1B_r^{2,1} profile (in green) also shows an apparent discontinuity in its radial derivative for r=ar=a, which is not expected due to the transparent wall nature of the inner shell. A closer inspection of the linear Br2,1B_r^{2,1} profile confirms that the discontinuity of the radial derivative is localized just inside the edge of the plasma domain (r=ar=a), where surface currents3, induced by RWM instability, occur. In the large aspect ratio limit, the axial component of such a current perturbation is predominant. The perturbation Jz2,1J_z^{2,1} is associated with a discontinuity in Bϑ2,1B_{\vartheta}^{2,1} and, due to the solenoidal condition for Bm,n\mathbf{B}^{m,n}, it also determines the discontinuity mentioned above for ∂(rBr2,1)/∂r\partial(rB_r^{2,1})/\partial r. The presence of surface current perturbations in the linear phase of free-boundary instabilities, such as external kinks and RWMs, is expected from analytical theory[46] and was already discussed in the SpeCyl external kink simulations[31].

Finally, to conclude, in panel (c) the radial profile associated with a saturated time snapshot is represented in cyan: the linear character in the plasma is lost and the profile is smoother across the resistive shell in b/a=1.1b/a = 1.1 (even if the discontinuity is not completely removed), because the mode has almost completely penetrated it. In other words, the cyan profile in the 1<r/a≤21 < r/a \le2 region resembles the one valid for a single vacuum, as if the outer shell was not present.

Extended verification study: comparison of growth rates

The verification of the new BCs in the SpeCyl code focuses on the (m=2,n=1)(m = 2, n = 1) mode, addressing the main parameters that affect the RWM stability. In particular, three tests are proposed to verify the correctness of the implementation, with the objective of reproducing the FCM growth rates. The first is based on SpeCyl simulations for three discrete wall time constants τw/τA\tau_w/\tau_A, while b/ab/a spans a range between 1 and 2; the second test considers two values of b/ab/a and a wide range for the dimensionless variable τw/τA\tau_w/\tau_A. Both tests are associated with a specific equilibrium, q(a)q(a) being fixed. The third test aims, instead, to demonstrate the robustness of the new boundary module against variations in the equilibrium configuration, in a similar way with respect to the analysis found in Ref.[47]. The FCM determines a uniform safety factor profile across the radial coordinate; therefore, the variations of q(a)q(a) correspond to different flat current values and equilibria. These tests add to previous verification studies of the SpeCyl code[30, 31], including for the first time the RWM stability.

Verification with respect to the shell proximity

The linear growth rates resulting from SpeCyl are obtained by fitting the amplitude of the radial magnetic field Brm,n(a,t)B^{m,n}_r(a,t) during the linear phase, as exemplified in panel (a) of Figure 5. The results of the first test are shown in Figure 6: the new version of SpeCyl reproduces the analytical growth rates with good agreement, especially in the RWM regime when the wall position b/ab/a is close to the edge of the plasma. In addition, the threshold for the transition of the RWM into an external kink (around the critical proximity threshold (b/a)lim⁡=1.189(b/a)_{\lim} = 1.189, depicted as a black dotted vertical line in Figure 6) is correctly captured by SpeCyl growth rates: the solid blue line valid for τw/τA=10000\tau_w/\tau_A = 10000 shows a steep increase in the growth rate value close to r/a≥1.189r/a \ge1.189, as expected from the change in the nature of the mode. The transition is progressively less steep for the other two curves with increasingly small wall time constants, because of the smaller difference in the growth rate between the RWM and the external kink mode regimes. For other cases, at larger γ\gamma values and for smaller wall time constants (i.e. for low conductivity shells), the presence of an offset between the predicted growth rates and the simulated ones is observed.

Figure 6. Comparison of growth rates estimates obtained by means of SpeCyl and the numerically solved dispersion relations. The asterisks are the SpeCyl estimated growth rate values, while the three solid lines are the analytical predictions, obtained for a discrete τw/τA\tau_w/\tau_A each and in a range of b/ab/a between 1 and 2. The edge safety factor considered is q(a)=1.5q(a)=1.5 and the focus is on the (m=2,n=1)(m=2,n=1) mode.

The relatively small offset reaches its asymptotic value for large b/ab/a values: this is evident when comparing the numerical and analytical no-wall limit growth rates, approached for increasing values of b/ab/a. SpeCyl reproduces ideal MHD instabilities on slightly longer timescales with respect to the ideal plasma embedded in the analytic theory, especially in the external kink regime. This is consistent with the fact that the best agreement is achieved for relatively small growth rates, such as those of the RWMs. A possible explanation for the observed offset of the numerical growth rates with respect to the analytical ones in the no-wall limit is related to the ideal plasma conditions (μ=0,η=0\mu= 0, \eta= 0) assumed by the analytical theory. The SpeCyl code solves a more complete set of equations that assume a visco-resistive plasma (η\eta, μ\mu are small but finite). It is therefore reasonable to expect the plasma non-idealities to introduce an additional effect with respect to the plasma inertia accounted for in the analytical theory. Indeed, as observed in Refs.30,31, the agreement with ideal theory improves as the visco-resistive dissipation is reduced (i.e., when MM, SS are increased), although the discrepancy could not be entirely removed.

Verification with respect to the wall time constant

The second test addresses the verification of the impact of the wall time constant. Figure 7 confirms the good agreement shown by the first test. In this case, growth rates are reported for two discrete wall positions b/ab/a and with the wall time constant τw/τA\tau_w/\tau_A covering six decades. The bi-logarithmic representation is consistent with the one given in Refs.^{42,48} and allows the inverse dependence of γ\gamma on the wall time constant τw\tau_w to be shown when investigating a close-fitting configuration (see Equation (39)). Figure 7 displays two solid curves: the blue corresponds to a wall position further from the plasma than the critical threshold (b/a)crit=1.189(b/a)_{crit}=1.189 (thus the (m=2,n=1)(m=2,n=1) kink mode still is unstable even if the wall was perfectly ideal), while the red is obtained for a wall position within such a threshold (thus the (m=2,n=1)(m=2,n=1) kink mode would be completely stable in the ideal wall limit: in this sense, only the red line represents a proper RWM). The critical threshold is also represented as a dotted black line. The growth rate estimates are in good agreement with the expected trend.

Figure 7. Comparison of growth rates estimates produce by SpeCyl and the numerically solved dispersion relations for two discrete values of b/ab/a, with τw/τA\tau_w/\tau_A spanning over six decades. The solid lines are the analytic predictions, while the asterisks are the SpeCyl estimates. The edge safety factor is q(a)=1.5q(a)=1.5, for the mode (m=2,n=1)(m=2,n=1).

Verification with respect to the reference equilibria

The third verification test is reported in Figure 8. In this case, SpeCyl simulations are performed for varying q(a)q(a), with fixed wall position b/a=1.2b/a=1.2 and wall time constant τw/τA=1000\tau_w/\tau_A=1000. The quantity represented on the y-axis incorporates the value of the edge safety factor, according to the treatment given in Refs.[31, 47]. The new version of the code is confirmed to be capable of producing reliable growth rate estimates also as the initial equilibrium is varied. The average relative error is found around 6%, at most. In particular, a better agreement with the analytical growth rates is confirmed for the RWM regime (i.e., the range between q(a)=1q(a)=1 and q(a)=1.48q(a)=1.48). Figure 8 represents a black dashed line for the edge safety factor value corresponding to the transition from RWM to an external kink: the threshold value is obtained by inverting the proximity threshold expression of Equation (37) and fixing the wall position b/ab/a. For b/a=1.2b/a=1.2, the discriminating edge safety factor is q(a)crit=1.48q(a)_{crit}=1.48: those equilibria characterized by q(a)<1.48q(a)<1.48 are associated with a RWM instability, while those equilibria for which q(a)>1.48q(a)>1.48 are prone to an external kink instability. In conclusion, the general result of the three tests is that the simulations performed with the new boundary module predict growth rates that agree well with those computed by the linear analytical model. In particular, the mean relative error is found around 6%, when analysing the entire set of simulations. A much smaller error around 3 − 4% was found in the RWM regime with small growth rates. It should be noted that a similar magnitude of the discrepancy (∼ 6%) was observed when investigating the results of simulations performed with the previous version of the code[31]. In that case, using the external kink dispersion relation (Equation (36)) as a reference and considering q(a)=1.5q(a) = 1.5, the maximum discrepancy was found around 6%, as in the present study.

Figure 8. Comparison of growth rates estimates for the (m=2,n=1)(m = 2, n = 1) mode, obtained by means of SpeCyl (asterisks) and the numerically solved dispersion relation (blue curve) for τw/τA=1000\tau_w/\tau_A = 1000 with q(a)q(a) in the range between 1 and 2, for a fixed shell position b/a=1.2b/a = 1.2. The other solid lines are the limit cases analytical predictions: the black one corresponds to the no-wall limit, while the red one is the ideal wall limit. The black dashed vertical line represents the critical edge safety factor (uniform and equal to q0q_0 due to Shafranov’s model assumptions), separating the equilibria destabilized by a RMW and those destabilized by an external kink.

Benchmark against RFX-mod device modelling

A second verification study of the new SpeCyl code is now presented, adopting a class of large aspect ratio equilibria initially studied by Wesson[5, 44], which replaces the FCM used for the just discussed extensive verification. The Wesson’s model allows simulations with more realistic safety factor profiles and has been shown to reproduce (when realistic parameters for the conducting structures are employed) the spontaneous (m=2,n=1)(m = 2, n = 1) RWM growth rates observed in the RFX-mod machine operated as a circular cross section low-current Ohmic tokamak[25]. The spirit of this section is to compare the SpeCyl linear growth rates prediction with those obtained with RFXlocking[49] simulations, using the same setup with current profile and shell parameters aiming at reproducing tokamak experiments in the RFX-mod device, as described in Ref.25. This activity constitutes a preliminary step in view of future validation studies[50] of the new SpeCyl code developed within this work, directly against the RFX-mod experimental measurements.

RFXlocking is a cylindrical code for the solution of the MHD force-balance equation (Newcomb’s equation) in the zero-pressure formulation, coupled with models for passive and active conductive structures surrounding the plasma. It was developed to model the feedback control of Tearing Modes (TMs) in the RFP configuration of the RFX-mod device[49] and later adapted to study both RWMs[25] and TMs[51] in RFX-mod tokamak discharges. The code is also used for other devices, such as JET[52]. In the study[25] targeted for this second verification test, the Wesson’s current profile Jz,00,0=Jz,0(1−(r/a)2)νJ_{z,0}^{0,0} = J_{z,0}(1 - (r/a)^2)^{\nu} was adopted with ν=1.2\nu= 1.2, to obtain a safety factor profile consistent with estimates from target RFX-mod tokamak discharges, with q(0)=0.82q(0) = 0.82 and q(a)=1.78q(a) = 1.78. These profiles are represented in Figure 9. The code employed the realistic aspect ratio for RFX-mod (with plasma minor

Figure 9. Wesson’s profile for the equilibrium axial current Jz0,0J_z^{0,0} and corresponding safety factor q(r)q(r).

and major radius equal to a=0.459a = 0.459 m, R0=2R_0 = 2 m, respectively) and the actual position and time constants of the passive structures corresponding to the Inconel alloy vacuum vessel (rw,a=0.490r_{w,a} = 0.490 m, τw,a=3\tau_{w,a} = 3 ms) and of the Passive Stabilizing Shell (PSS)[53] made of copper (rw,b=0.5127r_{w,b} = 0.5127 m, τw,b=100\tau_{w,b} = 100 ms). In the absence of feedback control, the natural growth rate of the (m=2,n=1)(m = 2, n = 1) RWM was calculated by RFXlocking to be equal to γ=47\gamma= 47 s−1^{-1}, very close to the value of γ=44\gamma= 44 s−1^{-1} measured in the target RFX-mod tokamak discharge.

The same numerical setup has been reproduced in the SpeCyl code, with the main difference, with respect to RFXlocking, that the inner resistive wall is by construction located at the plasma radius r=ar = a. For this reason, a scan in τw,a\tau_{w,a} has been performed, from the most conservative assumption of a transparent wall (τw,a≪τA\tau_{w,a} \ll\tau_A), for which higher growth rates than in RFXlocking are expected and thus requiring a tighter control law, to the least conservative condition when the actual time constant of 3 ms is used, as in RFXlocking, although with the wall touching the plasma. Regarding the outer conducting shell, the proper shell proximity b/a=1.117b/a = 1.117 is used, with three values of the PSS time constant: the nominal value of 100 ms for a thin copper shell, the effective value of 125 ms as estimated in RFX-mod by penetration of the vertical field (m=1,n=0m = 1, n = 0) in vacuum (and interpreted as the effect of the outer mechanical stainless steel support structureRef. 54), and an intermediate value of 115 ms. It is worth remarking that the shell time constants estimated in Ref. 54 must be doubled for direct comparison with those of this work, as they are based on a definition that differs by a factor of 1/2 from that of Equation (12). Such wall time constants are converted into dimensionless units, required in SpeCyl, by computing the Alfvén time τA\tau_A consistent with the RFX-mod plasma parameters taken from Ref. 25 and listed in Table II. The Alfvén time obtained is τA=1.97⋅10−7 s\tau_A = 1.97 \cdot10^{-7}\ \mathrm{s}. The resulting wall time constants in Alfvénic units are τw,a/τA=15051\tau_{w,a}/\tau_A = 15051 (corresponding to 3 ms) and τw,b/τA=501711\tau_{w,b}/\tau_A = 501711 (corresponding to 100 ms).

Core electron densitynen_e2⋅1019 m−32 \cdot10^{19}\ \mathrm{m}^{-3}
Plasma currentIpI_p1.5⋅105 A1.5 \cdot10^5\ \mathrm{A}
Minor plasma radiusaa0.459 m0.459\ \mathrm{m}
Inverse aspect ratioϵ\epsilon0.22950.2295
Edge safety factorq(a)q(a)1.781.78

Table II. Experimental parameters for the target RFX-mod tokamak discharges for Resistive Wall Modes studies, as found in Ref. 25.

The resulting growth rates, converted into physical units, are represented in Figure 10. The flexible setup characterizing the new version of SpeCyl allows for a sensitivity analysis. Looking from left to right, for transparent wall conditions at r=ar = a (τw,a≲10−7 ms\tau_{w,a} \lesssim10^{-7}\ \mathrm{ms}), γ\gamma is insensitive to the inner shell and depends only on τw,b\tau_{w,b}, while, as τw,a\tau_{w,a} grows to large values, γ\gamma decays. The blue curve in Figure 10 is the reference and obtained for a PSS with a wall time constant τw,b=100 ms\tau_{w,b} = 100\ \mathrm{ms}. The curve shows the growth rate behaviour as the first wall at the plasma edge moves from a transparent wall setup to the effective wall constant value for the Inconel vessel (rightmost value corresponding to τw,a=3 ms\tau_{w,a} = 3\ \mathrm{ms}). For the transparent wall limit, SpeCyl predicts the (m=2,n=1m = 2, n = 1) RWM growth rate as γ∼46 s−1\gamma\sim46\ \mathrm{s}^{-1}, while for the realistic τw,a\tau_{w,a} it gives γ∼35 s−1\gamma\sim35\ \mathrm{s}^{-1}. As a reference, the value of γ=47 s−1\gamma= 47\ \mathrm{s}^{-1} was produced by RFXlocking simulations[25], which was shown to be in good agreement with the experimental observations for RFX-mod, giving γ=44 s−1\gamma= 44\ \mathrm{s}^{-1}, as already mentioned. A similar trend for varying τw,a\tau_{w,a} is observed in the other two curves for τw,b=115 ms\tau_{w,b} = 115\ \mathrm{ms}, τw,b=125 ms\tau_{w,b} = 125\ \mathrm{ms}, although with lower growth rates consistent with the longer time constants of the stabilizing shell.

Figure 10. SpeCyl estimates for growth rates obtained with the setup in Ref.[25].

Overall, the natural growth rates computed by SpeCyl fall in the correct order of magnitude as predicted by RFXlocking and observed in the target RFX-mod experiments. The best agreement is found for the nominal value of τw,b\tau_{w,b} (as in RFXlocking) and in the transparent limit of the inner wall. On the other hand, when the inner wall is included with the nominal time constant as in RFXlocking, the resulting growth rate is 25% smaller than what the latter predicted. However, it must be kept in mind that the SpeCyl result must be regarded as conservative because the inner wall is placed at the plasma boundary instead of being located at a finite distance as in RFXlocking, in which, due to the presence of graphite tiles, there is a 3 cm gap between the plasma edge and the inner wall location. In addition, RFXlocking neglects plasma inertia, whereas SpeCyl accounts for it. Therefore, the outcome of this second and more realistic verification exercise of the new SpeCyl boundary module can be said to be substantially satisfactory and to confirm the improved predictive capabilities of the new code version. Future investigations will address a more in-depth validation with respect to RFX-mod observations and will also aim to deliver predictions for the upcoming RFX-mod2 device.

Summary and final outlook

This paper presents a fundamental improvement of the SpeCyl boundary module: a double shell/double vacuum treatment for the magnetic field was derived and self-consistently merged with the pre-existing free flow treatment at the plasma edge[26], enabling the simulation of RWMs. This task required the numerical implementation of new equations in the boundary module, addressing a double wall and a double vacuum dynamics compliant with the spectral and nonlinear nature of SpeCyl. A successful extensive verification against Shafranov’s analytical theory was performed for the (m=2m = 2, n=1n = 1) resistive wall and external kink modes, based on a set of different equilibrium configurations characterized by uniform current profiles. Next, flexibility in the choice of the wall positions and of the wall time constants was fully exploited for the second satisfactory benchmark study against RFX-mod tokamak modelling, which proved the abilities of SpeCyl towards realistic experimental modelling and growth rates prediction. The two verifications confirmed the predictive capabilities of the numerical tool in the case of a circular section large aspect ratio tokamak and opened the path for the further use of SpeCyl for physics-based studies focused on the RFX-mod[53, 55] and RFX-mod2[56, 57] machines, in both RFP and tokamak configurations. In summary, the magneto-fluid boundary conditions are now addressed in the SpeCyl code with high-fidelity and self-consistency, enabling a reliable estimation of growth rates for free boundary instability scenarios. These features (similarly to the case of VDEs[14, 58, 59]), are crucial for the simulation of RWMs, ubiquitous and dangerous modes arising from the unavoidably finitely conducting structures enclosing the plasma.

This study is part of a wider effort[60, 61] aimed at improving the predictive capability of the SpeCyl code with a focus on both the tokamak and specifically the RFP configuration[62, 63], which is actively investigated at Consorzio RFX (Padua, Italy). The coupling between internal MHD dynamics and a realistic magnetic front-end in the RFP configuration will be the subject of future investigations concerning the magnetic feedback control of the experiments. Adopting the double shell implementation as a basis, the further inclusion of feedback control coils is believed to be important for numerical studies on RFX-mod and RFX-mod2[64, 65], also considering the RFP interest in the improved confinement Quasi Single Helicity (QSH) states[36, 60, 66]. These are self-organized states characterized by a large scale helical structure, with the dominance of one saturated mode over the rest of the spectrum. Until now, numerical investigations of QSH states have relied on the enforcement of Magnetic Perturbations (MPs) at the plasma edge: these externally set perturbations confirmed the possibility of inducing the selected helical state, driving the QSH plasma rearrangement[66], and were able to sustain the achieved RFP configuration[67] on time scales longer than the penetration time of passive resistive shells. In addition, MPs were proven to be essential to mitigate sawtooth activity in MHD tokamak modelling[68]. In general, the aim of these MPs was to mimic a modal radial magnetic field[66] at the plasma edge (which in real experiments is produced by control coils): the double shell implementation discussed in this work could make this picture even more realistic, since the second resistive shell located in the double coaxial vacuum (and the planned feedback control coils) is expected to naturally and self-consistently sustain the radial magnetic field modes at the plasma boundary. Moreover, the double shell implementation will improve the estimation of the expected MHD perturbation levels[64] at the RFX-mod2 boundary, which is crucial for a quantification of plasma-wall interaction determining the attainable high current plasma regimes. To conclude, the new implementation of SpeCyl achieved with this work allows for further physics-based studies aiming to closely reproduce the experimental settings.

Author Contributions

Francesco Galeazzi: Conceptualization (lead); Software (lead); Formal analysis (lead); Investigation (lead); Methodology (lead); Visualization (lead); Writing – original draft (lead); Writing – review & editing (lead). Daniele Bonfiglio: Conceptualization (lead); Writing – original draft (equal); Writing – review & editing (lead); Formal analysis (equal); Investigation (equal); Methodology (lead). Luca Spinicci: Conceptualization (equal); Writing – review & editing (lead); Formal analysis (equal); Investigation (equal); Methodology (equal). Susanna Cappello: Conceptualization (equal); Writing – review & editing (equal); Investigation (equal); Methodology (equal); Supervision (lead).

Acknowledgments

The authors would like to thank the colleagues G. Marchiori and P. Zanca for helpful discussions and valuable suggestions during the development of this paper. This work has been partially supported by the Program Implementation Agreement PRN MASE - ENEA of 2024/07/12 for activities set out in Art.3 c1d D.M. n. 386 2023/11/17 and Consorzio RFX. This work has been partially funded by the EPSRC Fusion Grant 2022/27 [grant number EP/W006839/1].

Declaration of interest

The authors have no conflict of interest to disclose.

Data availability statement

Data supporting the findings of this study were obtained using SpeCyl (Consorzio RFX non-public code) and are stored on a private computing server. The data are available from the corresponding author upon request, subject to authorization from Consorzio RFX.

Double vacuum coefficients

This section provides details about the magnetic field in the double vacuum region surrounding the cylindrical plasma. In addition, the expression of the double vacuum coefficients employed throughout the investigation is shown. In the vacuum surrounding the plasma, there is no charge or current density: the (quasi) magneto-static problem descends from the Maxwell equations assuming ρ=0\rho= 0, J=0J = 0. The irrotational character of the magnetic field is met if each Fourier mode of the magnetic field satisfies

Bm,n=∇φm,n,(44)\mathbf{B}^{m,n} = \nabla\varphi^{m,n}, \tag*{(44)}

where φm,n\varphi^{m,n} is a scalar modal potential of shape

φm,n(r,ϑ,z)=φm,n(r)exp⁡(imϑ−inz/R0).(45)\varphi^{m,n}(r,\vartheta,z) = \varphi^{m,n}(r)\exp(im\vartheta- inz/R_0). \tag*{(45)}

Using the solenoidal condition, the Laplace equation Δφm,n=0\Delta\varphi^{m,n}=0 is obtained; its version in cylindrical coordinates gives the modified Bessel equation for φm,n\varphi^{m,n}:

r2d2φm,n(r)dr2+rdφm,n(r)dr−(m2+n2R02r2)φm,n(r)=0.(46)r^2\frac{\mathrm{d}^2\varphi^{m,n}(r)}{\mathrm{d}r^2}+r\frac{\mathrm{d}\varphi^{m,n}(r)}{\mathrm{d}r}-\left(m^2+\frac{n^2}{R_0^2}r^2\right)\varphi^{m,n}(r)=0. \tag*{(46)}

The potential then has the following expression, when n≠0n\ne0, and taking advantage of the subscript l=1,2l=1,2 to address the vacuum region for which the expression holds:

φlm,n=[AlIm(∣n∣rR0)+BlKm(∣n∣rR0)]exp⁡(imϑ−inz/R0).(47)\varphi_l^{m,n}=\left[A_l I_m\left(\frac{|n|r}{R_0}\right)+B_l K_m\left(\frac{|n|r}{R_0}\right)\right]\exp(im\vartheta-inz/R_0). \tag*{(47)}

The constants Al,BlA_l,B_l are determined by suitable boundary conditions, and Im,KmI_m,K_m are the modified Bessel functions69 of order mm. The most general shape of this potential is introduced in the next lines, while a discussion of special cases (either the case of large aspect ratio equivalent to n=0n=0, and the axisymmetric case (m=0,n=0m=0,n=0)) can be found in Ref. 26. The general n≠0n\ne0 double-vacuum expressions for the magnetic field components are obtained by solving two BVPs accounting for the magnetic behaviour in correspondence of the vacuum domain edges: for a perfect conductor, the normal component of B\mathbf{B} is null, and so Brm,n=0B_r^{m,n}=0. For resistive materials, the sustained Brm,nB_r^{m,n} can be different from zero. In general, the tangential components of B\mathbf{B} are free but must meet the solenoidal condition. These physical conditions are related to φm,n\varphi^{m,n} using Equation (44), which implies Br,lm,n=∂φlm,n/∂rB_{r,l}^{m,n}=\partial\varphi_l^{m,n}/\partial r. The first BVP to determine A1,B1A_1,B_1 is solved in the vacuum region for which a≤r≤ba\le r\le b, assuming two finite values for Brm,nB_r^{m,n} at the edges. These are Brm,n(a)B_r^{m,n}(a), Brm,n(b)B_r^{m,n}(b), determined according to the dynamics of the corresponding thin shell described by Equation (10). Such fields are the computational unknowns managed and evolved by SpeCyl, resulting fundamental in defining the equations of the renewed boundary module, as presented in § 0.4. The second BVP to determine A2,B2A_2,B_2 is solved in the vacuum region for which b≤r≤cb\le r\le c and imposes Brm,n(b)B_r^{m,n}(b), Brm,n(c)=0B_r^{m,n}(c)=0 as boundary values. The ideal wall radius, i.e. rw=cr_w=c, is typically set to a large value, so that the presence of such a wall does not affect the dynamics and is only used to close the system of equations. However, if needed, it can also be placed at a finite distance to the plasma and other conducting elements, for instance to represent a thick/quasi-ideal structure.

The modal values of A1,B1,A2,B2A_1,B_1,A_2,B_2 are reported below, built as combinations of the derivatives of modified Bessel functions (denoted Im′I_m^{\prime}, Km′K_m^{\prime}) and highlighting the role of shell-fields. Each of the two vacuums is addressed by the subscript l=1,2l = 1, 2:

A1m,n=α1amnBrm,n(a)+α1bmnBrm,n(b),B1m,n=β1amnBrm,n(a)+β1bmnBrm,n(b),A2m,n=α2bmnBrm,n(b),B2m,n=β2bmnBrm,n(b).(48)\begin{aligned} \mathcal{A}_1^{m,n} &= \alpha_{1a}^{mn} B_r^{m,n}(a) + \alpha_{1b}^{mn} B_r^{m,n}(b),\\ \mathcal{B}_1^{m,n} &= \beta_{1a}^{mn} B_r^{m,n}(a) + \beta_{1b}^{mn} B_r^{m,n}(b),\\ \mathcal{A}_2^{m,n} &= \alpha_{2b}^{mn} B_r^{m,n}(b),\\ \mathcal{B}_2^{m,n} &= \beta_{2b}^{mn} B_r^{m,n}(b). \tag*{(48)} \end{aligned}

These constants are constructed according to:

α1amn=Km′(∣n∣bR0)Im′(∣n∣aR0)Km′(∣n∣bR0)−Im(∣n∣bR0)Km′(∣n∣aR0),\alpha_{1a}^{mn} = \frac{K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)-I_m\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)},
α1bmn=−Km′(∣n∣aR0)Im′(∣n∣aR0)Km′(∣n∣bR0)−Im(∣n∣bR0)Km′(∣n∣aR0),\alpha_{1b}^{mn} = \frac{-K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)-I_m\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)},
β1amn=Im′(∣n∣bR0)Im′(∣n∣bR0)Km′(∣n∣aR0)−Im′(∣n∣aR0)Km′(∣n∣bR0),\beta_{1a}^{mn} = \frac{I_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)-I_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)},
β1bmn=−Km′(∣n∣aR0)Im′(∣n∣bR0)Km′(∣n∣aR0)−Im′(∣n∣aR0)Km′(∣n∣bR0),\beta_{1b}^{mn} = \frac{-K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)-I_m^{\prime}\left(\frac{\lvert n\rvert a}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)},
α2bmn=−Km′(∣n∣cR0)Im′(∣n∣cR0)Km′(∣n∣bR0)−Im′(∣n∣bR0)Km′(∣n∣cR0),\alpha_{2b}^{mn} = \frac{-K_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)-I_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)},
β2bmn=Im′(∣n∣cR0)Im′(∣n∣cR0)Km′(∣n∣bR0)−Im′(∣n∣bR0)Km′(∣n∣cR0).(49)\beta_{2b}^{mn} = \frac{I_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)} {I_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)-I_m^{\prime}\left(\frac{\lvert n\rvert b}{R_0}\right)K_m^{\prime}\left(\frac{\lvert n\rvert c}{R_0}\right)}. \tag*{(49)}

Taking advantage of the latter expressions, the radial magnetic field modes result as follows, for the first and second vacuums (see Equation (14) in Section III):

Br,1m,n=[A1m,nIm′(∣n∣rR0)+B1m,nKm′(∣n∣rR0)]exp⁡(imϑ−inz/R0),(50)B_{r,1}^{m,n} = \left[\mathcal{A}_1^{m,n} I_m^{\prime}\left(\frac{\lvert n\rvert r}{R_0}\right) + \mathcal{B}_1^{m,n} K_m^{\prime}\left(\frac{\lvert n\rvert r}{R_0}\right)\right]\exp\left(im\vartheta- inz/R_0\right), \tag*{(50)}
Br,2m,n=[A2m,nIm′(∣n∣rR0)+B2m,nKm′(∣n∣rR0)]exp⁡(imϑ−inz/R0).(51)B_{r,2}^{m,n} = \left[\mathcal{A}_2^{m,n} I_m^{\prime}\left(\frac{\lvert n\rvert r}{R_0}\right) + \mathcal{B}_2^{m,n} K_m^{\prime}\left(\frac{\lvert n\rvert r}{R_0}\right)\right]\exp\left(im\vartheta- inz/R_0\right). \tag*{(51)}

Along tangential directions (ϑ,z)(\vartheta, z), Equation (44) combined with the assumed periodic character causes algebraic conditions dependent on the shape of φlm,n\varphi_l^{m,n} to arise. These yield, taking advantage of Equation (47):

Bϑ,lm,n=−imR0∣n∣r[Alm,nIm(∣n∣rR0)+Blm,nKm(∣n∣rR0)]exp⁡(imϑ−inz/R0),(52)B_{\vartheta,l}^{m,n}=-i\frac{mR_0}{|n|r}\left[A_l^{m,n}I_m\left(\frac{|n|r}{R_0}\right)+B_l^{m,n}K_m\left(\frac{|n|r}{R_0}\right)\right]\exp(im\vartheta-inz/R_0), \tag*{(52)}

and

Bz,lm,n=in∣n∣[Alm,nIm(∣n∣rR0)+Blm,nKm(∣n∣rR0)]exp⁡(imϑ−inz/R0).(53)B_{z,l}^{m,n}=i\frac{n}{|n|}\left[A_l^{m,n}I_m\left(\frac{|n|r}{R_0}\right)+B_l^{m,n}K_m\left(\frac{|n|r}{R_0}\right)\right]\exp(im\vartheta-inz/R_0). \tag*{(53)}

Equations (A9), (A10) are rewritten to highlight the role of Brm,n(a)B_r^{m,n}(a), Brm,n(b)B_r^{m,n}(b) and evaluated for r=ar=a, to comply with their use in Equations (31), (32) of the renewed boundary module aiming at enforcing the continuity of tangential electric fields for the thin shell in r=ar=a:

Bϑ,lm,n=iΘlaam,nBrm,n(a)+iΘlabm,nBrm,n(b),Bz,lm,n=iZlaam,nBrm,n(a)+iZlabm,nBrm,n(b).(54)\begin{aligned} B_{\vartheta,l}^{m,n} &= i\Theta_{laa}^{m,n}B_r^{m,n}(a)+i\Theta_{lab}^{m,n}B_r^{m,n}(b),\\ B_{z,l}^{m,n} &= iZ_{laa}^{m,n}B_r^{m,n}(a)+iZ_{lab}^{m,n}B_r^{m,n}(b). \tag*{(54)} \end{aligned}

These, in turn, require the definition of (again l=1,2l=1,2):

Θlaam,n=mR0∣n∣a[αlam,nIm(∣n∣aR0)+βlam,nKm(∣n∣aR0)],Θlabm,n=mR0∣n∣a[αlbm,nIm(∣n∣aR0)+βlbm,nKm(∣n∣aR0)],Zlaam,n=n∣n∣[αlam,nIm(∣n∣aR0)+βlam,nKm(∣n∣aR0)],Zlabm,n=n∣n∣[αlbm,nIm(∣n∣aR0)+βlbm,nKm(∣n∣aR0)].(55)\begin{aligned} \Theta_{laa}^{m,n} &= \frac{mR_0}{|n|a}\left[\alpha_{la}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{la}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right],\\ \Theta_{lab}^{m,n} &= \frac{mR_0}{|n|a}\left[\alpha_{lb}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{lb}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right],\\ Z_{laa}^{m,n} &= \frac{n}{|n|}\left[\alpha_{la}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{la}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right],\\ Z_{lab}^{m,n} &= \frac{n}{|n|}\left[\alpha_{lb}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{lb}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right]. \tag*{(55)} \end{aligned}

This appendix ends by presenting the double vacuum coefficients requested by the evolution of the general harmonic (n≠0)(n\ne0) of the radial magnetic field in correspondence with the two thin shells in r=a,br=a,b (Equations (25), (26)). Their expression is built on the expressions discussed so far and reads:

C1aam,n=R0∣n∣a(m2+n2a2R02)[α1am,nIm(∣n∣aR0)+β1am,nKm(∣n∣aR0)],C1abm,n=R0∣n∣a(m2+n2a2R02)[α1bm,nIm(∣n∣aR0)+β1bm,nKm(∣n∣aR0)],C1bam,n=R0∣n∣b(m2+n2b2R02)[α1am,nIm(∣n∣bR0)+β1am,nKm(∣n∣bR0)],C1bbm,n=R0∣n∣b(m2+n2b2R02)[α1bm,nIm(∣n∣bR0)+β1bm,nKm(∣n∣bR0)],C2bbm,n=R0∣n∣b(m2+n2b2R02)[α2bm,nIm(∣n∣bR0)+β2bm,nKm(∣n∣bR0)].(56)\begin{aligned} C_{1aa}^{m,n} &= \frac{R_0}{|n|a}\left(m^2+\frac{n^2a^2}{R_0^2}\right)\left[\alpha_{1a}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{1a}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right],\\ C_{1ab}^{m,n} &= \frac{R_0}{|n|a}\left(m^2+\frac{n^2a^2}{R_0^2}\right)\left[\alpha_{1b}^{m,n}I_m\left(\frac{|n|a}{R_0}\right)+\beta_{1b}^{m,n}K_m\left(\frac{|n|a}{R_0}\right)\right],\\ C_{1ba}^{m,n} &= \frac{R_0}{|n|b}\left(m^2+\frac{n^2b^2}{R_0^2}\right)\left[\alpha_{1a}^{m,n}I_m\left(\frac{|n|b}{R_0}\right)+\beta_{1a}^{m,n}K_m\left(\frac{|n|b}{R_0}\right)\right],\\ C_{1bb}^{m,n} &= \frac{R_0}{|n|b}\left(m^2+\frac{n^2b^2}{R_0^2}\right)\left[\alpha_{1b}^{m,n}I_m\left(\frac{|n|b}{R_0}\right)+\beta_{1b}^{m,n}K_m\left(\frac{|n|b}{R_0}\right)\right],\\ C_{2bb}^{m,n} &= \frac{R_0}{|n|b}\left(m^2+\frac{n^2b^2}{R_0^2}\right)\left[\alpha_{2b}^{m,n}I_m\left(\frac{|n|b}{R_0}\right)+\beta_{2b}^{m,n}K_m\left(\frac{|n|b}{R_0}\right)\right]. \tag*{(56)} \end{aligned}

For n=0n = 0, i.e. the large aspect ratio case, SpeCyl adopts suitable coefficients in which Bessel functions are replaced by polynomials of order mm.

MHD stability in the straight tokamak limit

The MHD linear stability analysis, employed for the derivation of the theoretical growth rates mentioned in this work, is here reviewed in the limit of a vanishing inverse aspect ratio tokamak with circular cross section. The study departs from a static equilibrium (v0=0\boldsymbol{v}_0 = 0) and adopts a perturbative perspective, having the poloidal flux function ψ(r,ϑ,z;t)\psi(r,\vartheta,z;t) and the instability growth rate γ\gamma as the main unknowns of the problem. Equilibrium quantities are denoted by the subscript “0”, and perturbed quantities are denoted by a “δ\delta” placed before their respective symbols. The starting MHD equations4 are the linearized momentum equation (which in principle considers the pressure contribution) and the linearized induction equation (the second is generated by a suitable combination of Equations (2) - (5)), as follows:

ρ0∂δv∂t=−∇δp+ρ0ν0Δδv+δj×B0+J0×δb,(57)\rho_0 \frac{\partial\delta\boldsymbol{v}}{\partial t} = -\nabla\delta p + \rho_0\nu_0\Delta\delta\boldsymbol{v} + \delta\boldsymbol{j} \times\boldsymbol{B}_0 + \boldsymbol{J}_0 \times\delta\boldsymbol{b}, \tag*{(57)}
∂δb∂t=∇×(δv×B0)+ημ0Δδb.(58)\frac{\partial\delta\boldsymbol{b}}{\partial t} = \nabla\times(\delta\boldsymbol{v} \times\boldsymbol{B}_0) + \frac{\eta}{\mu_0}\Delta\delta\boldsymbol{b}. \tag*{(58)}

In the derivation of these equations from the basic MHD plasma modelling, the density field has been assumed constant, in compliance with the approach followed by SpeCyl5. The perturbed velocity and magnetic fields (δv\delta\boldsymbol{v} and δb\delta\boldsymbol{b}, respectively) are as: δv=∇×(φu^z)\delta\boldsymbol{v} = \nabla\times(\varphi\hat{\boldsymbol{u}}_z), δb=∇×(ψu^z)\delta\boldsymbol{b} = \nabla\times(\psi\hat{\boldsymbol{u}}_z), where u^z\hat{\boldsymbol{u}}_z is the axial (or toroidal) unit vector and ψ\psi and φ\varphi are the poloidal flux function and the stream function, respectively. The main unknown is ψ\psi, because the ideal version (η=0\eta= 0) of Equation (58) produces the relation φ=φ(ψ)\varphi= \varphi(\psi). The modal expression for ψ\psi is written as follows, so that Equations (57), (58) are Fourier transformed in the periodic coordinates ϑ\vartheta, zz:

ψm,n(r,ϑ,z;t)=Ψm,n(r)exp⁡(imϑ−inz/R0)exp⁡(γt).(59)\psi^{m,n}(r,\vartheta,z;t) = \Psi^{m,n}(r)\exp(im\vartheta- inz/R_0)\exp(\gamma t). \tag*{(59)}

The two key elements in Equation (59) are the mode eigenfunction Ψm,n(r)\Psi^{m,n}(r) and the mode growth rate γ∈C\gamma\in\mathbb{C}. Two important relations involving ψm,n\psi^{m,n} are:

ξrm,n=ψm,nF(r),(60)\xi_r^{m,n} = \frac{\psi^{m,n}}{F(r)}, \tag*{(60)}
Brm,n=imrψm,n.(61)B_r^{m,n} = \frac{im}{r}\psi^{m,n}. \tag*{(61)}

The first arises from the indefinite partial time-integrated ideal perturbed evolution equation for B\boldsymbol{B}, once set δv=∂ξ/∂t\delta\boldsymbol{v} = \partial\boldsymbol{\xi}/\partial t and where ξ\boldsymbol{\xi} is the plasma displacement. The factor F(r)F(r) is a function dependent on the mode and equilibrium considered. Its expression reads

F(r)=Bϑ0,0−(nr/mR0)Bz0,0,(62)F(r) = B_{\vartheta}^{0,0} - \left(nr/mR_0\right)B_z^{0,0}, \tag*{(62)}

in which the superscript (0,0)(0,0) denotes equilibrium fields. The second condition arises directly from the radial projection of Bm,n=∇×(ψu^z)\mathbf{B}^{m,n} = \nabla\times(\psi\hat{\mathbf{u}}_z), in which the perturbed radial magnetic field δbr\delta b_r is rewritten as Brm,nB_r^{m,n}, in accordance with the SpeCyl notation. From now on, the modal indices (m,n)(m,n) appearing in ψm,n\psi^{m,n}, Ψm,n\Psi^{m,n} are removed to access a more compact notation. The Laplace operator acting on the scalar field ψ\psi, decomposed into its orthogonal part (the one associated with coordinates r,ϑr,\vartheta) and into its parallel part (associated with coordinate zz), reads

Δψ=1r∂∂r(r∂ψ∂r)+1r2∂2ψ∂ϑ2⏟Δ⊥ψ+∂2ψ∂z2⏟Δ∥ψ.(63)\Delta\psi= \underbrace{\frac{1}{r}\frac{\partial}{\partial r}\left(r\frac{\partial\psi}{\partial r}\right)+\frac{1}{r^2}\frac{\partial^2\psi}{\partial\vartheta^2}}_{\Delta_\perp\psi} + \underbrace{\frac{\partial^2\psi}{\partial z^2}}_{\Delta_\parallel\psi}. \tag*{(63)}

The perpendicular part Δ⊥ψ\Delta_\perp\psi enters the main theoretical tool adopted to derive the dispersion relation, whereas the parallel term vanishes in the large aspect ratio limit. The torque balance equation (also adopted in Ref.⁴⁰) describes the electromagnetic torques acting on the unstable plasma column and is now derived in the ideal limit of MHD, i.e., assuming vanishing plasma resistivity η\eta and dynamic viscosity μ\mu. An equation for ψ\psi is obtained by applying the curl to the perturbed momentum balance equation (Equation (57)) and isolating its zz component, after some manipulations:

Δ⊥ψ−μ0mBϑ(m−nq)∂Jz∂rψ=−γ2μ0rBϑ(m−nq)[ρ0Δ⊥(rBϑ(m−nq)ψ)+∂ρ0∂r∂∂r(rBϑ(m−nq)ψ)].(64)\Delta_\perp\psi-\frac{\mu_0m}{B_\vartheta(m-nq)}\frac{\partial J_z}{\partial r}\psi=-\gamma^2\frac{\mu_0r}{B_\vartheta(m-nq)} \left[ \rho_0\Delta_\perp\left(\frac{r}{B_\vartheta(m-nq)}\psi\right) +\frac{\partial\rho_0}{\partial r}\frac{\partial}{\partial r}\left(\frac{r}{B_\vartheta(m-nq)}\psi\right) \right]. \tag*{(64)}

The previous equation involves the safety factor qq for a circular cross section toroidal plasma, as expressed by Equation (34). Through q(r)q(r), the specific version of the torque balance equation (Equation (64)) will depend on the equilibrium profiles adopted for Bϑ(r)B_\vartheta(r), JzJ_z (or equivalently BzB_z), and ρ0\rho_0. The next step consists of integrating the torque balance equation over the radial coordinate, after having assumed a specific shape for the above mentioned profiles. The integration makes then evident that the only relevant quantities entering Equation (59) are Ψ(r)\Psi(r) and γ\gamma, as anticipated. These results are basically equivalent to those achievable with the Energy Principle⁴⁵,⁷⁰, whose main unknown is the plasma displacement ξ\boldsymbol{\xi}. This second approach is only briefly outlined to present some of its basic features necessary to define the characteristic features of the Shafranov’s FCM: in particular, it will yield the shape for Ψ\Psi. Plasma displacement ξ\boldsymbol{\xi} is Fourier decomposed as ξ=∑m,nξm,n\boldsymbol{\xi}=\sum_{m,n}\boldsymbol{\xi}^{m,n}, in which the plasma modal displacement is ξm,n=ξrm,nu^r+ξtm,n\boldsymbol{\xi}^{m,n}=\xi_r^{m,n}\hat{\mathbf{u}}_r+\xi_t^{m,n}. The equivalence of the two methods is discussed in Ref.³¹ and is based on the relation already presented, i.e. Equation (60). The result presented so far will now become particular, once the profiles Jz,ρ0J_z,\rho_0 are given a specific shape.

Analytic details on the Shafranov’s FCM

The Shafranov’s flat current model[38] assumes for the equilibrium axial current density and mass density a sharp step profile in correspondence to the plasma edge, expressed as J=J0H(a−r)u^zJ = J_0H(a-r)\hat{u}_z, ρ=ρ0H(a−r)\rho= \rho_0H(a-r). The static Ampère-Maxwell law projected along zz allows writing the poloidal component of B\mathbf{B} at equilibrium:

Bϑ(r)={12μ0J0rif r≤a,12μ0J0a2rif r>a.(65)B_\vartheta(r) = \begin{cases} \frac{1}{2}\mu_0 J_0 r & \text{if } r \leq a, \\ \frac{1}{2}\mu_0 J_0 \frac{a^2}{r} & \text{if } r > a. \end{cases} \tag*{(65)}

The axial magnetic field BzB_z is assumed to be uniform, i.e. Bz(r)=B0B_z(r) = B_0. These results allow computing the expression of the safety factor, where q0=2B0/μ0J0R0q_0 = 2B_0/\mu_0J_0R_0:

q(r)={q0if r≤a,q0r2a2if r>a.(66)q(r) = \begin{cases} q_0 & \text{if } r \leq a, \\ q_0\frac{r^2}{a^2} & \text{if } r > a. \end{cases} \tag*{(66)}

These two profiles (represented in Figure 3) are crucial to characterize the torque balance, i.e. Equation (64). Once substituted and having introduced a suitable numerical factor proportional to q02TA2q_0^2T_A^2, the torque balance equation reads

Δ⊥ψ−2mJ0(m−nq0)r∂Jz∂rψ=−γ2TA2/ϵ2q02(m−nq0)2[ρρ0Δ⊥ψ+∂∂r(ρρ0∂ψ∂r)].(67)\Delta_\perp\psi-\frac{2m}{J_0(m-nq_0)r}\frac{\partial J_z}{\partial r}\psi = -\frac{\gamma^2T_A^2/\epsilon^2q_0^2}{(m-nq_0)^2} \left[\frac{\rho}{\rho_0}\Delta_\perp\psi+\frac{\partial}{\partial r}\left(\frac{\rho}{\rho_0}\frac{\partial\psi}{\partial r}\right)\right]. \tag*{(67)}

The latter is singular when a resonance is met, i.e., when q(rs)=m/n=q0q(r_s) = m/n = q_0. In the current investigation q(rs)=2q(r_s) = 2 and the resonance radius rsr_s is externally localized with respect to the plasma. Equation (67) holds for r≤ar \leq a and is rewritten multiplicating by rr and eliminating the function ψ\psi from all terms because its radial partial derivative can be expressed proportionally to ψ\psi, i.e. ∂ψ/∂r=ψΨ′/Ψ\partial\psi/\partial r = \psi\Psi'/\Psi. The meaning of Ψ(r)\Psi(r), Ψ′(r)\Psi'(r) is clear from Equation (59). The resulting equation is further integrated on the radial coordinate, as anticipated in the previous section, defining a suitable integration domain across r=ar = a using positively and negatively displaced radii addressed by means of a+a^+, a−a^-. This procedure is simplified by the presence of Dirac delta functions, generated by the partial radial derivatives of quantities dependent on the Heaviside step function: ∂Jz/∂r∼δ(a−r)\partial J_z/\partial r \sim\delta(a-r), ∂ρ/∂r∼δ(a−r)\partial\rho/\partial r \sim\delta(a-r). The polynomial term arising in Δ⊥ψ\Delta_\perp\psi (the one associated with the partial derivative in ϑ\vartheta, see Equation (63)) is neglected because its continuity in rr cancels the corresponding contribution after integration. By doing so, the right hand side of Equation (67) is rewritten as the partial radial derivative of a product containing a Heaviside step function, which then cancels out the corresponding contribution for a+a^+. The torque balance equation describes the electromagnetic torques J×B\mathbf{J} \times\mathbf{B} that develop when the equilibrium is perturbed, ending in a differential condition for Ψ(r)\Psi(r) that indeed describes the linearized modal-dependent dynamics of the unstable cylindrical plasma:

r[Ψ′(r)Ψ(r)]a+2mm−nq0=γ2τA2/ϵ2q02(m−nq0)2[Ψ′(r)Ψ(r)]a−.(68)r\left[\frac{\Psi'(r)}{\Psi(r)}\right]_{a}+\frac{2m}{m-nq_{0}}=\frac{\gamma^{2}\tau_{A}^{2}/\epsilon^{2}q_{0}^{2}}{(m-nq_{0})^{2}}\left[\frac{\Psi'(r)}{\Psi(r)}\right]_{a^{-}}. \tag*{(68)}

The square brackets in the first term denote the evaluation across the radial position r=ar=a, generating two terms (for a+a^{+}, a−a^{-}). The expected discontinuity of Ψ\Psi is often referenced in the kink or tearing mode investigation literature[40, 41] using the symbol Δ′\Delta'. The previous condition is used as the first boundary condition to solve a suitable BVP for Ψ(r)\Psi(r) in the vacuum surrounding the plasma, where it obeys Ψ(r)=Arm+Br−m\Psi(r)=Ar^{m}+Br^{-m}. The shape of this general solution is easily retrieved when solving Equation (67) in vacuum, i.e. for vanishing current JzJ_{z} and density ρ\rho. The second boundary condition arises by integrating over rr the diffusion equation for the magnetic field perturbation in a thin shell at r=rwr=r_{w}, generated from Equation (58) when the flow field is vanishing, i.e.:

∂δb∂t=ηwμ0Δδb → r[Ψ′(r)Ψ(r)]rw=γτw.(69)\frac{\partial\delta b}{\partial t}=\frac{\eta_{w}}{\mu_{0}}\Delta\delta b\ \rightarrow\ r\left[\frac{\Psi'(r)}{\Psi(r)}\right]_{r_{w}}=\gamma\tau_{w}. \tag*{(69)}

The solution of the BVP produces the dispersion relation of the mode, conveyed by Equation (35), which accounts for both the plasma response at the MHD level (condition (C4)) and the presence of the thin resistive wall in rwr_{w} (described by condition (C5)). Although only a single resistive shell has been included in the analytical model presented here, the discussion can be extended to multiple wall configurations[18] and also to the direct inclusion of feedback coils.

The appendix ends by showing how Shafranov’s flat current model assumptions are employed to predict the shape for the radial magnetic field modes, given all the elements introduced so far. To obtain Ψ\Psi or ψ\psi, the easiest route is to rely on results that can be derived starting from the final considerations of Appendix B. By simple arguments departing from the Energy Principle[45, 70] and setting the analysis in the straight tokamak case for an incompressible plasma with negligible pressure gradients[31], the plasma modal displacement ξm,n\boldsymbol{\xi}^{m,n} results in the r−ϑr-\vartheta (poloidal) plane and reads:

ξm,n=ξr,am,n(ra)m−1(u^r+iu^ϑ)exp⁡(imϑ−inz/R0−iωt),(70)\boldsymbol{\xi}^{m,n}=\xi_{r,a}^{m,n}\left(\frac{r}{a}\right)^{m-1}\left(\hat{\mathbf{u}}_{r}+i\hat{\mathbf{u}}_{\vartheta}\right)\exp\left(im\vartheta-inz/R_{0}-i\omega t\right), \tag*{(70)}

where ξr,am,n\xi_{r,a}^{m,n} is the edge value of the radial displacement and ω\omega plays a role similar to γ\gamma. For the mode (m=2,n=1)(m=2,n=1), the radial plasma displacement results in a linear function in rr, because ξr2,1∼(r/a)\xi_{r}^{2,1}\sim(r/a). Given the same mode and taking advantage of the equilibrium profiles characterizing the FCM (Equation (65)), the shape of the factor F(r)F(r) results:

F(r)={12μ0J0(1−q0/2)rif r≤a,12μ0J0(a2/r−q0r/2)if r>a.(71)F(r)= \begin{cases} \frac{1}{2}\mu_0J_0(1-q_0/2)r & \text{if } r\leq a,\\ \frac{1}{2}\mu_0J_0(a^2/r-q_0r/2) & \text{if } r>a. \end{cases} \tag*{(71)}

Combining the last result with Equations (60), (61) produces the analytical shape for radial magnetic field mode Br2,1B_r^{2,1} in the plasma domain. It results in a linear function in rr, as ξr2,1\xi_r^{2,1} is for r≤ar\leq a. In fact:

Br2,1=2irF(r)ξr2,1∼ra.(72)B_r^{2,1}=\frac{2i}{r}F(r)\xi_r^{2,1}\sim\frac{r}{a}. \tag*{(72)}

The analytical shape prediction for Br2,1B_r^{2,1} is used in Section VI, where the comparison of the analytical radial profiles with the one obtained in a typical SpeCyl simulation is provided.

References

References

  1. [1]I. Bandyopadhyay, V. Igochine, O. Sauter, S. A. Sabbagh, J.-K. Park, E. Nardon, F. Vilone, M. Maraschek, G. Pautasso, N. Eidietis, et al., Nuclear Fusion 65, 103001 (2025).
  2. [2]Tokamak Disruption Simulation Project, https://tds-scidac.github.io/gallery/ (2023).
  3. [3]D. Biskamp, Nonlinear Magnetohydrodynamics (Cambridge University Press, 1993).DOI
  4. [4]R. S. Granetz, I. H. Hutchinson, J. Sorci, J. H. Irby, B. LaBombard, and D. Gwinn, Nuclear Fusion 36, 545 (1996).
  5. [5]J. A. Wesson, Tokamaks, 3rd ed. (Oxford University Press, 2004) Chap. 6.
  6. [6]A. Marx and H. Lütjens, Plasma Physics and Controlled Fusion 59, 064009 (2017).
  7. [7]M. Siccinio, W. Biel, E. Fable, T. Franke, F. Janky, P. Lang, M. Mattei, F. Maviglia, F. Palermo, O. Sauter, M. Tran, S. Van Mulders, and H. Zohm, Fusion Engineering and Design 179, 113123 (2022).
  8. [8]C. Gimblett, Nuclear Fusion 26, 617 (1986).
  9. [9]M. S. Chu and M. Okabayashi, Plasma Physics and Controlled Fusion 44, R1 (2002).
  10. [10]M. L. Walker, P. de Vries, F. Felici, and E. Schuster, Fusion Engineering and Design 96–97, 87 (2015).
  11. [11]C. M. Bishop, Plasma Physics and Controlled Fusion 31, 1179 (1989).
  12. [12]S. Cappello and D. Biskamp, Nuclear Fusion 36, 571 (1996).
  13. [13]H. R. Strauss, A. Pletzer, W. Park, S. Jardin, J. Breslau, and L. Sugiyama, Computer Physics Communications 164, 40 (2004), proceedings of the 18th International Conference on Numerical Simulation of Plasmas.
  14. [14]S. Jones, L. Chacón, J. Hamilton, D. Barnes, and A. Yagüe-López, (2026), 10.48550/arXiv.2606.05446.
  15. [15]T. Hender, C. Gimblett, and D. Robinson, Nuclear Fusion 29, 1279 (1989).
  16. [16]D. Schnack and S. Ortolani, Nuclear fusion 30, 277 (1990).
  17. [17]E. A. Saad and P. R. Brunsell, Plasma Physics and Controlled Fusion 64, 055011 (2022).
  18. [18]18Y. Liu, R. Albanese, A. Portone, G. Rubinacci, and F. Villone, Physics of Plasmas 15, 072516 (2008).
  19. [19]19R. Fitzpatrick, Nuclear Fusion 33, 1049 (1993).
  20. [20]20M. G. Haines, C. G. Gimblett, and R. J. Hastie, Plasma Physics and Controlled Fusion 55, 055002 (2013).
  21. [21]21R. Sparago, F. J. Artola, and M. Hoelzl, Plasma Physics and Controlled Fusion 67, 045021 (2025).
  22. [22]22L. E. Zakharov, S. A. Galkin, S. N. Gerasimov, and JET-EFDA Contributors, Physics of Plasmas 19, 055703 (2012).
  23. [23]23F. J. Artola, C. R. Sovinec, S. C. Jardin, M. Hoelzl, I. Krebs, and C. Clauser, Physics of Plasmas 28, 052511 (2021), https://pubs.aip.org/aip/pop/article-pdf/doi/10.1063/5.0037115/13919605/052511_1_online.pdf.
  24. [24]24N. Isernia, V. D. Pustovitov, F. Villone, and V. Yanovskiy, Plasma Physics and Controlled Fusion 61, 115003 (2019).
  25. [25]25P. Zanca, L. Marrelli, R. Paccagnella, A. Soppelsa, M. Baruzzo, T. Bolzonella, G. Marchiori, P. Martin, and P. Piovesan, Plasma Physics and Controlled Fusion 54, 094004 (2012), published August 2012.
  26. [26]26L. Spinicci, 3D Nonlinear MHD modelling studies: Plasma Flow and Realistic Magnetic Boundary Impact on Magnetic self-organisation in Fusion Plasmas, Phd thesis (2023), joint research doctorate in Fusion Science and Engineering (XXXV Cohort).
  27. [27]27F. Galeazzi, Development of resistive wall boundary conditions in the nonlinear MHD code SpeCyl for magnetically confined fusion plasmas, Master’s thesis, Politecnico di Milano (2025), Advisors: Matteo Passoni, Daniele Bonfiglio, Luca Spinicci.
  28. [28]28D. S. Harned and W. Kerner, Journal of Computational Physics 60, 62 (1985).
  29. [29]29D. Schnack, D. Barnes, Z. Mikic, D. S. Harned, and E. Caramana, Journal of Computational Physics 70, 330 (1987).
  30. [30]30L. Spinicci, D. Bonfiglio, L. Chacón, S. Cappello, and M. Veranda, AIP Advances 13, 095111 (2023), published 11 September 2023.
  31. [31]31L. Spinicci, D. Bonfiglio, S. Cappello, and M. Veranda, Journal of Plasma Physics 90, 995900601 (2024), published December 2024.
  32. [32]32G. L. Delzanno, L. Chacón, and J. M. Finn, Physics of Plasmas 15, 122102 (2008).
  33. [33]33V. D. Pustovitov, Physics of Plasmas 15 (2008), 10.1063/1.2943711, 072501.
  34. [34]34G. F. Nalesso and S. Costa, Nuclear Fusion 20, 1890 (1980).
  35. [35]35L. Chacón, Physics of Plasmas 15, 056103 (2008).
  36. [36]36D. Bonfiglio, L. Chacón, and S. Cappello, Physics of Plasmas 17, 082501 (2010).
  37. [37]37A. Quarteroni, F. Saleri, and P. Gervasio, Numerical Mathematics, 2nd ed., Texts in Applied Mathematics, Vol. 37 (Springer, 2010).
  38. [38]38V. D. Shafranov, Soviet Physics – Technical Physics 15, 175 (1970).
  39. [39]39M. Hoelzl, G. T. A. Huijsmans, P. Merkel, C. Atanasiu, K. Lackner, E. Nardon, K. Aleynikova, F. Liu, E. Strumberger, R. McAdams, I. Chapman, and A. Fil, Journal of Physics: Conference Series 561, 012011 (2014).
  40. [40]R. McAdams, Non-linear Magnetohydrodynamic Instabilities in Advanced Tokamak Plasmas, Ph.D. thesis, University of York, York, UK (2014), chapter 5.
  41. [41]A. L. Becerra, Resistive Wall and Error Field Studies Using the Extended MHD Code NIMROD, Master of science thesis, University of Wisconsin–Madison (2016).
  42. [42]N. M. Ferraro, S. C. Jardin, L. L. Lao, M. S. Shephard, and F. Zhang, Physics of Plasmas 23, 056114 (2016).
  43. [43]A. Marx and H. Lütjens, Plasma Physics and Controlled Fusion 59, 064009 (2017).
  44. [44]J. Wesson, Nuclear Fusion 18, 87 (1978).
  45. [45]J. P. Freidberg, Ideal MHD (Cambridge University Press, 2014) Chap. 8, 11.
  46. [46]L. E. Zakharov, Physics of Plasmas 18, 062503 (2011).
  47. [47]M. Tanaka, T. Tsuda, and T. Takeda, Nuclear Fusion 13, 119 (1973).
  48. [49]P. Zanca, Plasma Physics and Controlled Fusion 51, 015006 (2009).
  49. [50]M. Greenwald, Physics of Plasmas 17, 058101 (2010).
  50. [51]P. Zanca, R. Paccagnella, C. Finotti, A. Fassina, G. Manduchi, R. Cavazzana, P. Franz, C. Piron, and L. Piron, Nuclear Fusion 55, 043020 (2015).
  51. [52]A. Tonel, L. Piron, P. Zanca, D. Terranova, E. Delabie, K. Kirov, M. Lennholm, S. Menmuir, P. Martin, J. Contributors, and E. T. E. Team, Plasma Physics and Controlled Fusion (2025).
  52. [53]P. Piovesan, D. Bonfiglio, and F. e. a. Auriemma, Physics of Plasmas 20, 056112 (2013).
  53. [55]S. Peruzzo, M. Agostini, P. Agostinetti, M. Bernardi, P. Bettini, T. Bolzonella, A. Canton, L. Carraro, R. Cavazzana, S. D. Bello, et al., Fusion Engineering and Design 123, 59 (2017), proceedings of the 29th Symposium on Fusion Technology (SOFT-29) Prague, Czech Republic, September 5-9, 2016.
  54. [56]S. Peruzzo, M. Bernardi, R. Cavazzana, S. D. Bello, M. D. Palma, L. Grando, E. Perin, R. Piovan, A. Rizzolo, F. Rossetto, et al., Fusion Engineering and Design 136, 1605 (2018), special Issue: Proceedings of the 13th International Symposium on Fusion Nuclear Technology (ISFNT-13).
  55. [57]L. Marelli et al., in Proceedings of the 50th EPS Conference on Controlled Fusion and Plasma Physics (–, 2024) 8–12 July 2024.
  56. [58]S. E. Kruger, C. R. Sovinec, D. D. Schnack, and E. D. Held, Computer Physics Communications 64, 34 (2004).
  57. [59]K. J. Bunkers and C. R. Sovinec, Physics of Plasmas 27, 112505 (2020).
  58. [60]R. Lorenzini, E. Martines, P. Piovesan, D. Terranova, P. Zanca, M. Zuin, A. Alfier, D. Bonfiglio, F. Bonomo, A. Canton, et al., Nature Phys 5, 570–574 (2009).
  59. [61]M. Veranda, D. Bonfiglio, S. Cappello, D. F. Escande, F. Auriemma, D. Borgogno, L. Chacón, A. Fassina, P. Franz, M. Gobbin, D. Grasso, and M. E. Puiatti, Nuclear Fusion 57, 116029 (2017).
  60. [62]S. Cappello, D. Bonfiglio, D. F. Escande, S. C. Guo, A. Alfier, and R. Lorenzini, AIP Conference Proceedings 1069, 27 (2008).
  61. [63]D. F. Escande, What is a Reversed Field Pinch? Rotation and momentum transport in magnetized plasmas, Vol. 2 (P. H. Diamonds, X. Garbet, P. Ghendrih, and Y. Sarazin, World Scientific, 2014) Chapter 6, pp. 247–286.
  62. [64]L. Marrelli, R. Cavazzana, D. Bonfiglio, M. Gobbin, G. Marchiori, S. Peruzzo, M. E. Pujatti, G. Spizzo, D. Voltolina, P. Zanca, et al., Nuclear Fusion 59, 076027 (2019).
  63. [65]L. Marrelli, M. Barbisan, P. Bettini, M. Brombin, L. Carraro, O. D. Pascale, G. Dilecce, L. Grando, N. Marconato, S. Peruzzo, et al., Nuclear Fusion 66, 076032 (2026).
  64. [66]D. Bonfiglio, M. Veranda, S. Cappello, D. F. Escande, and L. Chacón, Physical Review Letters 111, 085002 (2013).
  65. [67]R. Paccagnella, D. Terranova, and P. Zanca, Nuclear Fusion 47, 990 (2007).
  66. [68]D. Bonfiglio, M. Veranda, S. Cappello, D. F. Escande, and L. Chacón, Plasma Physics and Controlled Fusion 59, 014032 (2017).
  67. [70]J. P. Freidberg, Plasma Physics and fusion energy (Cambridge University Press, 2014).

Paper details

vlnc:W_74q968p9
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents