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

Slurm:用于等离子体建模的流体粒子单元代码

Slurm: fluid particle-in-cell code for plasma modeling

Vyacheslav Olshevsky, Fabio Bacchini, Stefaan Poedts, Giovanni Lapenta

摘要:

随着百亿亿次计算时代的到来,基于粒子的模型以其良好的可扩展性成为研究的热点。我们提出了一个新的代码,Slurm,它实现了经典的粒子在细胞中的磁化流体和等离子体建模算法。它的特点是粒子体积演化,抑制了数值有限网格的不稳定性,并允许对Kelvin-Helmholtz和Rayleigh-Taylor等关键物理不稳定性进行建模。Slurm中的磁场通过粒子携带的电磁矢量势来处理。磁通量的数值扩散非常低,并且磁场的螺线管性被保持到机器精度。采用双向链表携带粒子,使开边界条件的实现简单有效。该代码是用C++编写的,带有OpenMP多线程,除了Boost之外没有外部依赖关系。它易于在多核台式机和大型共享内存机器上安装和使用。Slurm是其主要目标的理想工具,即模拟日光层中的空间天气事件。本文将向读者介绍物理模型、算法和实现的所有重要细节。理想情况下,在完成本文后,读者应该能够使用Slurm解决所需的问题,或者创建一个新的流体PIC代码。

英文摘要:

With the approach of exascale computing era, particle-based models are becoming the focus of research due to their excellent scalability. We present a new code, Slurm, which implements the classic particle-in-cell algorithm for modeling magnetized fluids and plasmas. It features particle volume evolution which damps the numerical finite grid instability, and allows modeling of key physical instabilities such as Kelvin-Helmholtz and Rayleigh-Taylor. The magnetic field in Slurm is handled via the electromagnetic vector potential carried by particles. Numerical diffusion of the magnetic flux is extremely low, and the solenoidality of the magnetic field is preserved to machine precision. A double-linked list is used to carry particles, thus implementation of open boundary conditions is simple and efficient. The code is written in C++ with OpenMP multi-threading, and has no external dependencies except for Boost. It is easy to install and use on multi-core desktop computers as well as on large shared-memory machines. Slurm is an ideal tool for its primary goal, modeling of space weather events in the heliosphere. This article walks the reader through the physical model, the algorithm, and all important details of implementation. Ideally, after finishing this paper, the reader should be able to either use Slurm for solving the desired problem, or create a new fluid PIC code.

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

↑