-
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.
-
Understanding the Impact of openPMD on BIT1, a Particle-in-Cell Monte Carlo Code, through Instrumentation, Monitoring, and In-Situ Analysis
Authors:
Jeremy J. Williams,
Stefan Costea,
Allen D. Malony,
David Tskhakaya,
Leon Kos,
Ales Podolnik,
Jakub Hromadka,
Kevin Huck,
Erwin Laure,
Stefano Markidis
Abstract:
Particle-in-Cell Monte Carlo simulations on large-scale systems play a fundamental role in understanding the complexities of plasma dynamics in fusion devices. Efficient handling and analysis of vast datasets are essential for advancing these simulations. Previously, we addressed this challenge by integrating openPMD with BIT1, a Particle-in-Cell Monte Carlo code, streamlining data streaming and s…
▽ More
Particle-in-Cell Monte Carlo simulations on large-scale systems play a fundamental role in understanding the complexities of plasma dynamics in fusion devices. Efficient handling and analysis of vast datasets are essential for advancing these simulations. Previously, we addressed this challenge by integrating openPMD with BIT1, a Particle-in-Cell Monte Carlo code, streamlining data streaming and storage. This integration not only enhanced data management but also improved write throughput and storage efficiency. In this work, we delve deeper into the impact of BIT1 openPMD BP4 instrumentation, monitoring, and in-situ analysis. Utilizing cutting-edge profiling and monitoring tools such as gprof, CrayPat, Cray Apprentice2, IPM, and Darshan, we dissect BIT1's performance post-integration, shedding light on computation, communication, and I/O operations. Fine-grained instrumentation offers insights into BIT1's runtime behavior, while immediate monitoring aids in understanding system dynamics and resource utilization patterns, facilitating proactive performance optimization. Advanced visualization techniques further enrich our understanding, enabling the optimization of BIT1 simulation workflows aimed at controlling plasma-material interfaces with improved data analysis and visualization at every checkpoint without causing any interruption to the simulation.
△ Less
Submitted 27 June, 2024;
originally announced June 2024.
-
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.
-
The initial step towards JOREK integration in IMAS
Authors:
Dejan Penko,
Leon Kos,
Guido Huijsmans,
Simon D. Pinches
Abstract:
JOREK is being adapted to work with the Integrated Modelling & Analysis Suite (IMAS) which is being actively developed and used by the ITER Organization, the EUROfusion community and other ITER Members. The list of codes adapted to use the IMAS Data Model is gradually increasing with examples including SOLPS-ITER and JINTRAC. The main goal of the integration of JOREK with IMAS is to enable interac…
▽ More
JOREK is being adapted to work with the Integrated Modelling & Analysis Suite (IMAS) which is being actively developed and used by the ITER Organization, the EUROfusion community and other ITER Members. The list of codes adapted to use the IMAS Data Model is gradually increasing with examples including SOLPS-ITER and JINTRAC. The main goal of the integration of JOREK with IMAS is to enable interaction with the plasma scenarios stored in the IMAS databases in the form of Interface Data Structures (IDSs): input conditions can be read from the databases and nonlinear plasma states determined by JOREK stored. IDSs provide a uniform way of representing data within the IMAS framework and allow to transfer data between codes and to storage within larger integrated modelling workflows. In order to integrate JOREK within IMAS it is therefore necessary that transformation tools are developed to facilitate the reading and writing of the relevant IDSs, including the MHD IDS, with its underlying Generalized Grid Description (GGD). For this purpose, utilities have been developed that extract JOREK simulation plasma state, namely the grid geometry and computed physical quantities for each time slice, and then transform them to the appropriate output IDSs. In this article, these initial steps towards full JOREK integration into IMAS is presented.
△ Less
Submitted 16 June, 2020;
originally announced June 2020.
-
On the theory of the nonlinear Landau dam**
Authors:
Leon Kos,
Ivona Vasileska,
Davy D. Tskhakaya
Abstract:
An exact solution of the collisionless time-dependent Vlasov equation is found for the first time. By means of this solution the behavior of the Langmuir waves in the nonlinear stage is considered. The analysis is restricted by the consideration of the first nonlinear approximation kee** the second power of the electric strength. It is shown that in general the waves with finite amplitudes are n…
▽ More
An exact solution of the collisionless time-dependent Vlasov equation is found for the first time. By means of this solution the behavior of the Langmuir waves in the nonlinear stage is considered. The analysis is restricted by the consideration of the first nonlinear approximation kee** the second power of the electric strength. It is shown that in general the waves with finite amplitudes are not subject to dam**. Only in the linear approximation, when the wave amplitude is very small, are the waves experiencing dam**. It is shown that with the definite resonance conditions imposed, the waves become unstable.
△ Less
Submitted 25 February, 2020; v1 submitted 19 November, 2019;
originally announced November 2019.
-
SMITER: A field-line tracing environment for ITER
Authors:
L. Kos,
R. A. Pitts,
G. Simic,
M. Brank,
H. Anand,
W. Arter
Abstract:
Built around the SMARDDA modules for magnetic field-line tracing [IEEE Tr. Plasma Sc. 42 (2014) 1932], the SMITER code package (SMARDDA for ITER) is a new graphical user interface (GUI) framework for power deposition map** on tokamak plasma-facing components (PFC) in the full 3-D CAD geometry of the machine, taking as input a user-defined specification for parallel heat flux in the scrape-off la…
▽ More
Built around the SMARDDA modules for magnetic field-line tracing [IEEE Tr. Plasma Sc. 42 (2014) 1932], the SMITER code package (SMARDDA for ITER) is a new graphical user interface (GUI) framework for power deposition map** on tokamak plasma-facing components (PFC) in the full 3-D CAD geometry of the machine, taking as input a user-defined specification for parallel heat flux in the scrape-off layer (SOL) and a description of the equilibrium magnetic flux. The software package provides CAD model import and integration with the ITER Integrated Modelling and Analysis Suite (IMAS), parametric CAD components catalogue and modelling, CAD de-featuring for PFC surface extraction, meshing, visualization (using an integrated ParaView module), Python scripting and batch processing, storage in hierarchical data files, with several simulation cases in one study running in parallel and using message passing interface (MPI) for code speed-up. An integrated ParaView module can combine CAD geometry, magnetic field equilibrium, meshes and results for detailed setup analysis and a module is under development for full finite element computation of surface temperatures resulting from the power deposition patterns on 3-D PFCs. The code package has been developed for ITER, but can be deployed for similar modelling of any tokamak. This paper presents and discusses key features of this field-line tracing environment, demonstrates benchmarking against existing field-line tracing code and provides specific examples of power deposition map** in ITER for different plasma configurations.
△ Less
Submitted 27 March, 2019;
originally announced March 2019.