Sverre Aarseth's Institute of Astronomy N-Body and Downloads Page
Sverre Aarseth
Mountain skyline
All-Round N-Body Guy, Mountaineer and Wild-Life Enthusiast
N-Body

Introduction

My research into numerical simulations of many-body (N-body) gravitational interactions spans over 40 years, and is reported in several publications and my book. I have developed a set of FORTRAN codes which describe the dynamics very closely, and these are regarded by many as the de facto standard. I have explained below how you can download these codes for execution on your local computer system.

Code Tree

NBODY6 code tree from Doxygen documentation can be found here.

Downloads

For those of you with an FTP tool, you can access my public N-Body directory at ftp://ftp.ast.cam.ac.uk/pub/sverre/. Your browser (such as Microsoft's Internet Explorer) should present you with an FTP viewer window when you click on this link. If so, you should be able to copy whole code group directories at a time.

Otherwise please use the links below to identify and download the specific files that you need.

At any time if you'd like further information, please do contact me.

 

Code Group Filename Filesize (Kb) Notes
 
2
General textual description of the codes.
 
 
   
nbody1
1
The version nbody1.tar.Z is in full REAL*8.
The file nbody1_real4.tar.Z is the old version with mixed REAL*4/*8 precision which is kept for historical reasons.
The recent file nbody1h.tar.gz is the Hermite block-step formulation for workstations and (micro-)GRAPE, developed with Jun Makino in 1991.
 
26
 
26
 
140
 
 
 
 
nbody2
213

Directory nbody2 contains the code NBODY2 and an article describing it. The whole file is called nbody2.tar.Z. Inside is the code, the article chap9.tex and also chap9.ps. The article may be produced in TeX using the enclosed macro
svnyp.sty (or see New Ast. 6, 277). The code NBODY2H is the Hermite block-step version of NBODY2.

 
185
 
 
 
 
nbody3
204
One force polynomial with full regularization.
 
 
 
 
nbody4
1
The public GRAPE-6 or micro-Grape code NBODY4
and the equivalent brute force code for workstations or laptops
called BRUT4.
The current versions were updated 12 March 2006.
Introduction to running simulations.
 
360
 
340
 
1
 
 
 
 
nbody5
1
The code NBODY5 has been heavily used but
is no longer updated. NBODY6 is recommended instead.
 
289
 
 
 
 
nbody6
1
README contains some past history of NBODY6.
Further practical info can be found in directory Docs.
nbody6.tar.gz holds the new standard code NBODY6.

The previous 2006 version has been renamed as old6.tar.gz.

The postscript file man6.pdf is the new manual.

The 2006 manual has been renamed as ps file old6.ps.
Rainer Spurzem's corresponding parallel code, nbody6++,
can be obtained here.

Introduction to running simulations.

README2 contains input file for using GPU with nbody6.

guide.pdf is guide for SSE and GPU with nbody6.

Tar file for the GPU directory and library.

Text file for updating of astrophysics (11/2015).

Copy of text file for all output channels in the new NBODY6.

pdf file of our 2012 NBODY6-GPU paper.
 
980
 
640
 
200
 
306
 
1
 
1
 
30
 
65
 
10
 
25
 
250
 
 
 
 
planet
16
PLANET is a Hermite code for planetesimals.
PLANET3 is a planetary code with fragmentation.
 
30
 
 
 
 
triple
13
Basic version of three-body regularization.
TRIPLE movie code with X11 graphics.
 
26
 
 
 
 
chain
20
Basic chain version. CHAIN2 includes the slow-down
procedure (Cel. Mech. 64, 197).
Other versions are available upon request.
movie.tar.Z holds X11 movie version of CHAIN.
 
26
 
48
 
 
 
 
comove
28
Cosmological N-body code in comoving coordinates.
 
 
 
 
errata
1
The file "errata" is a text file for book errata of 3/10/03
and "errata.ps" is the corresponding postscript file.
The text file "errata2" contains subsequent mistakes.
 
2
 
54
 
1
 
 
 
 
hermit
16
HERMIT is a basic Hermite N-body code.
HERMIT2 uses time-symmetric Hermite method of Kokubo et al.
HERMIT3 is standard Hermite with Burdet-Heggie regularization.
HERMIT4 is time-symmetric Hermite with Burdet-Heggie regularization.
The manual is described in the postscript file hermit4.ps.
 
16
 
10
 
43
 
133
 
 
 
 
toy
15
Toy codes for unperturbed two-body motion.
Five different regularization methods are implemented.
A new version called hermit.tar.Z includes Post-Newtonian
perturbations derived from the 2005 paper of Mora and Will.
The file ksreg2.tar.gz contains Mora & Will PN2.5 and derivative terms.
 
65
 
22
 
15
 
 
 
 
multireg
1
 
 
22
triple.tar.Z holds the three-body regularization code described in the manual.
chain0.tar.Z contains the basic chain regularization code as described in the manual manreg.ps.
chain.tar.Z gives the full version with many optional features and is described in the manual.
The postscript file manreg.ps is the manual for the three-body
and chain codes.
triple2.tar.Z contains the standard AZ method with an external
potential as well as optional movie facilities for PGPLOT and X11.
The code triple3.tar.Z contains GR example discussed in 2007 paper.
A PN/movie version of TRIPLE called kozai.tar.gz was added 28/6/2012.
 
14
 
45
 
220
 
32
 
50
 
30
 
 
 
 
talks
600
N-body talks Nov 2006.
 
 
 
 
nbody0
1
Compact fourth-order Hermite block-step code.

 

Sverre's web pages are hosted by the University of Cambridge Institute of Astronomy
Clicking on this link will launch the Institute's own home page in a separate browser window

Original site design by Steve Taylor at FutureAspect www.futureaspect.net