English

GANDALF - Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids

Instrumentation and Methods for Astrophysics 2017-11-08 v1

Abstract

GANDALF is a new hydrodynamics and N-body dynamics code designed for investigating planet formation, star formation and star cluster problems. GANDALF is written in C++, parallelised with both OpenMP and MPI and contains a python library for analysis and visualisation. The code has been written with a fully object-oriented approach to easily allow user-defined implementations of physics modules or other algorithms. The code currently contains implementations of Smoothed Particle Hydrodynamics, Meshless Finite-Volume and collisional N-body schemes, but can easily be adapted to include additional particle schemes. We present in this paper the details of its implementation, results from the test suite, serial and parallel performance results and discuss the planned future development. The code is freely available as an open source project on the code-hosting website github at https://github.com/gandalfcode/gandalf and is available under the GPLv2 license.

Keywords

Cite

@article{arxiv.1709.04488,
  title  = {GANDALF - Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids},
  author = {David A. Hubber and Giovanni P. Rosotti and Richard A. Booth},
  journal= {arXiv preprint arXiv:1709.04488},
  year   = {2017}
}

Comments

33 pages, 23 figures, accepted for publication in MNRAS

R2 v1 2026-06-22T21:42:20.871Z