MAGI: many-component galaxy initializer

Providing initial conditions is an essential procedure for numerical simulations of galaxies. The initial conditions for idealised individual galaxies in $N$-body simulations should resemble observed galaxies and be dynamically stable for time scales much longer than their characteristic dynamical times. However, generating a galaxy model ab initio as a system in dynamical equilibrium is a difficult task, since a galaxy contains several components, including a bulge, disc, and halo. Moreover, it is desirable that the initial-condition generator be fast and easy to use. We have now developed an initial-condition generator for galactic $N$-body simulations that satisfies these requirements. The developed generator adopts a distribution-function-based method, and it supports various kinds of density models, including custom-tabulated inputs and the presence of more than one disc. We tested the dynamical stability of systems generated by our code, representing early- and late-type galaxies, with $N=$~2,097,152 and 8,388,608 particles, respectively, and we found that the model galaxies maintain their initial distributions for at least 1~Gyr. The execution times required to generate the two models were $8.5$ and $221.7$ seconds, respectively, which is negligible compared to typical execution times for $N$-body simulations. The code is provided as open-source software and is publicly and freely available at \url{this https URL}.

[1]  Henk A. van der Vorst,et al.  Bi-CGSTAB: A Fast and Smoothly Converging Variant of Bi-CG for the Solution of Nonsymmetric Linear Systems , 1992, SIAM J. Sci. Comput..

[2]  Konrad KuijkenJohn Dubinski Nearly self-consistent disc–bulge–halo models for galaxies , 1995 .

[3]  J. Bailin,et al.  Diverse stellar haloes in nearby Milky Way mass disc galaxies , 2016, 1611.05448.

[4]  B. Schmidt,et al.  PROBING THE STELLAR HALO OF THE MILKY WAY WITH THE SEKBO RR LYRAE SURVEY , 2012 .

[5]  Makoto Matsumoto,et al.  SIMD-Oriented Fast Mersenne Twister: a 128-bit Pseudorandom Number Generator , 2008 .

[6]  Richard W. Michie On the Distribution of High Energy Stars in Spherical Stellar Systems , 1962 .

[7]  David Schlegel,et al.  The Milky Way Tomography with SDSS. I. Stellar Number Density Distribution , 2005, astro-ph/0510520.

[8]  Ivan R. King,et al.  The structure of star clusters. III. Some simple dvriamical models , 1966 .

[9]  L. Hernquist,et al.  An Analytical Model for Spherical Galaxies and Bulges , 1990 .

[10]  C. Barache,et al.  Gaia Data Release 1: Astrometry - one billion positions, two million proper motions and parallaxes , 2016, 1609.04303.

[11]  Ivan K. Baldry,et al.  Galaxy And Mass Assembly (GAMA): Structural Investigation of Galaxies via Model Analysis , 2011, 1112.1956.

[12]  U. Washington,et al.  The inner structure of ΛCDM haloes – III. Universality and asymptotic slopes , 2003, astro-ph/0311231.

[13]  S. Suyu,et al.  Disk-Bulge-Halo Models for the Andromeda Galaxy , 2003, astro-ph/0301144.

[14]  B. Moore,et al.  Empirical Models for Dark Matter Halos. I. Nonparametric Construction of Density Profiles and Comparison with Parametric Models , 2005, astro-ph/0509417.

[15]  Pavel Kroupa,et al.  Efficient N-body realisations of axisymmetric galaxies and halos , 2001 .

[16]  G. Lake,et al.  Resolving the Structure of Cold Dark Matter Halos , 1997, astro-ph/9709051.

[17]  R. Teyssier,et al.  Evolution of the mass, size, and star formation rate in high redshift merging galaxies - MIRAGE – A new sample of simulations with detailed stellar feedback , 2013, 1307.7130.

[18]  Carlos S. Frenk,et al.  The diversity and similarity of simulated cold dark matter haloes , 2008, 0810.1522.

[19]  E. Athanassoula,et al.  Applying Schwarzschild's orbit superposition method to barred or non-barred disc galaxies , 2015, 1505.03148.

[20]  E. Kokubo,et al.  GALACTIC SPIRAL ARMS BY SWING AMPLIFICATION , 2016, 1603.00586.

[21]  A. Kravtsov,et al.  The Robustness of Dark Matter Density Profiles in Dissipationless Mergers , 2005, astro-ph/0510583.

[22]  Ben Moore,et al.  Generating Equilibrium Dark Matter Halos: Inadequacies of the Local Maxwellian Approximation , 2003, astro-ph/0309517.

[23]  C.M.Boily,et al.  Efficient N-body Realisations of axisymmetric Galaxies and Haloes , 2001 .

[24]  S. White,et al.  Simulations of X-ray clusters , 1994, astro-ph/9408069.

[25]  H. Plummer On the Problem of Distribution in Globular Star Clusters: (Plate 8.) , 1911 .

[26]  A. Burkert The Structure of Dark Matter Halos in Dwarf Galaxies , 1995 .

[27]  James Binney,et al.  Galactic Dynamics: Second Edition , 2008 .

[28]  E. Athanassoula,et al.  An iterative method for constructing equilibrium phase models of stellar systems , 2009 .

[29]  S. White,et al.  The Structure of cold dark matter halos , 1995, astro-ph/9508025.

[30]  John Dubinski,et al.  Equilibrium Disk-Bulge-Halo Models for the Milky Way and Andromeda Galaxies , 2005, astro-ph/0506177.

[31]  Konrad Kuijken,et al.  Lowered Evans models: analytic distribution functions of oblate halo potentials , 1994 .

[32]  Ralf Bender,et al.  The Demography of massive dark objects in galaxy centers , 1997, astro-ph/9708072.

[33]  Toshiyuki Fukushige,et al.  On the Origin of Cusps in Dark Matter Halos , 1996, astro-ph/9610005.

[34]  A. Marconi,et al.  The Relation between Black Hole Mass, Bulge Mass, and Near-Infrared Luminosity , 2003, astro-ph/0304274.

[35]  R. Bernstein,et al.  A Structural and Dynamical Study of Late-Type, Edge-on Galaxies. II. Vertical Color Gradients and the Detection of Ubiquitous Thick Disks , 2002, astro-ph/0207221.

[36]  S. Bamford,et al.  Galaxy And Mass Assembly (GAMA): Structural Investigation of Galaxies via Model Analysis (SIGMA) , 2011 .

[37]  John Dubinski,et al.  Dynamical Blueprints for Galaxies , 2008, 0801.3414.

[38]  E. Kokubo,et al.  PITCH ANGLE OF GALACTIC SPIRAL ARMS , 2014, 1404.6332.

[39]  P. Yoachim,et al.  Structural Parameters of Thin and Thick Disks in Edge-on Disk Galaxies , 2005, astro-ph/0508460.

[40]  B. Schmidt,et al.  Revealing Substructure in the Galactic Halo: The SEKBO RR Lyrae Survey , 2007, 0711.2337.

[41]  V. Springel,et al.  An iterative method for the construction of N-body galaxy models in collisionless equilibrium , 2014, 1402.1623.

[42]  T. D. Matteo,et al.  Modelling feedback from stars and black holes in galaxy mergers , 2004, astro-ph/0411108.

[43]  E. Vasiliev A new code for orbit analysis and Schwarzschild modelling of triaxial stellar systems , 2013, 1307.8116.

[44]  A. Eddington,et al.  The Distribution of Stars in Globular Clusters , 1916 .

[45]  L. Ferrarese Beyond the Bulge: A Fundamental Relation between Supermassive Black Holes and Dark Matter Halos , 2002, astro-ph/0203469.

[46]  S. Okamura,et al.  PROPERTIES OF DISKS AND BULGES OF SPIRAL AND LENTICULAR GALAXIES IN THE SLOAN DIGITAL SKY SURVEY , 2009, 0908.4312.

[47]  Masayuki Umemura,et al.  GOTHIC: Gravitational oct-tree code accelerated by hierarchical time step controlling , 2016, 1610.07279.

[48]  Ivan R. King,et al.  The structure of star clusters. I. an empirical density law , 1962 .

[49]  L. Hernquist,et al.  N-body realizations of compound galaxies , 1993 .

[50]  William H. Press,et al.  Multigrid Methods for Boundary Value Problems. II. , 1991 .

[51]  Walter Dehnen,et al.  Initial conditions for disc galaxies , 2007 .