DIFFER
DIFFER Publication

GRADSPH: A parallel smoothed particle hydrodynamics code for self-gravitating astrophysical fluid dynamics

Author
Abstract

We describe the algorithms implemented in the first version of GRADSPH, a parallel, tree-based, smoothed particle hydrodynamics code for simulating self-gravitating astrophysical systems written in FORTRAN 90. The paper presents details on the implementation of the Smoothed Particle Hydro (SPH) description, where a gridless approach is used to model compressible gas dynamics. This is done in the conventional SPH way by means of 'particles' which sample fluid properties, exploiting interpolating kernels. The equations of self-gravitating hydrodynamics in the SPH framework are derived self-consistently from a Lagrangian and account for variable smoothing lengths ('GRAD-h') terms in both the hydrodynamic and gravitational acceleration equations. A Barnes-Hut tree is used for treating self-gravity and updating the neighbour list of the particles. In addition, the code updates particle properties on their own individual timesteps and uses a basic parallelisation strategy to speed up calculations on a parallel Computer system with distributed memory architecture. Extensive tests of the code in one and three dimensions are presented. Finally. we describe the program organisation of the publicly available 31) version of the code, as well as details concerning the structure of the input and output files and the execution of the program. Program summary Program title: GRADSPH 1.0 Catalogue identifier: AECX_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AECX_v1_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 11 123 No. of bytes in distributed program, including test data, etc.: 1561909 Distribution format: tar.gz Programming language: Fortran 90/MPI Computer: HPC cluster Operating system: Unix Has the code been vectorised or parallelised?: Yes RAM: 56 Mwords with 1.2 million particles on 1 CPU Word size: 32 bits Classification: 12 Nature of problem: Evolution of a self-gravitating fluid. Solution method: Hydrodynamics is described using SPH, self-gravity using the Barnes-Hut tree method. Running time: The test case provided with the distribution takes less than 10 minutes for 500 time steps on 10 processors. (C) 2009 Elsevier B.V. All rights reserved.

Year of Publication
2009
Journal
Computer Physics Communications
Volume
180
Number
7
Number of Pages
1164-1182
Date Published
Jul
Type of Article
Article
ISBN Number
0010-4655
Accession Number
ISI:000267727100016
URL
<Go to ISI>://000267727100016
PId
dca6c88cc50f587edc8ccbda7980f598
Alternate Journal
Comput. Phys. Commun.
Journal Article
Download citation