CosmoBazar
Informations on cosmological simulation visualization
|
|
Introduction
All informations come from Arnaud Borde.
This page provides documentation and instructions for installing programs to create images or movies from Gadget simulation.
Documentation and support
- Note Arnaud Borde: simu.pdf
- Simulation done with: gadget-2
- Visualization done with: Splotch
- Data
- Simulation 1 (evolution from Z=15 to Z=0, constant step in log?)
- available on oxal at /home/tera/aborde/20_128_neutrino/
- cube side: 20 Mpc/h
- 1283 for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0.8 eV)
- Simulation 2 (evolution from Z=30 to Z=0, constant step in log?)
- available on CURIE (airain) (~2Tera)
- cube side: 50 Mpc/h
- 5123 for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0.4 eV)
- Simulation 3 (evolution from Z=30 to Z=0, constant step in log?)
- available on CURIE (airain) (~2Tera)
- cube side: 10 Mpc/h
- 5123 for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0.4 eV)
- Simulation 4 to 9 (evolution from Z=30 to Z=2.2, 13 step between 4.6 -> 2.2, Planck/BAO best guest) done by Christophe Magneville
- available on CURIE (airain) for neutrinos (Σν1,2,3= 0 eV) and neutrinos (Σν1,2,3= 1 eV)
- cube side 100 Mpc/h
- 7683, for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0 eV)
- cube side 25 Mpc/h
- 7683, for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0 eV)
- cube side 25 Mpc/h
- 1923, for 3 different type of particles(1010M☉/h): baryon (stars & gaz), CDM, neutrinos (Σν1,2,3= 0 eV)
Visualization Installation
- On OXAL (idem sur airain)
- Sap machine, supports and authorization:frederic.bournaud@cea.fr
- install Splotch (with the modification done by Arnaud to connect the 6 cube faces together)
- copy in your work directory the following files:
- grab the following commands in your work directory:
cd ../Splotch/Splotch-4.4-Modified
make
mkdir MonEvolutionPerso
cd MonEvolutionPerso
ln -fs ../Splotch/Splotch-4.4-Modified/Splotch4.4OXAL-opti .
ln -fs ../Splotch/Splotch-4.4-Modified/palettes
|
Run Visualization
# number of core used for the calculation
export OMP_NUM_THREADS = 4
# create different points of view of the same simulation
python create_rotation.py
# define evolution
# or this choice: python create_evolution.py
# create the list of images (*.tga) for a given parametrization
./Splotch4.4OXAL-opti evolution_gaz.par
|
# number of core used for the calculation
export OMP_NUM_THREADS = 4
# image for a given simulation at given Z (define by the set of data analyzed)
./Splotch4.4OXAL-opti evolution_gaz_oneshot.par
|
To test snapshot
Create movie
- On a linux machine with ffmpeg
# first convert .tga in ffmpeg known format (png,jpg,...) probably with resolution losses (find convert options)
for i in *.tga; do echo convert $i ${i%.tga}.png; done
# create film
ffmpeg -i evolution_gaz_%06d.png tartempion.avi
|
-- LaurentChevalier - 24 Jan 2014
Copyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback
|