AMUSE helps you simulate star clusters with binaries
Creating tools from scratch to simulate dynamical interactions in star clusters is a lot of work. Fortunately, we’ve already done this with the AMUSE framework (1, 2, 3), and we’re happy for you to use these! In this post you will find some (interactive) examples for four tools, designed for creating initial conditions, simulating binary interactions, star cluster formation and visualisation. You can download a Jupyter notebook with these examples here: Jupyter notebook examples.
make a star cluster - choose an IMF and spatial distribution, supports initial binaries.
MASC is a tool that integrates several functions in AMUSE to facilitate creating initial conditions. It supports multiple spatial distributions (like Plummer, King and Fractal models), initial mass functions (Kroupa, Salpeter, flat) and can now also create initial binaries with various properties (semi-major axis, eccentricity, mass relation between the primary and secondary). It can be run from the command line to create an AMUSE file, or directly from an AMUSE script (with more functionality).
takes care of interactions between a binary pair and any system that could disrupt it.
Multiples is a solution to the problem encountered by gravitational dynamics codes when simulating large systems with hard binaries in them: the time step would get too short, slowing the code down to a crawl. Multiples detects systems of two (or more) stars within a specified interaction radius, and replaces these for the gravity code by a single particle. When this particle encounters another particle, Multiples calculates the orbital phase of the stars in the system with a Kepler integrator, and then handles the encounter to its conclusion, e.g. the formation of (a) new multiple system(s) or the dissolution into individual stars, using a gravity code optimized for a small number of particles. In this way, gravitational dynamics are sped up by a large factor compared to using a pure N-body code.
star formation from molecular clouds at moderate mass resolution.
With Ekster, we can simulate the formation of star clusters from molecular clouds. It combines gravitational dynamics, hydrodynamics and stellar evolution with a recipe for star formation that forms stars on a proto-cluster basis, about 200 M☉ at a time. In (6), we used Ekster to simulate star formation in a spiral galaxy, while in (7) we used it to simulate a possible future of the Orion nebula cluster based on observed gas- and star distributions.
visualisation of stars with extinction from dust - create mock-observations from simulations.
Fresco is a visualisation tool, that calculates the visual appearance of stars using their luminosity and temperature. It calculates the stellar flux in several color bands, convolves this with a point-spread function (the PSF for Hubble’s WFC3 is included) and combines the result to a color image (mimicking visual observation). Additionally, Fresco supports calculating extinction and reflection by gas/dust.
At Github (3), we have provided many examples making use of one or more of these tools. Please feel free to use and improve on these for your use cases.