T12: Visualization of Galaxies in cosmological simulations

We are going to use Splotch to visualize galaxies out of the Magneticum simulations.

How to start:

How to do your first image:

The galaxies_*.txt files contains a PATH in the first line and then a list of interesting objects, defined by 5 numbers: SNR and SUB defines the file and X, Y and Z the coordinate. Here an example:

/HydroSims/Magneticum/Box4/uhr_test/
SNR SUB X Y Z
136 12 44319.5 11750.2 15495.4
136 9 24555.5 37925.5 41413.5
036 10 32042.6 44672.2 22093.5

Now, edit the demo.par file:

You should have an image demo0000.tga which you can watch by xv demo.tga or display demo.tga.

How to improve your image:

Now you have a large range of possibilities to influence the appearance of the result. In general, lines starting with # as well as unused or unknown parameters in the parameter file are ignored. ptypes=2 defines that you want to visualize two particles species and ptype0=0 defines that the first species are the gas particles of the simulation and ptype1=4 defines that the second ones are the star particles in the simulation. Accordingly, all parameters ending with 0 refer to the gas particles and the one ending with 1 are referring to the stellar particles.

How to make a movie:

Splotch allows you to create image sequences directly in a very simple way. You create just a file with the evolution of some of the parameters and Splotch will produce an image for each line in the file. So simply: When you now run Splotch files with increasing numbers will be created, which you can glue together as a movie after wards. For example you can set the camera position as a circle around the object, see the movie below.

How to explore the unknown:

Example Image/Movie::