Affiliation:
1. Department of Mechanical Engineering KU Leuven Leuven Belgium
2. Stellarator Dynamics and Transport, Max Planck Institute for Plasma Physics Greifswald Germany
3. Distributed Electricity Systems Laboratory EPFL Lausanne Switzerland
Abstract
AbstractThis paper presents a first implementation of gradient, divergence, and particle tracing schemes for the EMC3 code, a stochastic 3D plasma fluid code widely employed for edge plasma and impurity transport modeling in tokamaks and stellarators. These schemes are essential to accommodate plasma drift computations, which are currently absent in the code. Plasma drifts have been recognized to significantly influence transport of particles and energy, and their inclusion in future code upgrades will substantially enhance the code's predictive capabilities. For gradient and divergence calculations, we introduce a second‐order least‐squares gradient scheme. We confirm the second‐order convergence properties and assess the accuracy of several analytical test cases in the presence of synthetic noise. In the second part of this paper, we employ the validated gradient scheme in a fourth‐order Runge–Kutta particle tracing scheme to trace a particle through a generic drift velocity field. The impact of synthetic noise on the scheme's performance is investigated by evaluating various error metrics. We find that the implemented schemes function as intended and exhibit sufficient accuracy to enable drift computations.