Lecture 13 Galaxy Modeling and Milky Way II.



Physics 141/241

Winter 2019




Lecture notes

Lecture notes.




Paper on Kuijken & Dubinski construction

original paper.




Galactics Software

Instructions in Readme file





The Kuijken-Dubinski Galaxy Modeling Package

We will use the code of Konrad Kuijken and John Dubinski to generate disk-bulge-halo galaxies.

The complete source package is in the tar file galactics.tar.gz .

  • Getting the source and unpacking (no pgplot in tar file)

  • Create directory tree galaxy: gunzip -d -c galaxy.tar.gz | tar xvf -

  • use gfortran for compilation
  • #F77=/software/ports/bin/gfortran-mp-4.5
    F77=gfortran
    CC=gcc
    FFLAGS = -O
    #FLIBS = -L/usr/X11R6/lib/ -lX11
    #FLIBS = -L/usr/X11R6/lib/ -lX11 -L/software/physics/lib
    #FLIBS = -L/usr/X11R6/lib/ -lX11 -L/software/physics/lib -lpgplot
    CFLAGS = -O -DRINGASCII -DASCII