CosmoBazar

Informations on cosmological simulation visualization snap.gif

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

  • example On OXAL
#  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

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext FormatDataSnapshot r1 manage 1.4 K 2014-02-06 - 14:05 LaurentChevalier  
Texttxt create_evolution.py.txt r1 manage 0.9 K 2014-01-24 - 15:18 LaurentChevalier  
Texttxt create_rotation.py.txt r1 manage 0.9 K 2014-01-24 - 15:19 LaurentChevalier  
Unknown file formatpar evolution_gaz.par r1 manage 1.6 K 2014-01-24 - 15:19 LaurentChevalier  
Unknown file formatpar evolution_gaz_oneshot.par r1 manage 2.6 K 2014-03-10 - 14:17 LaurentChevalier  
Texttxt header.py.txt r1 manage 2.9 K 2014-02-06 - 14:05 LaurentChevalier  
PDFpdf simu.pdf r1 manage 1677.5 K 2014-01-24 - 11:46 LaurentChevalier  
GIFgif snap.gif r1 manage 423.7 K 2014-01-24 - 14:31 LaurentChevalier  
PDFpdf users-guide.pdf r1 manage 260.0 K 2014-03-10 - 14:49 LaurentChevalier  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2014-03-10 - LaurentChevalier
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 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