PHYSICS 141/241

Winter 2006

Laboratory Session III

1/30/06

1. Practice with Data Visualization: Data Explorer

Instructions

Assignment:

Work through every step of the visualization of the collapsing  sphere data file.

2. First Practice with the Aarseth Code

  • Fetching the gnuzipped tar file:

    nbody0.tar.gz 

  • Manual 

  • Save, gunzip and untar in a directory:

    gunzip nbody0.tar.gz

    tar tvf nbody0.tar

    tar xvf nbody0.tar

    equivalently:

    gunzip -d -c nbody.tar.gz | tar xvf -

  • Compile the Fortran code:

    g77 -o xrun main.f nbody0.f nbodyio.f

  • Generate initial star distribution with 3000 points

  • Run the test program first

    xnb0 < data.in &

  • Visualize and animate with DX