arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.01361astro-ph.HE
收藏

KHARMA:用于广义相对论磁流体动力学的灵活、可移植性能

KHARMA: Flexible, Portable Performance for GRMHD

Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室)

Cora Prather

AI总结:

KHARMA是用于广义相对论磁流体动力学模拟的开源代码,基于Kokkos编程模型用C++编写,可在CPU和GPU上高效运行。它具有多种特性,核心方案组件可换,还包含其他模拟包,文中展示了其计算环境、设计及性能数据。

摘要:

KHARMA(“基于Kokkos的具有自适应网格细化的高精度相对论磁流体动力学”的首字母缩写)是一个新的开源代码,用于在静止时空中进行广义相对论磁流体动力学模拟,主要针对吸积系统。它实现了高精度相对论磁流体动力学(HARM)方案等,用C++和Kokkos编程模型从头编写,以便在CPU和GPU上高效运行。KHARMA除了速度快,还具有可读性、模块化和可扩展性,将功能分为“包”。核心理想GRMHD方案的组件可在运行时交换,还有其他包用于模拟电子温度演化、粘性流体动力学等。本文介绍了KHARMA的计算环境、满足这些要求的特性和设计,以及验证和性能数据。

英文摘要:

KHARMA (an acronym for "Kokkos-based High-Accuracy Relativistic Magnetohydrodynamics with Adaptive mesh refinement") is a new open-source code for conducting general-relativistic magnetohydrodynamic simulations in stationary spacetimes, primarily of accretion systems. It implements among other options the High-Accuracy Relativistic Magnetohydrodynamics (HARM) scheme, but is written from scratch in C++ with the Kokkos programming model in order to run efficiently on both CPUs and GPUs. In addition to being fast, KHARMA is written to be readable, modular, and extensible, separating functionality into "packages," representing, e.g., algorithmic components or physics extensions. Components of the core ideal GRMHD scheme can be swapped at runtime, and additional packages are included to simulate electron temperature evolution, viscous hydrodynamics, and for designing chained multi-scale "bridged" simulations. This chapter presents the computational environment and requirements for KHARMA, features and design which meet these requirements, and finally, validation and performance data.

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

↑