TY - JOUR
T1 - FARGO3D
T2 - A new GPU-oriented MHD code
AU - Benítez-Llambay, Pablo
AU - Masset, Frédéric S.
N1 - Funding Information:
Pablo Benítez-Llambay acknowledges financial support from CONICET and the computational resources provided by IATE and CCAD (Universidad Nacional de Córdoba). F. Masset acknowledges support from CONACyT grant 178377 and UNAM's PAPIIT grant IN101616. We thank Sébastien Fromang for discussions and guidance during the development of the MHD solver, and for comments on an early version of this work. We thank Gloria Koenigsberger for a thorough reading of this manuscript and constructive comments. We thank Ulises Amaya Olvera, Reyes García Carreón, and Jérôme Verleyen for their assistance in setting up the GPU cluster on which most of the calculations presented here have been run.
Publisher Copyright:
© 2016. The American Astronomical Society. All rights reserved.
PY - 2016
Y1 - 2016
N2 - 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.
AB - 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.
KW - Accretion, accretion disks
KW - Hydrodynamics
KW - Magnetohydrodynamics (MHD)
KW - Methods: numerical
KW - Protoplanetary disks
UR - http://www.scopus.com/inward/record.url?scp=85011876827&partnerID=8YFLogxK
U2 - 10.3847/0067-0049/223/1/11
DO - 10.3847/0067-0049/223/1/11
M3 - Article
AN - SCOPUS:85011876827
SN - 0067-0049
VL - 223
JO - Astrophysical Journal, Supplement Series
JF - Astrophysical Journal, Supplement Series
IS - 1
M1 - 11
ER -