A High-order piecewise field-aligned triangular finite element method for electromagnetic gyrokinetic particle simulations of tokamak plasmas with open field lines
Zhixin Lu, Guo Meng, Eric Sonnendruecker, Roman Hatzky, Giorgio Daneri, Gengxian Li, Peiyou Jiang, Klaus Reuter, Matthias Hoelzl
TL;DR
The paper tackles the challenge of global electromagnetic gyrokinetic simulations in tokamaks with open field lines by developing a high-order piecewise field-aligned triangular finite element method implemented in cylindrical coordinates within the TRIMEG-C1 framework. This approach preserves field-line continuity while mitigating grid distortion, enabling whole-volume simulations that handle core, separatrix, and scrape-off-layer regions with either δf or full-f models. The authors introduce generalized mixed-variable pullback schemes and demonstrate the method on the TCV-X21 case, capturing ITG and KBM physics and showing ITG–KBM transitions as β is varied, as well as nonlinear multi-n mode turbulence without toroidal filtering. The work provides a robust, flexible tool for predictive, realistic tokamak simulations and sets the stage for including finite Larmor radius effects and detailed edge physics for validation against experiments.
Abstract
A high-order piecewise field-aligned triangular finite element method is developed and implemented for global electromagnetic gyrokinetic particle-in-cell simulations of tokamak plasmas with open field lines. The approach combines locally field-aligned finite element basis functions with unstructured $C^{1}$ triangular meshes in cylindrical coordinates, enabling whole-volume simulations with substantially reduced computational effort, while avoiding the grid distortion associated with globally field-aligned coordinates and the associated singularity at the separatrix of diverted plasmas. The formulation is compatible with both $δf$ and full-$f$ models and employs mixed-variable representations, along with a generalized pullback scheme, to control numerical cancellation in electromagnetic simulations. The method is implemented in the TRIMEG-C1 code and demonstrated using linear and nonlinear electromagnetic simulations of the TCV-X21 configuration. The results indicate that the approach accurately captures the key features of electromagnetic ion-temperature-gradient and kinetic ballooning mode physics, including the separatrix regions in the simulation, thereby providing a robust framework for whole-volume electromagnetic gyrokinetic simulations in realistic tokamak geometries.
