This is the DICE bitbucket repository.
DICE is an open source code modelling initial conditions of idealised galaxies to study their secular evolution, or to study more complex interactions such as mergers or compact groups using N-Body/hydro codes. The particularity of this code is its ability to setup a large number of components modelling distinct parts of the galaxy. The code creates 3D distributions of particles using a N-try MCMC algorithm which does not require a prior knowledge of the distribution function. The gravitational potential is then computed on a multi-level cartesian mesh by solving the poisson equation in the Fourier space. Finally, the dynamical equilibrium of each component is computed by integrating the Jeans equations for each particles. Several galaxies can be generated in a row and be placed on Keplerian orbits to model interactions. DICE writes the initial conditions in the Gadget1 or Gadget2 format and is fully compatible with Ramses thanks to a patch included in the public ramses distribution.
The user's guide is accessible here.
Download the code by cloning the git repository using
$ git clone https://bitbucket.org/vperret/dice
Please register also to the DICE google group.