Hostname: page-component-6766d58669-6mz5d Total loading time: 0 Render date: 2026-05-20T02:00:33.114Z Has data issue: false hasContentIssue false

An adjoint method for determining the sensitivity of island size to magnetic field variations

Published online by Cambridge University Press:  07 May 2021

Alessandro Geraldini*
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA Ecole Polytechnique Fédérale de Lausanne (EPFL), Swiss Plasma Center (SPC), CH-1015 Lausanne, Switzerland
M. Landreman
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA
E. Paul
Affiliation:
Department of Astrophysical Sciences, Princeton University, Princeton, NJ 08544, USA
*
Email address for correspondence: ale.gerald@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

An adjoint method to calculate the gradient of island width in stellarators is presented and applied to a set of magnetic field configurations. The underlying method for calculation of the island width is that of Cary & Hanson (Phys. Fluids B, vol. 3, issue 4, 1991, pp. 1006–1014) (with a minor modification), and requires that the residue of the island centre be small. Therefore, the gradient of the residue is calculated in addition. Both the island width and the gradient calculations are verified using an analytical magnetic field configuration introduced by Reiman & Greenside (Comput. Phys. Commun., vol. 43, issue 1, 1986, pp. 157–167). The method is also applied to the calculation of the shape gradient of the width of a magnetic island in a National Compact Stellarator Experiment (NCSX) vacuum configuration with respect to positions on a coil. A gradient-based optimization is applied to a magnetic field configuration studied by Hanson & Cary (Phys. Fluids, vol. 27, issue 4, 1984, pp. 767–769) to minimize stochasticity by adding perturbations to a pair of helical coils. Although only vacuum magnetic fields and an analytical magnetic field model are considered in this work, the adjoint calculation of the island width gradient could also be applied to a magnetohydrodynamic (MHD) equilibrium if the derivative of the magnetic field, with respect to the equilibrium parameters, is known. Using the island width gradient calculation presented here, more general gradient-based optimization methods can be applied to design stellarators with small magnetic islands. Moreover, the sensitivity of the island size may itself be optimized to ensure that coil tolerances, with respect to island size, are kept as high as possible.

Information

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

Figure 1. Poincaré plots showing magnetic field lines near the island separatrix in the Reiman magnetic field configuration with $\iota _\textrm {ax} = 0.15$, $\iota '_\textrm {ax} = 0.38$ and $\varepsilon _i = 0$ for $i\neq 6$, for $\varepsilon _6 = 0.001$ (a) and $\varepsilon _6 = 0.01$ (b).

Figure 1

Figure 2. Width of magnetic islands at the resonant flux surface with rotational transform $\iota _\textrm {res} = 1/6$ calculated for the Reiman model magnetic field with $\iota _\textrm {ax} = 0.15$, $\iota '_\textrm {ax} = 0.38$ and $\varepsilon _i = 0$ for $i\neq 6$, shown as a function of $\varepsilon _6$. (a) Uncorrected $w_{\perp }$ ($\times$) and corrected $w_{\perp } \bar {C} / C$ (+) computed values of width are compared with the analytical value $\bar {w}_{\perp }$ in (4.9) (solid line). Here, $w_{\perp }$ is calculated from (2.68), $C$ from (2.65) and $\bar {C}$ from (4.7). (b) Normalized error $| 1 - w_{\perp } / \bar {w}_{\perp }|$ ($\times$) and $| 1 - w_{\perp } \bar {C} / (\bar {w}_{\perp } C)|$ (+). For $\varepsilon _6 > 10^{-7}$, the error in the corrected width decreases linearly with $\varepsilon _6$, as expected from the discussion at the end of § 2. For smaller values of $\varepsilon _6$, this error changes sign and increases with $\varepsilon _6^{-2}$, most likely owing to round-off error propagation. One in five markers are shown in both plots. The toroidal angle resolution is $N_{\varphi } = 80$.

Figure 2

Figure 3. Errors, relative to a centred difference approximation, in the gradients of residue $\mathcal {R}$, circumference $C$, $\varSigma$ and island width $w_{\perp }$ calculated with respect to the on-axis rotational transform $\iota _\textrm {ax}$, its first derivative $\iota _\textrm {ax}'$ and the amplitude of the resonant perturbation $\varepsilon _6$ in the Reiman model. The errors $E(\delta )$, defined in (4.18), are shown as a function of a normalized finite-difference step size $\mathcal {R}^{-1} ( \partial \mathcal {R} / \partial \kappa ) \delta$. The configuration parameters are $\iota _\textrm {ax} = 0.15$, $\iota '_\textrm {ax} = 0.38$, $\varepsilon _6 = 0.01$ and $\varepsilon _i = 0$ for $i\neq 6$. The resonant flux surface has the rotational transform $\iota _\textrm {res} = 1/6$. The dashed line is $E(\delta ) = \delta ^2$. The toroidal angle resolution is $N_{\varphi } = 80$.

Figure 3

Figure 4. Poincaré plot for the configuration produced by NCSX coils. The island for which the shape gradient of the width is calculated in figure 5 is shown enlarged in the inset; its width using (2.68) is $w_{\perp } = 0.0106$ ($\mathcal {R} = 0.0149$).

Figure 4

Figure 5. Shape gradient of the width of one of the magnetic islands in the NCSX configuration (figure 4) with respect to the positions along a type-A modular coil (length $L_c = 7.29$), calculated using $N_{\varphi } = 30$ with: the adjoint method (solid lines); the centred difference scheme with $\delta \kappa _c = 10^{-4}$ (dashed lines). For each component, the mean residual between the two calculations is approximately $2\,\%$ of the mean absolute value. The adjoint calculation is over a hundred times faster.

Figure 5

Figure 6. Poincaré plots of unoptimized (a) and optimized (b) helical coil configurations. The squares indicate fixed points with residue $\mathcal {R}_1$, while the crosses are those with residue $\mathcal {R}_2$.

Figure 6

Figure 7. Helical coils corresponding to the initial unoptimized configuration (dotted line) and to the optimized configuration (solid line). Coil $1$ (red) carries the negative current ($-I_\textrm {heli}$).

Figure 7

Figure 8. Error convergence of the centred difference approximation of the gradient of the two residues to the adjoint calculation when $B_{-,1} = 0.18079$ and $A_{+,1} = 0.25268$. The finite-difference step size on the horizontal axis is normalized to $\mathcal {R}^{-1} ( \partial \mathcal {R} / \partial \kappa ) \delta$ for $\kappa \in \lbrace A_{+,1}, B_{-,1} \rbrace$. The legend labels with respect to which parameter the gradient was taken for the different symbols, and in brackets is the value of $N_{\varphi }$. The higher resolution, $N_{\varphi } = 80$, has an increased accuracy, although the optimization is carried out at $N_{\varphi } = 30$ to make it faster. The decrease of the converged error for larger $N_{\varphi }$ indicates a discretization error in the adjoint-based approach.