(Code to run the simulations and generate figures of the paper: 2019MNRAS.482..732C: The viscous evolution of circumstellar discs in young star clusters.)
This is a code to run simulations of star clusters where the stars have protoplanetary disks around them. Protoplanetary disks are subject to viscous growth and dynamical truncations. The disks are parametrized using the descriptions of Lynden-Bell & Pringle 1974 (1974MNRAS.168..603L) and Hartmann et al 1998 (1998ApJ...495..385H). The simulations are run using the AMUSE framework (Astrophysical Multipurpose Software Environment). See paper for more details.
For questions please contact Francisca Concha-Ramírez, fconcha at strw.leidenuniv.nl
These instructions will get you a copy of the project up and running on your local machine for testing purposes. You will be able to run the simulations as specified in the paper and to reproduce the figures.
- Python 2.7. Should work fine with Python 3 but it has not been tested.
- AMUSE: https://github.com/amusecode/amuse
- scipy
You can run an individual simulation by using the AMUSE script directly:
amuse.sh cluster_with_viscous_disks.py
The script has extensive options which can be passed through the command line. For a list of these options run:
amuse.sh cluster_with_viscous_disks.py --help
Figures 1, 2, and 3 of the paper were created with the script plot_disks.py
. You can run it as:
amuse.sh plot_disks.py
A list of options is available for this script, including the path to the files that you want to use for the plots. To see the list of options add --help
or -h
to the line above.
Figures 4, 5, and 6 of the paper were created with the script find_models.py
. Instructions are the same as above.
- Francisca Concha-Ramírez - francisca.cr
- Eero Vaher
- Simon Portegies Zwart
This project is licensed under the GPL v3 License - see the LICENSE.md file for details
- We thank Arjen van Elteren for invaluable help with AMUSE!