论文标题

GX:Tokamak和Stellarator Design的GPU本地陀螺仪湍流代码

GX: a GPU-native gyrokinetic turbulence code for tokamak and stellarator design

论文作者

Mandell, N. R., Dorland, W., Abel, I., Gaur, R., Kim, P., Martin, M., Qian, T.

论文摘要

GX是解决磁化等离子体(尤其是Tokamaks和Stellarators)中低频湍流的非线性陀螺仪系统的代码。在GX中,我们的主要动机和目标是一种快速的陀螺仪求解器,可用于融合反应堆设计和优化以及广泛的物理探索。这导致了几个代码和算法设计决策,专门选择了解决方案时间的优先级。首先,我们使用了一种离散化算法,该算法在整个相位中是伪谱的,包括速度空间的Laguerre-Hermite伪空谱剂表述,允许在类似陀螺仪的分辨率和类似良好的常规Gyrotokinetic Comelutions和Feelyal Groyrokinetic Crionituction和Mode Mode Model of Model of Model of Model Protional Warteratortor的粗略旋转分辨率之间平稳插值。此外,我们已经建立了GX为原始的图形处理器(GPU),该处理器是当今可用的最快计算平台之一。最后,我们通过使用径向局部通量管方法利用了小$ρ_*$的相关限制。在本文中,我们介绍了有关GX中用于解决该系统的Gyrokinetic System和数值算法的详细信息。然后,我们对Tokamak和Stellarator磁几何形状中的已建立的陀螺仪代码提出了几个数值基准,以验证GX在小$ρ_*$限制中正确模拟陀螺仪的湍流。此外,我们表明Laguerre-Hermite光谱速度配方的收敛性能对非线性感兴趣的问题非常有利。再加上GPU加速度,我们还通过缩放研究进行了研究,这使GX能够在一个(或几个)GPU上的几分钟内生成有用的湍流模拟。 GX是为融合反应堆设计研究准备的开源软件。

GX is a code for solving the nonlinear gyrokinetic system for low-frequency turbulence in magnetized plasmas, particularly tokamaks and stellarators. In GX, our primary motivation and target is a fast gyrokinetic solver that can be used for fusion reactor design and optimization along with wide-ranging physics exploration. This has led to several code and algorithm design decisions, specifically chosen to prioritize time to solution. First, we have used a discretization algorithm that is pseudo-spectral in the entire phase-space, including a Laguerre-Hermite pseudo-spectral formulation of velocity space, which allows for smooth interpolation between coarse gyrofluid-like resolutions and finer conventional gyrokinetic resolutions and efficient evaluation of a model collision operator. Additionally, we have built GX to natively target graphics processors (GPUs), which are among the fastest computational platforms available today. Finally, we have taken advantage of the reactor-relevant limit of small $ρ_*$ by using the radially-local flux-tube approach. In this paper we present details about the gyrokinetic system and the numerical algorithms used in GX to solve the system. We then present several numerical benchmarks against established gyrokinetic codes in both tokamak and stellarator magnetic geometries to verify that GX correctly simulates gyrokinetic turbulence in the small $ρ_*$ limit. Moreover, we show that the convergence properties of the Laguerre-Hermite spectral velocity formulation are quite favorable for nonlinear problems of interest. Coupled with GPU acceleration, which we also investigate with scaling studies, this enables GX to be able to produce useful turbulence simulations in minutes on one (or a few) GPUs. GX is open-source software that is ready for fusion reactor design studies.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源