FARGO3D: A NEW GPU-ORIENTED MHD CODE
ABSTRACT We present the FARGO3D code, recently publicly released. It is a magnetohydrodynamics code developed with special emphasis on the physics of protoplanetary disks and planet-disk interactions, and parallelized with MPI. The hydrodynamics algorithms are based on finite-difference upwind, dime...
Saved in:
| Published in | The Astrophysical journal. Supplement series Vol. 223; no. 1; p. 11 |
|---|---|
| Main Authors | , |
| Format | Journal Article |
| Language | English |
| Published |
United States
The American Astronomical Society
01.03.2016
|
| Subjects | |
| Online Access | Get full text |
| ISSN | 0067-0049 1538-4365 1538-4365 |
| DOI | 10.3847/0067-0049/223/1/11 |
Cover
| Summary: | ABSTRACT We present the FARGO3D code, recently publicly released. It is a magnetohydrodynamics code developed with special emphasis on the physics of protoplanetary disks 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 either graphical processing units (GPUs) or central processing units (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 CPUs, and have them translated automatically for GPUs. |
|---|---|
| Bibliography: | Instrumentation And Computational Algorithms ApJS100511 ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 23 |
| ISSN: | 0067-0049 1538-4365 1538-4365 |
| DOI: | 10.3847/0067-0049/223/1/11 |