arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.06731physics.plasm-ph
收藏

GX:一个用于托卡马克和仿星器设计的GPU原生回旋动理学湍流代码

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

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

AI总结:

GX是一个针对聚变反应堆设计优化的快速GPU原生回旋动理学湍流求解代码,采用全相空间伪谱离散化与径向局部通量管方法,可在数分钟内完成托卡马克和仿星器的湍流模拟。

摘要:

GX是一个用于求解磁化等离子体(特别是托卡马克和仿星器)中低频湍流非线性回旋动理学系统的代码。在GX中,我们的主要动机和目标是开发一个快速的回旋动理学求解器,可用于聚变反应堆设计和优化以及广泛的物理探索。这促使我们做出了几项代码和算法设计决策,专门优先考虑求解时间。首先,我们使用了一种在整个相空间内采用伪谱方法的离散化算法,包括速度空间的Laguerre-Hermite伪谱公式,这允许在粗糙的类回旋流体分辨率和更精细的传统回旋动理学分辨率之间进行平滑插值,并能高效评估模型碰撞算子。此外,我们在构建GX时原生地以图形处理器(GPU)为目标,GPU是当今可用的最快计算平台之一。最后,我们通过使用径向局部通量管方法,利用了与反应堆相关的小 $ρ_*$ 极限。在本文中,我们介绍了回旋动理学系统以及GX用于求解该系统的数值算法的细节。然后,我们展示了在托卡马克和仿星器磁场几何中针对现有回旋动理学代码的几项数值基准测试,以验证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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑