-
Understanding Large-Scale Plasma Simulation Challenges for Fusion Energy on Supercomputers
Authors:
Jeremy J. Williams,
Ashish Bhole,
Dylan Kierans,
Matthias Hoelzl,
Ihor Holod,
Weikang Tang,
David Tskhakaya,
Stefan Costea,
Leon Kos,
Ales Podolnik,
Jakub Hromadka,
JOREK Team,
Erwin Laure,
Stefano Markidis
Abstract:
Understanding plasma instabilities is essential for achieving sustainable fusion energy, with large-scale plasma simulations playing a crucial role in both the design and development of next-generation fusion energy devices and the modelling of industrial plasmas. To achieve sustainable fusion energy, it is essential to accurately model and predict plasma behavior under extreme conditions, requiri…
▽ More
Understanding plasma instabilities is essential for achieving sustainable fusion energy, with large-scale plasma simulations playing a crucial role in both the design and development of next-generation fusion energy devices and the modelling of industrial plasmas. To achieve sustainable fusion energy, it is essential to accurately model and predict plasma behavior under extreme conditions, requiring sophisticated simulation codes capable of capturing the complex interaction between plasma dynamics, magnetic fields, and material surfaces. In this work, we conduct a comprehensive HPC analysis of two prominent plasma simulation codes, BIT1 and JOREK, to advance understanding of plasma behavior in fusion energy applications. Our focus is on evaluating JOREK's computational efficiency and scalability for simulating non-linear MHD phenomena in tokamak fusion devices. The motivation behind this work stems from the urgent need to advance our understanding of plasma instabilities in magnetically confined fusion devices. Enhancing JOREK's performance on supercomputers improves fusion plasma code predictability, enabling more accurate modelling and faster optimization of fusion designs, thereby contributing to sustainable fusion energy. In prior studies, we analysed BIT1, a massively parallel Particle-in-Cell (PIC) code for studying plasma-material interactions in fusion devices. Our investigations into BIT1's computational requirements and scalability on advanced supercomputing architectures yielded valuable insights. Through detailed profiling and performance analysis, we have identified the primary bottlenecks and implemented optimization strategies, significantly enhancing parallel performance. This previous work serves as a foundation for our present endeavours.
△ Less
Submitted 29 June, 2024;
originally announced July 2024.
-
Nonlinear MHD modeling of soft $β$ limits in W7-AS
Authors:
Rohan Ramasamy,
Ksenia Aleynikova,
Nikita Nikulsin,
Florian Hindenlang,
Ihor Holod,
Erika Strumberger,
Matthias Hoelzl,
the JOREK team
Abstract:
An important question for the outlook of stellarator reactors is their robustness against pressure driven modes, and the underlying mechanism behind experimentally observed soft $β$ limits. Towards building a robust answer to these questions, simulation studies are presented using a recently derived reduced nonlinear MHD model. First, the initial model implementation is extended to capture fluid c…
▽ More
An important question for the outlook of stellarator reactors is their robustness against pressure driven modes, and the underlying mechanism behind experimentally observed soft $β$ limits. Towards building a robust answer to these questions, simulation studies are presented using a recently derived reduced nonlinear MHD model. First, the initial model implementation is extended to capture fluid compression by including the influence of parallel flows. Linear benchmarks of a (2, 1) tearing mode in W7-AS geometry, and interchange modes in a finite $β$, net-zero current carrying stellarator with low magnetic shear are then used to demonstrate the modeling capabilities. Finally, a validation study is conducted on experimental reconstructions of finite $β$ W7-AS discharges. In agreement with past experimental analysis, it is shown that (i) the MHD activity is resistive, (ii) a soft $β$ limit is observed, when the plasma resistivity approaches the estimated experimental value, and (iii) low $n$ MHD activity is observed at intermediate $β$ values, particularly a nonlinearly dominant (2, 1) mode. The MHD activity is mild, explaining the soft $β$ limit, because the plasma volume remains separated into distinct sub-volumes in which field lines are ergodically confined. For the assumed transport parameters, the enhanced perpendicular transport along stochastic magnetic field lines can be overcome with the experimental heating power. The limitations in the current modeling are described, alongside an outlook for characterising soft $β$ limits in more detail in future work.
△ Less
Submitted 5 February, 2024;
originally announced February 2024.
-
Towards Robust Solvers for Nuclear Fusion Simulations Using JOREK: A Numerical Analysis Perspective
Authors:
Alex Quinlan,
Vandana Dwarka,
Ihor Holod,
Matthias Hoelzl
Abstract:
One of the most well-established codes for modeling non-linear Magnetohydrodynamics (MHD) for tokamak reactors is JOREK, which solves these equations with a Bézier surface based finite element method. This code produces a highly sparse but also very large linear system. The main solver behind the code uses the Generalized Minimum Residual Method (GMRES) with a physics-based preconditioner, but eve…
▽ More
One of the most well-established codes for modeling non-linear Magnetohydrodynamics (MHD) for tokamak reactors is JOREK, which solves these equations with a Bézier surface based finite element method. This code produces a highly sparse but also very large linear system. The main solver behind the code uses the Generalized Minimum Residual Method (GMRES) with a physics-based preconditioner, but even with the preconditioner there are issues with memory and computation costs and the solver does not always converge well. This work contains the first thorough study of the mathematical properties of the underlying linear system. It enables us to diagnose and pinpoint the cause of hampered convergence. In particular, analyzing the spectral properties of the matrix and the preconditioned system with numerical linear algebra techniques, will open the door to research and investigate more performant solver strategies, such as projection methods.
△ Less
Submitted 30 August, 2023;
originally announced August 2023.
-
Enhanced Preconditioner for JOREK MHD Solver
Authors:
I Holod,
M Hoelzl,
P S Verma,
GTA Huijsmans,
R Nies,
JOREK Team
Abstract:
The JOREK extended magneto-hydrodynamic (MHD) code is a widely used simulation code for studying the non-linear dynamics of large-scale instabilities in divertor tokamak plasmas. Due to the large scale-separation intrinsic to these phenomena both in space and time, the computational costs for simulations in realistic geometry and with realistic parameters can be very high, motivating the investmen…
▽ More
The JOREK extended magneto-hydrodynamic (MHD) code is a widely used simulation code for studying the non-linear dynamics of large-scale instabilities in divertor tokamak plasmas. Due to the large scale-separation intrinsic to these phenomena both in space and time, the computational costs for simulations in realistic geometry and with realistic parameters can be very high, motivating the investment of considerable effort for optimization. In this article, a set of developments regarding the JOREK solver and preconditioner is described, which lead to overall significant benefits for large production simulations. This comprises in particular enhanced convergence in highly non-linear scenarios and a general reduction of memory consumption and computational costs. The developments include faster construction of preconditioner matrices, a domain decomposition of preconditioning matrices for solver libraries that can handle distributed matrices, interfaces for additional solver libraries, an option to use matrix compression methods, and the implementation of a complex solver interface for the preconditioner. The most significant development presented consists in a generalization of the physics based preconditioner to "mode groups", which allows to account for the dominant interactions between toroidal Fourier modes in highly non-linear simulations. At the cost of a moderate increase of memory consumption, the technique can strongly enhance convergence in suitable cases allowing to use significantly larger time steps. For all developments, benchmarks based on typical simulation cases demonstrate the resulting improvements.
△ Less
Submitted 31 March, 2021; v1 submitted 20 January, 2021;
originally announced January 2021.
-
The JOREK non-linear extended MHD code and applications to large-scale instabilities and their control in magnetically confined fusion plasmas
Authors:
M Hoelzl,
GTA Huijsmans,
SJP Pamela,
M Becoulet,
E Nardon,
FJ Artola,
B Nkonga,
CV Atanasiu,
V Bandaru,
A Bhole,
D Bonfiglio,
A Cathey,
O Czarny,
A Dvornova,
T Feher,
A Fil,
E Franck,
S Futatani,
M Gruca,
H Guillard,
JW Haverkort,
I Holod,
D Hu,
SK Kim,
SQ Korving
, et al. (28 additional authors not shown)
Abstract:
JOREK is a massively parallel fully implicit non-linear extended MHD code for realistic tokamak X-point plasmas. It has become a widely used versatile code for studying large-scale plasma instabilities and their control developed in an international community. This article gives a comprehensive overview of the physics models implemented, numerical methods applied for solving the equations and phys…
▽ More
JOREK is a massively parallel fully implicit non-linear extended MHD code for realistic tokamak X-point plasmas. It has become a widely used versatile code for studying large-scale plasma instabilities and their control developed in an international community. This article gives a comprehensive overview of the physics models implemented, numerical methods applied for solving the equations and physics studies performed with the code. A dedicated section highlights some of the verification work done for the code. A hierarchy of different physics models is available including a free boundary and resistive wall extension and hybrid kinetic-fluid models. The code allows for flux-surface aligned iso-parametric finite element grids in single and double X-point plasmas which can be extended to the true physical walls and uses a robust fully implicit time step**. Particular focus is laid on plasma edge and scrape-off layer (SOL) physics as well as disruption related phenomena. Among the key results obtained with JOREK regarding plasma edge and SOL, are deep insights into the dynamics of edge localized modes (ELMs), ELM cycles, and ELM control by resonant magnetic perturbations, pellet injection, as well as by vertical magnetic kicks. Also ELM free regimes, detachment physics, the generation and transport of impurities during an ELM, and electrostatic turbulence in the pedestal region are investigated. Regarding disruptions, the focus is on the dynamics of the thermal quench and current quench triggered by massive gas injection (MGI) and shattered pellet injection (SPI), runaway electron (RE) dynamics as well as the RE interaction with MHD modes, and vertical displacement events (VDEs). Also the seeding and suppression of tearing modes (TMs), the dynamics of naturally occurring thermal quenches triggered by locked modes, and radiative collapses are being studied.
△ Less
Submitted 21 April, 2021; v1 submitted 18 November, 2020;
originally announced November 2020.
-
Linear simulation of ion temperature gradient driven instabilities in W7-X and LHD stellarators using GTC
Authors:
Hongyu Wang,
Zhihong Lin,
Ihor Holod,
Jian Bao,
Lei Shi,
Sam Taimourzadeh
Abstract:
The global gyrokinetic toroidal code (GTC) has been recently upgraded to do simulations in non-axisymmetric equilibrium configuration, such as stellarators. Linear simulation of ion temperature gradient (ITG) driven instabilities has been done in Wendelstein7-X (W7-X) and Large Helical Device (LHD) stellarators using GTC. Several results are discussed to study characteristics of ITG in stellarator…
▽ More
The global gyrokinetic toroidal code (GTC) has been recently upgraded to do simulations in non-axisymmetric equilibrium configuration, such as stellarators. Linear simulation of ion temperature gradient (ITG) driven instabilities has been done in Wendelstein7-X (W7-X) and Large Helical Device (LHD) stellarators using GTC. Several results are discussed to study characteristics of ITG in stellarators, including toroidal grids convergence, nmodes number convergence, poloidal and parallel spectrums, and electrostatic potential mode structure on flux surface.
△ Less
Submitted 26 May, 2017; v1 submitted 9 February, 2017;
originally announced February 2017.