arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.02359astro-ph.IMastro-ph.EPphysics.comp-ph
收藏

FARGO3D:一种新的面向GPU的MHD代码

FARGO3D: A new GPU-oriented MHD code

Pablo Benítez-Llambay, Frédéric Masset

摘要:

我们介绍最近公开发布的FARGO3D代码。这是一个磁流体动力学代码,特别强调原行星盘物理和行星盘相互作用,并与MPI并行。流体动力学算法是基于有限差分迎风,尺寸分裂的方法。磁流体动力学算法包括约束运输方法,以保持发散自由属性的磁场的机器精度,再加上一个方法的特点,电动势和洛伦兹力的评价。轨道平流的实施,并包括一个N体求解器来模拟行星或恒星与气体相互作用。我们详细介绍了我们的实现,并提出了一些众所周知的测试比较的目的。FARGO3D的一个优点是它可以在“图形处理单元”(GPU)或“中央处理单元”(CPU)上运行,相对于CPU内核实现了大幅加速。我们描述了我们的实现选择,它允许用户没有GPU编程的先验知识,以开发新的CPU例程,并将它们自动翻译为GPU。

英文摘要:

We present the FARGO3D code, recently publicly released. It is a magnetohydrodynamics code developed with special emphasis on protoplanetary disks physics and planet-disk interactions, and parallelized with MPI. The hydrodynamics algorithms are based on finite difference upwind, dimensionally split methods. The magnetohydrodynamics algorithms consist of the constrained transport method to preserve the divergence-free property of the magnetic field to machine accuracy, coupled to a method of characteristics for the evaluation of electromotive forces and Lorentz forces. Orbital advection is implemented, and an N-body solver is included to simulate planets or stars interacting with the gas. We present our implementation in detail and present a number of widely known tests for comparison purposes. One strength of FARGO3D is that it can run on both "Graphical Processing Units" (GPUs) or "Central Processing unit" (CPUs), achieving large speed up with respect to CPU cores. We describe our implementation choices, which allow a user with no prior knowledge of GPU programming to develop new routines for the CPU, and have them translated automatically for the GPU.

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

↑