Ruben De Wolf, Felix Reimold, Yuhe Feng, Matthieu Jacobs, Wouter Dekeyser, Giovanni Samaey, Martine Baelmans
{"title":"Toward plasma drifts in EMC3: Implementation of gradient, divergence, and particle tracing schemes","authors":"Ruben De Wolf, Felix Reimold, Yuhe Feng, Matthieu Jacobs, Wouter Dekeyser, Giovanni Samaey, Martine Baelmans","doi":"10.1002/ctpp.202300154","DOIUrl":null,"url":null,"abstract":"<p>This 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.</p>","PeriodicalId":10700,"journal":{"name":"Contributions to Plasma Physics","volume":"64 7-8","pages":""},"PeriodicalIF":1.3000,"publicationDate":"2024-03-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/ctpp.202300154","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Contributions to Plasma Physics","FirstCategoryId":"101","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/ctpp.202300154","RegionNum":4,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"PHYSICS, FLUIDS & PLASMAS","Score":null,"Total":0}
引用次数: 0
Abstract
This 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.