SPECTRE: A robust solver for 3D equilibria with arbitrary topology
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Physics. The day in general physics: instruments, methods and results across the field.
Kai: I'm Kai.
Mira: And I'm Mira, here with Lev.
Kai: We're looking at the paper: "SPECTRE: A robust solver for 3D equilibria with arbitrary topology".
Mira: Here's the gist of the paper. SPECTRE presents a new equilibrium code based on the Multi-Region relaxed MHD model for robustly calculating 3D equilibria with general magnetic topology allowing for flux surfaces, magnetic islands, and chaos.
Kai: General 3D Equilibria Background Time-independent solutions to the Magnetohydrodynamic (MHD) equations satisfying J × B = ∇p are essential for the description of magnetically confined fusion plasmas.
Mira: In tokamaks, where the plasma possesses axisymmetry, the magnetic field foliates a continuous set of nested flux surfaces.
Kai: However, axisymmetry does not hold in general, e.g., in stellarators or tokamaks with resonant magnetic perturbations.
Title and authors: Kai: So we’re talking about this paper, SPECTRE: A robust solver for three dee equilibria with arbitrary topology, and the authors are Balkovic, Loizu, Lanti, Smiet, Lazzati, Ramasamy, Goodman and Geiger <ref:2607.27135#pg1,SPECTRE: A robust solver for 3D equilibria with arbitrary topology>.
Mira: The title itself tells you the goal is to create a new equilibrium code that can handle three dee magnetic fields in a very general way <ref:2607.27135#pg1>. It's not just for simple shapes anymore; it includes flux surfaces but also magnetic islands and even chaos.
Lev: So what this means practically is that we are moving away from solving problems where we assume the field is perfectly symmetric or has simple nested surfaces, which was the norm for a long time in tokamak simulations.
Kai: Exactly, and they state that general three dee equilibria are really important because they leave out potential equilibrium states with more general topology than what simpler solvers can find <ref:2607.27135#pg1>.
Mira: They separate these into two categories: relaxation codes that evolve the plasma like a fluid, and the Multi-Region relaxed MHD or MRxMHD approach which directly finds an equilibrium state as a set of Taylor-relaxed plasma subvolumes.
Lev: The MRxMHD model itself is based on the relaxation principle devised by Taylor in one thousand nine hundred seventy-four where you minimize the energy while keeping global helicity conserved <ref:2607.27135#pg2>.
Kai: And SPECTRE takes that variational model, SPEC, and makes it more robust by using a new force formulation and better minimization techniques.
Mira: The core idea is that they are using a global polynomial-Fourier basis to express the interface geometry in cylindrical coordinates, which lets them represent the interface shape in terms of poloidal and toroidal angles theta and zeta.
Lev: That representation is not unique unless you impose extra angle constraints, which means they have to be careful about what kind of boundary shapes they are testing.
The paper's summary: Kai: So the paper summarizes how SPECTRE solves these general three dee equilibria by using that MRxMHD model, expressing the geometry via a double Fourier series for interfaces <ref:2607.27135#pg1>.
Mira: They explain that to solve this, SPEC requires knowing the total toroidal and poloidal fluxes enclosed by each subvolume along with the total subvolume helicity.
Lev: And they show how you can iterate on those helicity and flux values using various combinations of constraints like toroidal current or integrated current in each volume.
Kai: They also mention that SPEC previously struggled with things like δ-function current sheets on resonant rational surfaces and singular Pfirsch-Schlüter current densities when pressure gradients are present, which can cause numerical issues.
Mira: SPECTRE is designed to handle those issues by using the trust-region minimization and the real space force representation to avoid those specific numerical pitfalls.
Lev: They claim that SPECTRE can recover correct fixed boundary equilibria with fully nested flux surfaces and without islands when it's in that simple case, agreeing with results from VMEC.
Kai: So, in summary, the paper shows they took an existing variational model and significantly improved the solving process to handle a much wider range of magnetic field topologies than before.
The paper's improvements: Mira: The key improvements they highlight are three things: first, the trust-region based minimization for force calculation which guarantees bounded steps.
Lev: So it’s not just a speedup; it’s about robustness. It avoids the issues you see with methods like the Powell method because those steps stay within a predictable domain.
Kai: Second, they switched to a real space representation of the force on a chosen grid, which lets them sample interfaces much better in high-curvature regions.
Mira: That means they get a better scaled force representation compared to just using truncated Fourier descriptions for that geometry.
Lev: And third, coupling it with map2disc so it can use isosurfaces of the Laplace equation as an initial guess for the MRxMHD interfaces.
Kai: So, that combination—better force minimization, better interface sampling, and a smarter initialization—is what really allows SPECTRE to be more robust in finding those complex states.
Conclusion: Mira: To wrap up the paper on SPECTRE: A robust solver for three dee equilibria with arbitrary topology, they show that this new code can reliably calculate equilibria across a much broader range of magnetic field topologies <ref:2607.27135#pg1,SPECTRE: A robust solver for 3D equilibria with arbitrary topology>.
Kai: They verified it on configurations with known solutions in both vacuum and finite beta, showing agreement with HINT calculations for strongly-shaped equilibria.
Lev: And they confirmed that when things are simple—like fully nested flux surfaces without islands—SPECTRE agrees with VMEC results.
Kai: The implication is that we have a more reliable tool now to explore the space of possible magnetic field configurations, which is really important for designing fusion devices.
Mira: It opens the door to studying those complex, non-axisymmetric scenarios where magnetic islands and chaos are present, which were previously too difficult to tackle reliably.
Lev: For me, I'm just glad they showed how the overhead of these new solvers lands; it seems like a worthwhile investment for getting access to that more general solution space.
Kai: Yeah, SPECTRE is now out there publicly available under the MIT license at gitlab.com/spectre-eq/spectre, so other researchers can try it out with their own setups.
Mira: It's a solid step forward in computational physics, moving beyond just solving for simple tokamak geometries to tackling the more general three dee problem of magnetic confinement <ref:2607.27135#pg1>.
E. Balkovic, J. Loizu, E. Lanti, C. Smiet, C. Lazzati, Ramasamy, A. Goodman, J. Geiger
École Polytechnique Fédérale de Lausanne Institute for Plasma Physics, Swiss Plasma Center, Switzerland Institute of SCITAS, École Polytechnique Fédérale de Lausanne, Switzerland Proxima Fusion GmbH Munich Max-Planck-Institut für Plasmaphysik Greifswald York Plasma Institute University of York
physics.plasm-ph, physics.comp-ph
Submitted: 2026-07-29
Updated: 2026-07-29
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 92/100
The gist: SPECTRE presents a new equilibrium code based on the Multi-Region relaxed MHD model for robustly calculating 3D equilibria with general magnetic topology allowing for flux surfaces…
Key concepts
- Multi-Region relaxed MHD (MRxMHD)
- This is a variational model used to describe general plasma equilibria. It is based on the relaxation principle where plasma evolves to minimize energy while conserving global helicity. The model uses an energy functional composed of magnetic energy and helicity for each volume.
- Trust-region based minimization
- SPECTRE uses this method to find equilibrium states by minimizing the force in real space. It works by locally approximating the objective function with a quadratic model, ensuring that optimization steps remain bounded within a defined domain. This makes the solver more robust and reliable than root-finding methods.
- Real space force representation
- Instead of using Fourier descriptions, SPECTRE represents the magnetic force in real space on a chosen grid that samples an interface. This allows for advanced sampling schemes, such as denser sampling where curvature is high, providing a more accurate and scaled force representation for the solver.
Terminology
Summary
SPECTRE presents a new equilibrium code based on the Multi-Region relaxed MHD model for robustly calculating 3D equilibria with general magnetic topology allowing for flux surfaces, magnetic islands, and chaos. p. 0 Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
General 3D Equilibria Background
Time-independent solutions to the Magnetohydrodynamic (MHD) equations satisfying J × B = ∇p are essential for the description of magnetically confined fusion plasmas. In tokamaks, where the plasma possesses axisymmetry, the magnetic field foliates a continuous set of nested flux surfaces. p. 0 They also form the basis for predictive
calculations of macroscopic plasma stability, core micro-turbulence, and power exhaust
at the plasma edge. In tokamaks, where the plasma possesses axisymmetry, the magnetic
field foliates a continuous set of nested flux surfaces. This fact simplifies the equilibrium
problem, which then boils down to solving the well-understood hyperbolic 2D GradShafranov equation (Shafranov 1958). However, axisymmetry does not hold in general,
e. However, axisymmetry does not hold in general,
e. , in stellarators or tokamaks with resonant magnetic perturbations, or in the presence
of kink modes and tearing modes. , in stellarators or tokamaks with resonant magnetic perturbations, or in the presence
of kink modes and tearing modes. In such a scenario, flux surfaces can be broken, leading to a magnetic field with
a changed topology, featuring magnetic islands and field-line chaos.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
MRxMHD Model Formulation
The Multi-Region relaxed MHD (MRxMHD) is a variational model for describing general plasma equilibria. The idea behind it originates from the relaxation principle devised by Taylor (1974), which states that the plasma evolves in such a way that the energy is minimized, while the global helicity is conserved. p. 1 MRxMHD
MRxMHD is a variational model for describing general plasma equilibria. The idea
behind it originates from the relaxation principle devised by Taylor (1974), which states
that the plasma evolves in such a way that the energy is minimized, while the global
helicity is conserved. In MRxMHD, the plasma is divided into subvolumes that are
separated by ideal interfaces (flux surfaces with B · nˆ = 0), and the evolution constraint
is the integrated helicity in each of these volumes. The model is made precise through
an energy functional that is composed of a term involving the magnetic energy Wl and
the helicity Hl of each volume:
F = W+
∑
l
µl(Hl−H0
l
) = ∑
l
∫
Vl
dV (
B2
2µ0
+
pl
γ − 1
)
+µl
(∫
Vl
dV A · B − H0
l
)
(1.Where the paper says it
Where the paper says it
SPECTRE Improvements and Minimization
SPECTRE improves upon SPEC by using a new formulation of force, the use of a stable trust-region-based least squares minimization scheme, as well as several additional features. The force is instead represented in real space on a chosen (θ, ζ) grid that samples an interface. p. 3 Such an error also tends to cause problems for subsequent runs where
one wants to increase the Fourier resolution, since in this case, the solver is given a poor
initial guess with a large initial force residual. In SPECTRE, the force is instead represented in real space on a chosen (θ, ζ) grid
that samples an interface, with an adjustable spacing which can be chosen appropriately
to balance speed against accuracy of force representation. 2020; Vogklis
& Lagaris 2019) to minimize the real-space force in order to find equilibrium states in
SPECTRE. The trust-region methods are used due to their robustness, which stems
from using quadratic models to locally approximate an objective function.Where the paper says it
Where the paper says it
Verification and Results
The solver was verified through application to configurations with known equilibrium solutions, in vacuum and with finite beta, both in the fixed boundary and the free boundary mode. SPECTRE demonstrated calculation of a strongly-shaped equilibrium with a core island which is in agreement with a HINT calculation. p. 0 Notably, these include vacuum equilibria of
a quasi-axisymmetric (QA) device in fixed-boundary mode, and of W7-X in the freeboundary mode, along with a classical stellarator finite-beta free-boundary case. Finally,
the solver is applied to a modern optimized finite-β quasi-isodynamic (QI) configuration,
where we demonstrate calculation of a strongly-shaped equilibrium with a core island
which is in agreement with a HINT calculation. Axisymmetry
The initial test case, coming from (Hudson et al. 2012), is for a tokamak plasma,
where we anticipate nested flux surfaces everywhere and therefore expect SPECTRE and
VMEC solutions to match in the limit of many volumes (Hudson et al.Where the paper says it
Where the paper says it
Future Directions
The work presented for the optimized QI stellarator is a first-of-a-kind qualitative comparison of SPECTRE with HINT. Further validation still remains to be done, in particular with regard to the impact of interface placement on the equilibrium. More generally, we foresee further benchmarking studies comparing SPECTRE to HINT in other relevant stellarator concepts. p. 0 Notably, these include vacuum equilibria of
a quasi-axisymmetric (QA) device in fixed-boundary mode, and of W7-X in the freeboundary mode, along with a classical stellarator finite-beta free-boundary case. Finally,
the solver is applied to a modern optimized finite-β quasi-isodynamic (QI) configuration,
where we demonstrate calculation of a strongly-shaped equilibrium with a core island
which is in agreement with a HINT calculation.Where the paper says it
Code Availability
The SPECTRE code is publicly available at https://gitlab.com/spectre-eq/spectre and is released under the MIT license. p. 0 1
SPECTRE: A robust solver for 3D equilibria
with arbitrary topology
E. Balkovic1
, J. The cross section of a representative equilibrium solution
using VMEC and SPECTRE is depicted in Figure 3. Figures 4a and 4b show results of
the parameter scan for the vacuum β = 0 and β = 6% cases.Where the paper says it
Where the paper says it
Author Contributions
E.B. and J.L., with the support of E. p. 1 Additionally, equation 1. 3 states that interfaces may
support localized pressure gradients, with the force-balance being achieved when the
total pressure on each side of an interface is equal. New framework for minimization
Inspired by the strong theoretical basis and the wide applicability of the MRxMHD
model, we have developed a more robust framework for computing MRxMHD equilibria. This has resulted in the development of a new code, SPECTRE, which relies on several
fundamental changes with respect to SPEC that improve robustness and flexibility. Spectrum of the force for an optimized equilibrium in SPEC where only
components inside the red box are targeted using root finding (data from Baillod (2023))
2. New framework for minimization
Inspired by the strong theoretical basis and the wide applicability of the MRxMHD
model, we have developed a more robust framework for computing MRxMHD equilibria. Notably, these include vacuum equilibria of
a quasi-axisymmetric (QA) device in fixed-boundary mode, and of W7-X in the freeboundary mode, along with a classical stellarator finite-beta free-boundary case. Finally,
the solver is applied to a modern optimized finite-β quasi-isodynamic (QI) configuration,
where we demonstrate calculation of a strongly-shaped equilibrium with a core island
which is in agreement with a HINT calculation. 8
6 8 10 12
R [m]
−2
−1
0
1
2
Z [m]
SPECTRE initial interfaces
SPECTRE optimized interfaces
6 8 10 12
R [m]
VMEC surfaces
VMEC axis
SPECTRE Poincare
SPECTRE interfaces
Figure 5. a) Initial and optimized SPECTRE interfaces demonstrating robustness for a poor
initial geometry guess, b) Comparison of SPECTRE interfaces and Poincaré trace with VMEC
flux surfaces for the vacuum QA configuration.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Acknowledgments
The work on the QI finite-β configuration was done with funding from Proxima Fusion, whom we also thank for support in providing the necessary files. We also thank Stuart Hudson for insightful discussions and for providing inputs for the free-boundary rotating ellipse test case. p. 9 Free-boundary rotating ellipse
A recent study compares VMEC and SPEC equilibria for a finite-β, zero net current
(imposed directly using the current constraint (Baillod et al. 2021)) rotating ellipse
configuration in the free-boundary mode with a set of external coils (Hudson et al. A similar scan in c), now as a function of the Fourier resolution, with
the y-axis showing the difference in axis position relative to the largest resolution. QA vacuum
The following verification case is of a QA reactor-scale configuration optimized for
neoclassical confinement and stability (Henneberg et al. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Where the paper says it
References
Babin, Robert, Hindenlang, Florian, Maj, Omar & Köberl, Robert 2025 Construction of an invertible mapping to boundary conforming coordinates for arbitrarily shaped toroidal domains. Plasma Physics and Controlled Fusion 67 (3), 035005. p. 0 Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Baillod, Antoine 2023 Equilibrium pressure limits in stellarators. p. 2 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. 2017), including the effects of bootstrap current (Baillod et al. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Baillod, A. p. 2 4), SPEC requires the total toroidal
and poloidal fluxes enclosed by each subvolume, ∆Ψt
l
and ∆Ψp
l
, along with the total
subvolume helicity Hl
. Furthermore, by iterating on helicity Hl and the poloidal flux
∆Ψp
l
, SPEC can be run with various other combinations of constraints: (∆Ψt
l
, ∆Ψp
l
, µl),
(∆Ψt
l
, I
vol
l
, I
surf
l
), or (∆Ψt
l
, ι
+
l
, ι
−
l
), where I
vol
l
is the integrated toroidal current in each
volume, I
surf
l
is the surface current on each interface (Baillod et al. 4), SPEC requires the total toroidal
and poloidal fluxes enclosed by each subvolume, ∆Ψt
l
and ∆Ψp
l
, along with the total
subvolume helicity Hl
. Furthermore, by iterating on helicity Hl and the poloidal flux
∆Ψp
l
, SPEC can be run with various other combinations of constraints: (∆Ψt
l
, ∆Ψp
l
, µl),
(∆Ψt
l
, I
vol
l
, I
surf
l
), or (∆Ψt
l
, ι
+
l
, ι
−
l
), where I
vol
l
is the integrated toroidal current in each
volume, I
surf
l
is the surface current on each interface (Baillod et al. 2025), the prediction of neoclassical tearing modes in slab geometry (Balkovic
et al. 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. 2025), the prediction of neoclassical tearing modes in slab geometry (Balkovic
et al. 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. 2025), the prediction of neoclassical tearing modes in slab geometry (Balkovic
et al. 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. Verification calculations
Next, we present a set of test cases that are used to verify the correct calculation of
equilibria. These include primarily vacuum magnetic fields for which solutions are known,
and are supplemented with a finite-beta equilibrium of a rotating ellipse, along with a
demonstration of a finite-beta QI optimized stellarator configuration. Introduction
1. General 3D equilibria
Time-independent solutions to the Magnetohydrodynamic (MHD) equations satisfying
J × B = ∇p are essential for the description of magnetically confined fusion plasmas.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Baillod, A., Loizu, J., Qu, Z.S., Arbez, H.P. & Graves, J.P. 2023 Equilibrium betalimits dependence on bootstrap current in classical stellarators. p. 2 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. 2017), including the effects of bootstrap current (Baillod et al. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Balkovic, E, Loizu, J, Graves, J P, Huang, Y-M & Smiet, C 2024 Direct prediction of saturated neoclassical tearing modes in slab using an equilibrium approach. p. 2 2025), the prediction of neoclassical tearing modes in slab geometry (Balkovic
et al. 2024), and the calculation of equilibrium β-limits in classical stellarators (Loizu
et al. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Dennis, G. R., Hudson, S. p. 2 SPEC has been used successfully for a wide range of studies. These involve the
calculation of fixed-boundary (Hudson et al. SPEC has been used successfully for a wide range of studies. These involve the
calculation of fixed-boundary (Hudson et al. The first includes relaxation codes, where the plasma evolves according to
perturbations that lower the plasma energy, a process that mimics initial value resistive
MHD codes but does not capture the dynamics (Suzuki et al. The other approach
is based on the Multi-Region relaxed MHD (MRxMHD) (Hole et al. 2012), is for a tokamak plasma,
where we anticipate nested flux surfaces everywhere and therefore expect SPECTRE and
VMEC solutions to match in the limit of many volumes (Hudson et al. We impose
axisymmetry (ntor = 0), scan the number of relaxed subvolumes Nvol, and study the
position of the magnetic axis.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Ferraro, Nate, Jardin, Stephen, Lyons, Brendan et al 2018 M3d-c1 [Computer Software] https://doi.org/10.11578/dc.20180627.9.
Grad, Harold 1967 Toroidal containment of a plasma. p. 1 2
However, these solutions, also known as ideal-MHD equilibria, feature δ-function current
sheets on resonant rational surfaces (Helander 2014), and in the presence of pressure
gradients, also singular Pfirsch-Schlüter current densities that may introduce numerical
issues, as originally pointed out by Grad (1967). Furthermore, the solution space is not
the most general one, leaving out potential equilibrium states with more general topology.Where the paper says it
Helander, Per 2014 Theory of plasma confinement in non-axisymmetric magnetic fields. p. 1 2
However, these solutions, also known as ideal-MHD equilibria, feature δ-function current
sheets on resonant rational surfaces (Helander 2014), and in the presence of pressure
gradients, also singular Pfirsch-Schlüter current densities that may introduce numerical
issues, as originally pointed out by Grad (1967). Furthermore, the solution space is not
the most general one, leaving out potential equilibrium states with more general topology. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Henneberg, S. p. 2 This representation of interface
geometry is not unique unless additional angle constraints are imposed (Hirshman &
Breslau 1998). Alternative forms such as the Henneberg representation (Henneberg et al. This representation of interface
geometry is not unique unless additional angle constraints are imposed (Hirshman &
Breslau 1998). Alternative forms such as the Henneberg representation (Henneberg et al. 2
However, these solutions, also known as ideal-MHD equilibria, feature δ-function current
sheets on resonant rational surfaces (Helander 2014), and in the presence of pressure
gradients, also singular Pfirsch-Schlüter current densities that may introduce numerical
issues, as originally pointed out by Grad (1967). Furthermore, the solution space is not
the most general one, leaving out potential equilibrium states with more general topology. Notably, these include vacuum equilibria of
a quasi-axisymmetric (QA) device in fixed-boundary mode, and of W7-X in the freeboundary mode, along with a classical stellarator finite-beta free-boundary case. Finally,
the solver is applied to a modern optimized finite-β quasi-isodynamic (QI) configuration,
where we demonstrate calculation of a strongly-shaped equilibrium with a core island
which is in agreement with a HINT calculation.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Henneberg, S.A., Helander, P. p. 1 2
However, these solutions, also known as ideal-MHD equilibria, feature δ-function current
sheets on resonant rational surfaces (Helander 2014), and in the presence of pressure
gradients, also singular Pfirsch-Schlüter current densities that may introduce numerical
issues, as originally pointed out by Grad (1967). Furthermore, the solution space is not
the most general one, leaving out potential equilibrium states with more general topology. a) Initial and optimized SPECTRE interfaces demonstrating robustness for a poor
initial geometry guess, b) Comparison of SPECTRE interfaces and Poincaré trace with VMEC
flux surfaces for the vacuum QA configuration. A 3D depiction of the interfaces and the plasma boundary (outermost black surface)
for the optimized QA vacuum equilibrium, with the magnetic axis shown in green and the color
representing magnetic field strength.Where the paper says it
Where the paper says it
Hirshman, S. p. 0 In such a scenario, flux surfaces can be broken, leading to a magnetic field with
a changed topology, featuring magnetic islands and field-line chaos. Nevertheless, the
problem of finding 3D MHD equilibrium has been and is often solved using codes such
as VMEC (Hirshman & Whitson 1983) whose formulation assumes global nested flux
arXiv:2607. In such a scenario, flux surfaces can be broken, leading to a magnetic field with
a changed topology, featuring magnetic islands and field-line chaos. Nevertheless, the
problem of finding 3D MHD equilibrium has been and is often solved using codes such
as VMEC (Hirshman & Whitson 1983) whose formulation assumes global nested flux
arXiv:2607. 5)
where θ, ζ are general poloidal and toroidal angles. This representation of interface
geometry is not unique unless additional angle constraints are imposed (Hirshman &
Breslau 1998). They also form the basis for predictive
calculations of macroscopic plasma stability, core micro-turbulence, and power exhaust
at the plasma edge. In tokamaks, where the plasma possesses axisymmetry, the magnetic
field foliates a continuous set of nested flux surfaces.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Hirshman, S. P. & Whitson, J. p. 0 In such a scenario, flux surfaces can be broken, leading to a magnetic field with
a changed topology, featuring magnetic islands and field-line chaos. Nevertheless, the
problem of finding 3D MHD equilibrium has been and is often solved using codes such
as VMEC (Hirshman & Whitson 1983) whose formulation assumes global nested flux
arXiv:2607. Introduction
1. General 3D equilibria
Time-independent solutions to the Magnetohydrodynamic (MHD) equations satisfying
J × B = ∇p are essential for the description of magnetically confined fusion plasmas.Where the paper says it
Where the paper says it
Hoelzl, M., Huijsmans, G.T.A., Pamela, S.J.P., Bécoulet, M., Nardon, E., Artola, F.J., Nkonga, B., Atanasiu, C.V., Bandaru, V., Bhole, A., Bonfiglio, D., Cathey, A., Czarny, O., Dvornova, A., Fehér, T. et al 2021 The jorek non-linear extended mhd code and applications to large-scale instabilities and their control in magnetically confined fusion plasmas. p. 0 Introduction
1. General 3D equilibria
Time-independent solutions to the Magnetohydrodynamic (MHD) equations satisfying
J × B = ∇p are essential for the description of magnetically confined fusion plasmas.Where the paper says it
Hole, M. J., Hudson, S. R. & Dewar, R. L. 2006 Stepped pressure profile equilibria in cylindrical plasmas via partial taylor relaxation. p. 1 2006), where the
plasma equilibrium is directly found as a set of Taylor-relaxed plasma subvolumes (Taylor
1974). MRxMHD
MRxMHD is a variational model for describing general plasma equilibria.Where the paper says it
Hudson, S. R., Dewar, R. L., Dennis, G. p. 1 3 states that interfaces may
support localized pressure gradients, with the force-balance being achieved when the
total pressure on each side of an interface is equal. In the limit of a large number of
subvolumes and consequently interfaces, the MRxMHD model reduces to ideal MHD as
shown by Dennis et al. Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Where the paper says it
Hudson, S R. p. 2 SPEC has been used successfully for a wide range of studies. These involve the
calculation of fixed-boundary (Hudson et al. The code builds on a previous
MRxMHD solver, SPEC, but performs significantly better thanks to a new formulation of
force, the use of a stable trust-region-based least squares minimization scheme, as well as
several additional features. SPECTRE is verified through application to configurations
with known equilibrium solutions, in vacuum and with finite beta, both in the fixed
boundary and the free boundary mode.Where the paper says it
Where the paper says it
Hudson, S. R., Panici, D., Zhu, C., Woodbury Saudeau, G. S., Baillod, A. p. 2 4), SPEC requires the total toroidal
and poloidal fluxes enclosed by each subvolume, ∆Ψt
l
and ∆Ψp
l
, along with the total
subvolume helicity Hl
. Furthermore, by iterating on helicity Hl and the poloidal flux
∆Ψp
l
, SPEC can be run with various other combinations of constraints: (∆Ψt
l
, ∆Ψp
l
, µl),
(∆Ψt
l
, I
vol
l
, I
surf
l
), or (∆Ψt
l
, ι
+
l
, ι
−
l
), where I
vol
l
is the integrated toroidal current in each
volume, I
surf
l
is the surface current on each interface (Baillod et al. While the flux surface geometry seems relatively simple, the equilibrium has
a finite pressure profile (see Figure 10a) and a large corresponding Shafranov shift. Figure 11 shows the setup of the calculation, including the computational boundary and
the external field, along with the converged VMEC flux surfaces, the optimized SPEC
interfaces (Hudson et al.Where the paper says it
Where the paper says it
Loizu, J. & Bonfiglio, D. 2023 Nonlinear saturation of resistive tearing modes in a cylindrical tokamak with and without solving the dynamics.
Press, William H. p. 3 Trust-region least-squares minimization
SPEC attempts to find an exact zero of the force-truncated spectrum, an approach
that is prone to two problems. First, root-finding, such as the Powell method used in
SPEC, tends to be fragile and very sensitive to initial conditions (Press et al. Spectrum of the force for an optimized equilibrium in SPEC where only
components inside the red box are targeted using root finding (data from Baillod (2023))
2. New framework for minimization
Inspired by the strong theoretical basis and the wide applicability of the MRxMHD
model, we have developed a more robust framework for computing MRxMHD equilibria.Where the paper says it
Where the paper says it
Qu, Zhisong et al 2025 Sawtooth crash in tokamak as a sequence of multi-region relaxed mhd equilibria. p. 0 Geiger4
, J. Graves1,5
1École Polytechnique Fédérale de Lausanne, Swiss Plasma Center, CH-1015 Lausanne,
Switzerland
2Ecole Polytechnique Fédérale de Lausanne, SCITAS, CH-1015 Lausanne, Switzerland
3Proxima Fusion GmbH, FlöSSergasse 2, Munich, 81369, Germany
4Max-Planck-Institut für Plasmaphysik, 17491 Greifswald, Germany
5York Plasma Institute, School of Physics, University of York, Heslington, York YO10 5DD,
United Kingdom
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed
MHD model for robustly calculating 3D equilibria with general magnetic topology,
allowing for flux surfaces, magnetic islands, and chaos.Where the paper says it
Taylor, J. B. 1974 Relaxation of toroidal plasma and generation of reverse magnetic fields. p. 1 MRxMHD
MRxMHD is a variational model for describing general plasma equilibria. The idea
behind it originates from the relaxation principle devised by Taylor (1974), which states
that the plasma evolves in such a way that the energy is minimized, while the global
helicity is conserved.Where the paper says it
Virtanen et al 2020 SciPy 1. p. 4 change the approach and use trust-region-based methods (Virtanen et al. 2020; Vogklis
& Lagaris 2019) to minimize the real-space force in order to find equilibrium states in
SPECTRE. New framework for minimization
Inspired by the strong theoretical basis and the wide applicability of the MRxMHD
model, we have developed a more robust framework for computing MRxMHD equilibria. This has resulted in the development of a new code, SPECTRE, which relies on several
fundamental changes with respect to SPEC that improve robustness and flexibility.Where the paper says it
Where the paper says it
Vogklis & Lagaris 2019 A Rectangular Trust-Region Approach for Unconstrained and Box-Constrained Optimization Problems. p. 4 change the approach and use trust-region-based methods (Virtanen et al. 2020; Vogklis
& Lagaris 2019) to minimize the real-space force in order to find equilibrium states in
SPECTRE.Where the paper says it
Wolf, R.C., Ali, A., Alonso, A., Baldzuhn, J. et al 2017 Major results from the first plasma campaign of the wendelstein 7-x stellarator. p. 2 2017), including the effects of bootstrap current (Baillod et al. Despite such
applications, SPEC has proven to be numerically fragile and unstable in the calculation
of modern optimized stellarator configurations, which typically have strongly shaped
geometries.Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Trust-region based minimization for force calculation allows SPECTRE to minimize real-space force error by using quadratic models to locally approximate an objective function, which guarantees that steps remain bounded to a domain. This robustness improves convergence compared to root-finding methods like the Powell method used in SPEC.
-
Real space representation of the force on a chosen grid allows for
various advanced sampling schemes, e.g., denser sampling in the regions of high curvature on an interface,
which provides a more accurate and scaled force representation than truncated Fourier descriptions. -
Coupling SPECTRE to map2disc allows it to use isosurfaces of the Laplace equation as an initial guess for MRxMHD interfaces, addressing the difficulty of finding non-intersecting initial interfaces in strongly shaped domains.
Abstract
We present SPECTRE, a new equilibrium code based on the Multi-Region relaxed MHD model for robustly calculating 3D equilibria with general magnetic topology, allowing for flux surfaces, magnetic islands, and chaos. The code builds on a previous MRxMHD solver, SPEC, but performs significantly better thanks to a new formulation of force, the use of a stable trust-region-based least squares minimization scheme, as well as several additional features. SPECTRE is verified through application to configurations with known equilibrium solutions, in vacuum and with finite beta, both in the fixed boundary and the free boundary mode. Notably, these include vacuum equilibria of a quasi-axisymmetric (QA) device in fixed-boundary mode, and of W7-X in the free-boundary mode, along with a classical stellarator finite-beta free-boundary case. Finally, the solver is applied to a modern optimized finite-beta quasi-isodynamic (QI) configuration, where we demonstrate calculation of a strongly-shaped equilibrium with a core island which is in agreement with a HINT calculation.
Related papers
- Implementation and verification of a new free boundary module for Resistive Wall Modes simulations with the nonlinear 3D full MHD code SpeCyl
- System Size Dependence of Collisionless Reconnection Rate
- High-quality electron beam generation from laser wakefield accelerators for driving compact free electron lasers
- Deflation Techniques for Stellarator Equilibrium and Optimization
- Rapid Vacuum Response Calculations for Non-axisymmetric Plasma Geometries
- Quasi-symmetric error field correction and applications to ITER