GANDALF - Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids
arXiv:1709.04488 · doi:10.1093/mnras/stx2405
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.
arXiv comment33 pages, 23 figures, accepted for publication in MNRAS
References in corpus (42)
- The cosmological simulation code GADGET-2
- E pur si muove: Galiliean-invariant cosmological hydrodynamical simulations on a moving mesh
- GIZMO: A New Class of Accurate, Mesh-Free Hydrodynamic Simulation Methods
- Athena: A New Code for Astrophysical MHD
- Modelling Accretion in Protobinary Systems
- Cosmological SPH simulations: The entropy equation
- SPLASH: An interactive visualisation tool for Smoothed Particle Hydrodynamics simulations
- Smoothed Particle Hydrodynamics and Magnetohydrodynamics
- Gasoline: An adaptable implementation of TreeSPH
- Rossby Wave Instability of Keplerian Accretion Disks
- A comparative study of disc-planet interaction
- A General Class of Lagrangian Smoothed Particle Hydrodynamics Methods and Implications for Fluid Mixing Problems
- Modelling discontinuities and Kelvin-Helmholtz instabilities in SPH
- Mass Flow and Accretion through gaps in Accretion Discs
- Star cluster ecology IVa: Dissection of an open star cluster---photometry
- An energy-conserving formalism for adaptive gravitational force softening in SPH and N-body codes
- Inviscid SPH
- KROME - a package to embed chemistry in astrophysical simulations
- Reformulation of Smoothed Particle Hydrodynamics with Riemann Solver
- A Necessary Condition for Individual Time-Steps in SPH Simulations
- A Density Independent Formulation of Smoothed Particle Hydrodynamics
- Vortex generation in protoplanetary disks with an embedded giant planet
- Moving mesh cosmology: the hydrodynamics of galaxy formation
- SPH simulations of tidally unstable accretion disks in cataclysmic variables
- Dusty gas with SPH - I. Algorithm and test suite
- Anisotropic Diffusion in Mesh-Free Numerical Magnetohydrodynamics
- Astrophysical Weighted Particle Magnetohydrodynamics
- SEREN - A new SPH code for star and planet formation simulations
- Boosting the accuracy of SPH techniques: Newtonian and special-relativistic tests
- Two mechanisms for dust gap opening in protoplanetary discs
- A fast and explicit algorithm for simulating the dynamics of small dust grains with smoothed particle hydrodynamics
- Particle hydrodynamics with tessellation techniques
- VINE -- A numerical code for simulating astrophysical systems using particles I: Description of the physics and the numerical methods
- Resolution requirements for simulating gravitational fragmentation using SPH
- A Simple and Accurate Riemann Solver for Isothermal MHD
- An improved sink particle algorithm for SPH simulations
- DUSTYBOX and DUSTYWAVE: Two test problems for numerical simulations of two fluid astrophysical dust-gas mixtures
- A fast recursive coordinate bisection tree for neighbour search and gravity
- Smoothed particle hydrodynamics simulations of gas and dust mixtures
- Two-fluid dust and gas mixtures in smoothed particle hydrodynamics II: an improved semi-implicit approach
- Multi-Dimensional, Compressible Viscous Flow on a Moving Voronoi Mesh
- A hybrid SPH/N-body method for star cluster simulations
Cited by in corpus (41)
- STARFORGE: Toward a comprehensive numerical model of star cluster formation and feedback
- The dynamical evolution of molecular clouds near the Galactic Centre - II. Spatial structure and kinematics of simulated clouds
- Tree-based solvers for adaptive mesh refinement code FLASH - I: gravity and optical depths
- First Predicted Cosmic Ray Spectra, Primary-to-Secondary Ratios, and Ionization Rates from MHD Galaxy Formation Simulations
- A purely hyperbolic discontinuous Galerkin approach for self-gravitating gas dynamics
- Planet formation around M dwarfs via disc instability: Fragmentation conditions and protoplanet properties
- Protoplanetary Disc Response to Distant Tidal Encounters in Stellar Clusters
- Evidence of a past disc-disc encounter: HV and DO Tau
- The dynamical evolution of molecular clouds near the Galactic Centre -- III. Tidally--induced star formation in protocluster clouds
- The Lagrangian hydrodynamics code MAGMA2
- DISPATCH: A Numerical Simulation Framework for the Exa-scale Era. I. Fundamentals
- The Cosmological Simulation Code OpenGadget3 -- Implementation of Meshless Finite Mass
- Inner Boundary Condition in Quasi-Lagrangian Simulations of Accretion Disks
- FROST: a momentum-conserving CUDA implementation of a hierarchical fourth-order forward symplectic integrator
- Local simulations of MRI turbulence with meshless methods
- Two-Fluid Dusty Gas in Smoothed Particle Hydrodynamics: Fast and Implicit Algorithm for Stiff Linear Drag
- SPHINCS_BSSN: A general relativistic Smooth Particle Hydrodynamics code for dynamical spacetimes
- Accretion driven turbulence in filaments II: Effects of self-gravity
- Bondi-Hoyle-Lyttleton accretion by binary stars
- Nonlinear Evolution of Instabilities Between Dust and Sound Waves
- The Kelvin-Helmholtz instability and smoothed particle hydrodynamics
- A general-purpose timestep criterion for simulations with gravity
- Efficient radiative transfer techniques in hydrodynamic simulations
- Evolution of Hubble wedges in episodic protostellar outflows
- The role of physical and numerical viscosity in hydrodynamical instabilities
- The impact of episodic outflow feedback on stellar multiplicity and the star formation efficiency
- SPH to Grid: a new integral conserving method
- Novel Conservative Methods for Adaptive Force Softening in Collisionless and Multi-Species N-Body Simulations
- Deuterium Chemodynamics of Massive Pre-Stellar Cores
- Mesh-free hydrodynamics in PKDGRAV3 for galaxy formation simulations
- Collision between Molecular Clouds I. The effect of the cloud virial ratio in head-on collisions
- WVTICs -- SPH initial conditions for everyone
- Kinematics of Galactic Centre clouds shaped by shear-seeded solenoidal turbulence
- Testing the effect of resolution on gravitational fragmentation with Lagrangian hydrodynamic schemes
- A self-gravity module for the PLUTO code
- Protostellar Outflows: a window to the past
- A Code to Make Your Own Synthetic ObservaTIonS (MYOSOTIS)
- The complex multi-scale structure in simulated and observed emission maps of the proto-cluster cloud G0.253+0.016 (`the Brick')
- Large dust fractions can prevent the propagation of soundwaves
- Collision Between Molecular Clouds-III: The effects of cloud initial density profile on head-on collisions
- Grouped star formation: converting sink particles to stars in hydrodynamical simulations