Scripts to generate isolated disk galaxy ICs for simulations using Arepo.
- GalIC_1.0 (recommended): Version 1.0 of GalIC Yurin et al. (2014), available to download here.
- GalIC_1.1: Version 1.1 of GalIC from this repo.
- conversion: Public version of AREPO configured to transform ICs files to the Arepo format, and to add gas cells.
- To generate the dark matter (DM) only ICs, do:
cd GalIC_1.0/code # or `cd GalIC_1.1/code` depending on which version you want
./run.sh N
cd ../..
where N is the number of particles in one dimension (i.e. send 32
will produce
- To convert the DM only ICs to the AREPO format, and to add gas cells, do:
cd conversion/code
./run.sh out_filename
where out_filename
is the name of the resulting HDF5 file.
-
The final IC file will have
$N^3$ DM particles and$> N^3$ gas cells (the extra ones are the background cells with negligible density). -
After both runs all intermediate files should've been removed, and the
output
folder should have three new files:- The final IC file with gas cells and DM particles.
- The standard output from the conversion process.
- The DM only IC file generated by GalIC.