FARGO3D: A new GPU-oriented MHD code

Pablo Benitez-Llambay, Frederic Masset
Instituto de Astronomia Teorica y Experimental, Observatorio Astrononomico, Universidad Nacional de Cordoba. Laprida 854, X5000BGR, Cordoba, Argentina
arXiv:1602.02359 [astro-ph.IM], (7 Feb 2016)


   title={FARGO3D: A new GPU-oriented MHD code},

   author={Benitez-Llambay, Pablo and Masset, Frederic},






Download Download (PDF)   View View   Source Source   Source codes Source codes



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.
Rating: 2.5/5. From 1 vote.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: