Update home authored by Rainer Weinberger's avatar Rainer Weinberger
# Arepo wiki # Arepo wiki
AREPO is a massively parallel code for gravitational n-body systems and Arepo is a massively parallel code for gravitational n-body systems and
magnetohydrodynamics, both on Newtonian as well as cosmological background. magnetohydrodynamics, both on Newtonian as well as cosmological background.
It is a flexible code that can be applied to a variety of different types of It is a flexible code that can be applied to a variety of different types of
simulations, offering a number of sophisticated simulation algorithms. A simulations, offering a number of sophisticated simulation algorithms. A
description of the numerical algorithms employed by the code is given in the description of the numerical algorithms employed by the code is given in the
original code paper and subsequent publications. This documentation addresses public release paper.
the question how to use the different numerical algorithms. For a more detailed discussion about these algorithms, the original code paper
and subsequent publications are the best resource. This documentation only
addresses the question how to use the different numerical algorithms.
AREPO was written by Volker Springel (vspringel@mpa-garching.mpg.de) with further Arepo was written by Volker Springel (vspringel@mpa-garching.mpg.de) with further
development by Rüdiger Pakmor (rpakmor@mpa-garching.mpg.de) and contributions by development by Rüdiger Pakmor (rpakmor@mpa-garching.mpg.de) and contributions by
many other authors. The public version of the code was compiled by Rainer many other authors (www.arepo-code.org/people).
Weinberger (rainer.weinberger@cfa.harvard.edu). The public version of the code was compiled by Rainer Weinberger
(rainer.weinberger@cfa.harvard.edu).
Overview Overview
======== ========
The AREPO code was initially developed to combine the advantages of The Arepo code was initially developed to combine the advantages of
finite-volume hydrodynamics schemes with the Lagrangian invariance of finite-volume hydrodynamics schemes with the Lagrangian invariance of
Smoothed Particle Hydrodynamics schemes. To this end, Arepo makes use of an smoothed particle hydrodynamics (SPH) schemes. To this end, Arepo makes use of an
unstructured Voronoi-mesh which is, in its standard setting, moving with unstructured Voronoi-mesh which is, in its standard setting, moving with
the fluid in an quasi-Lagrangian fashion. The fluxes between cells are computed the fluid in an quasi-Lagrangian fashion. The fluxes between cells are computed
using a finite-volume approach, and further spatial adaptivity is using a finite-volume approach, and further spatial adaptivity is
provided by the possibility to add and remove cells from the provided by the possibility to add and remove cells from the
mesh according to defined criteria. In addition to gas, AREPO allows for a mesh according to defined criteria. In addition to gas, Arepo allows for a
number of additional particle types which interact only gravitationally, as number of additional particle types which interact only gravitationally, as
well as for forces from external gravitational potentials. well as for forces from external gravitational potentials.
AREPO is optimized for, but not limited to, cosmological simulations of galaxy Arepo is optimized for, but not limited to, cosmological simulations of galaxy
formation and consequently for simulations with very high dynamic ranges in formation and consequently for simulations with very high dynamic ranges in
space and time. Therefore, AREPO employes an adaptive timestepping for each space and time. Therefore, Arepo employs an adaptive timestepping for each
individual cell and particle as well as a dynamic, on-the fly load and memory individual cell and particle as well as a dynamic load and memory
balancing scheme. In its current version, AREPO is fully MPI parallel, and tested balancing scheme. In its current version, Arepo is fully MPI parallel, and tested
to run with >10,000 MPI tasks. The exact performance is, however, highly problem and to run with >10,000 MPI tasks. The exact performance is, however, highly problem and
machine dependent. machine dependent.
...@@ -41,7 +44,7 @@ Disclaimer ...@@ -41,7 +44,7 @@ Disclaimer
========== ==========
It is important to note that the performance and accuracy of the code is a It is important to note that the performance and accuracy of the code is a
sensitive function of some of the code parameters. We also stress that AREPO sensitive function of some of the code parameters. We also stress that Arepo
comes without any warranty, and without any guarantee that it produces correct comes without any warranty, and without any guarantee that it produces correct
results. If in doubt about something, reading (and potentially improving) the results. If in doubt about something, reading (and potentially improving) the
source code is always the best strategy to understand what is going on! source code is always the best strategy to understand what is going on!
...@@ -60,8 +63,7 @@ such recommendations. We encourage every simulator to find out for ...@@ -60,8 +63,7 @@ such recommendations. We encourage every simulator to find out for
herself/himself what integration settings are needed to achieve sufficient herself/himself what integration settings are needed to achieve sufficient
accuracy for the system under study. We strongly recommend to make convergence accuracy for the system under study. We strongly recommend to make convergence
and resolution studies to establish the range of validity and the uncertainty of and resolution studies to establish the range of validity and the uncertainty of
any numerical result obtained with AREPO. any numerical result obtained with Arepo.
Table of contents Table of contents
================= =================
... ...
......