Hostname: page-component-77f85d65b8-zzw9c Total loading time: 0 Render date: 2026-03-30T04:41:53.754Z Has data issue: false hasContentIssue false

Impact of a free normal velocity boundary on the modelling of external MHD modes

Published online by Cambridge University Press:  12 November 2024

Luca Spinicci*
Affiliation:
Consorzio RFX (CNR, ENEA, INFN, Università di Padova, Acciaierie Venete SpA), C.so Stati Uniti 4, 35127 Padova, Italy
Daniele Bonfiglio
Affiliation:
Consorzio RFX (CNR, ENEA, INFN, Università di Padova, Acciaierie Venete SpA), C.so Stati Uniti 4, 35127 Padova, Italy Istituto per la Scienza e la Tecnologia dei Plasmi, CNR, C.so Stati Uniti 4, 35127, Padova, Italy
Susanna Cappello
Affiliation:
Consorzio RFX (CNR, ENEA, INFN, Università di Padova, Acciaierie Venete SpA), C.so Stati Uniti 4, 35127 Padova, Italy Istituto per la Scienza e la Tecnologia dei Plasmi, CNR, C.so Stati Uniti 4, 35127, Padova, Italy
Marco Veranda
Affiliation:
Consorzio RFX (CNR, ENEA, INFN, Università di Padova, Acciaierie Venete SpA), C.so Stati Uniti 4, 35127 Padova, Italy Istituto per la Scienza e la Tecnologia dei Plasmi, CNR, C.so Stati Uniti 4, 35127, Padova, Italy
*
Email address for correspondence: luca.spinicci@igi.cnr.it

Abstract

Free normal-flow (NF) conditions at the plasma boundary are shown to be essential for three-dimensional magnetohydrodynamic (MHD) simulations to agree with linear stability theory. A comparative verification study is presented between two different formulations of the boundary conditions (BCs) for velocity perturbations: (i) fully consistent free NF implementation and (ii) fixed NF formulation, neglecting flow perturbations at the numerical boundary. Numerical results are compared with consolidated figures of merit from the linear theory of external kink modes. We consider two classes of initial equilibria presenting different numerical challenges: a uniform current channel surrounded by pure vacuum and a shaped Wesson-like equilibrium, with smooth (polynomial) radial dependency. Only the fully consistent free NF formulation is invariably accurate in modelling the plasma interface at the numerical boundary, without the need of enforcing a pseudovacuum region at the edge of the simulation domain, as in most analogous past studies. This study employs the cylindrical code SPECYL (Cappello & Biskamp, Nucl. Fusion, vol. 36, no. 5, 1996, p. 571) that solves a full-MHD model without pressure gradients, whose fully consistent resistive wall module with free NF BCs was recently successfully verified against the independent code PIXIE3D (Spinicci et al., AIP Adv., vol. 13, no. 9, 2023, p. 095111).

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
Copyright © The Author(s), 2024. Published by Cambridge University Press
Figure 0

Figure 1. Schematic representation of the two boundary formulations. The plasma is represented in pink, surrounded by a thin resistive shell (claret) at $r=r_{\text {BC}}$ and by an outer ideal wall at $r=b>r_{\text {BC}}$ (in grey). In the free flow formulation (a), the plasma edge corresponds to the numerical boundary ($a=r_{\text {BC}}$), and a 3-D velocity is permitted: a black dotted contour suggests self-consistent edge flow modulation compliant with an $m=2$ external mode. Fixed flow boundary conditions are illustrated in (b): in this case, the numerical boundary is separated from the plasma interface by a PV region (in a lighter pink shade), and no flow perturbation is present at $r=r_\text {BC}$.

Figure 1

Figure 2. Initial equilibria employed in this study. The panels correspond to different velocity boundary formulations: (a) free NF and (b) fixed NF with PV (shaded). Subpanels (i) and (ii) report equilibria corresponding to the two alternative initial current profiles enforced. For each of the four combinations two diagrams are reported: the superior one illustrates SPECYL's initial current density and safety factor (in black), in comparison with the analytical model (coloured dashed lines), whereas the lower one displays the two equilibrium-relevant input profiles of SPECYL's density and resistivity (solid lines). The theoretical (infinitely sharp) mass density profile is also reported as an orange colour dashed line. Unlike elsewhere, the radial coordinate on horizontal axes is normalised to the plasma radius $a$ for better graphical clarity.

Figure 2

Table 1. Numerical set-up for the initial equilibria represented in figure 2. For each one we report the coefficients defining the input profiles of plasma resistivity ($A,\ B,\ C, \eta _{\max }/\eta _0$) and of plasma density ($\alpha,\ \rho _\text {BC}/\rho _0$), the number of radial points ($N_r$), yielding comparable resolution in the plasma region, depending on its width ($a/r_{\text {BC}}$).

Figure 3

Table 2. Numerical set-up for the dynamical evolution of SPECYL's simulations in this study. We report the adopted values for the 2-D helical pitch ($m/n$), the number of modes with positive $m$ ($N_{m>0}$), the aspect ratio ($R/a$), the ideal wall proximity to the plasma edge ($b/a$), whose typical value is underlined, the transparent shell time scale ($\tau _w/\tau _A$), the on-axis Lundquist number and uniform viscous Lundquist number ($S_0$ and $M$) and the simulations time step ($\Delta t/\tau _A$).

Figure 4

Figure 3. Comparison of linear growth rates for the flat current case study for $q_0=q_a=1.5$ and for various values of $S_0=M$. Free NF BCs asymptotically reach the ideal MHD theoretical value (dotted horizontal line) for vanishing plasma dissipation. The fixed NF BCs cross the target value around $S_0=M=10^{6}$ and decrease asymptotically towards stability (which is almost reached above $S_0=M=10^{12}$).

Figure 5

Figure 4. Comparison of linear growth rates for the flat current case study, for various values of $q(a)$. The theoretical dispersion relation is represented as a black contour. (a) The free NF BCs (blue) stick robustly to the theoretical expectation; (b) the fixed NF BCs with PV are mostly consistent with the ideal MHD theory in the target-crossing set-up (red), besides slightly lower precision for $q(a)\leq 1.4$ and $\gamma <0$ in the ideally stable domain (due to sensible dissipation levels). Such an overall positive result is, however, frail, as choosing a slightly more ideal set-up (green) visibly spoils the previous agreement.

Figure 6

Figure 5. Benchmark of eigenfunctions profiles between SPECYL simulations with different velocity BCs and the analytical theory (black, dashed curves), for the flat current equilibrium. (i,ii) The SPECYL 2/1 radial velocity and magnetic field are compared with the radial displacement $\xi _r^{2,1}$ and the radial magnetic eigenfunction of ideal MHD: (a) the free NF formulation reproduces remarkably the theoretical curves; (b) the target-crossing simulation with the fixed NF BCs and (c) the slightly more ideal simulation with the same BCs are mostly reliable in the plasma region, with significant discrepancies in the PV. All profiles are normalised at $r_*=0.9a$, indicated by vertical dotted lines. (iii) We also report the (axial) current density oscillations for a unitary magnetic perturbation, compared with the analytical $J_z^{2,1}(r)\approx J_{\text {surf }}^{2,1}\delta (r-a)$: exceeding currents across plasma interface sustain exaggerated pitch variation of $B_r^{2,1}$ for the fixed flow formulation.

Figure 7

Figure 6. Scan on the outer ideal wall proximity $b/a$, within the flat current model and for two different equilibria ($q(0)=1.1$ in (a), $q(0)=1.5$ in (b)): ideal wall stabilisation of MHD activity becomes increasingly effective as it closes in to the plasma edge (shaded). The best performing set-ups for both the free and the fixed NF boundary are compared with the theoretical prescription (black). Two vertical dotted lines highlight the tightest possible proximity with either approach: owing to finite PV width, the fixed NF formulation cannot reproduce a closer proximity than $r_{\text {BC}}/a\approx 1.136$.

Figure 8

Figure 7. Convergence study to the theoretical growth rate predicted by the LENS code (black dotted line) of SPECYL's simulations with free and fixed NF boundaries, respectively, employing the Wesson-like equilibrium with $q(a)\approx 1.8$, for various levels of plasma dissipation.

Figure 9

Figure 8. The linear growth rates of several Wesson-like equilibria, corresponding to diverse values of $q(a)$, are illustrated. We compare the theoretical expectation obtained by the LENS code with (a) SPECYL's simulations with the free NF boundary (blue), at a very reduced plasma dissipation, and (b) SPECYL's simulations with fixed NF, corresponding to the target-crossing dissipation level (red), as discussed in figure 7, and for a mildly more ideal plasma set-up (green). In this challenging numerical test, the free NF formulation retains quantitative and qualitative reliability, unlike the fixed NF formulation.

Figure 10

Figure 9. Comparison of radial profiles of $v_r^{2,1}$ (i), $B_r^{2,1}$ (ii) and $J_z^{2,1}$ (iii), for free NF (in blue) and fixed NF BCs with PV (target-crossing case in red). A dashed black line represents the theoretical profiles of ${\xi }_r^{2,1}/{\xi }_{r,*}^{2,1}$, $B_r^{2,1}/B_{r,*}^{2,1}$ and $J_z^{2,1}/J_{z,*}^{2,1}$ ($r_*$ being marked by vertical dotted lines), as computed by the LENS solver. The large resistivity gradient at plasma edge produces deviations of SPECYL's eigenfunctions from the theoretical model, especially visible for the flow and the current density profiles. For the fixed NF case, the PV behaves as a higher-resistivity plasma rather than a vacuum: $v_r^{2,1}$ presents the vertical asymptote at resonance ($r/a\approx 1.054$, indicated by a cyan dotted line) typical of tearing modes, while a variation in the pitch of $B_r^{2,1}$ reveals finite surface currents $\boldsymbol {J}^{2,1}$ at the same resonance layer, also clearly visible in (b iii).

Figure 11

Figure 10. Example of LENS's graphical elaboration: (a) stability analysis to the external kink mode of several initial equilibria as in (C1), corresponding to various values of $q(a)$ and $\lambda$; (b) poloidal projections of fluid and magnetic linear eigenfunctions in the case of a flat equilibrium current. Along with linear eigenfunctions, for each case the external resonance radius is indicated with a green dashed contour, and the axial surface currents codirected and counterdirected with respect to $J_{z}^{0,0}$ are indicated in blue and red, respectively. The illustrated predictions are perfectly in line with analogous figures on the past literature and with the analytical predictions described in Appendix A.

Figure 12

Figure 11. Initial flat current equilibrium, employed in Appendix D. (a) The SPECYL's unperturbed current density and safety factor (in black) are compared with the corresponding theoretical profiles (pink and teal, respectively). (b) The two equilibrium-relevant input profiles of density (black) and resistivity (red) are reported, along with the theoretical infinitely sharp mass-density profile (orange). The strongly discontinuous resistivity profile as in Ferraro et al. (2016) is able to produce an almost vanishing equilibrium current in the PV region.

Figure 13

Figure 12. The SPECYL's simulations with a flat current and $q(0)=1.1$, for various proximities of the ideal wall to the plasma edge. The analytical growth rate is reported in black. The SPECYL's simulations with the most favourable plasma dissipation set-up and discontinuous resistivity across plasma edge (full red dots) lie in remarkable agreement with the expectation, apart from a slight mismatch in the critical proximity. Fixed NF simulations already presented in figure 6 are also reported as empty red circles, while free NF simulations with the same plasma resistivity $S_0=M=10^8$ are reported in blue. This figure successfully reproduces figure 2 in Ferraro et al. (2016).

Figure 14

Figure 13. Comparison of the linear theory growth rates for several values of $q(a)$ for the flat current model (black line), with the best-performing set-ups for the fixed NF formulation, with a continuous resistivity across plasma interface (red empty circles, as in figure 4b) and with a discontinuous resistivity (full red dots). The latter reliably captures the correct stability boundaries and the expected growth rates as $q(a)\gtrsim 1$, but gradually detaches from the model predictions as the magnetic resonance approximates the plasma interface.