Shock & Detonation Toolbox - Linux ZND Compilation

  1. Make sure that you have downloaded and installed Cantera 1.7 to your machine - Installation Instructions.
  2. You will need the source code: zndstandard.tar (10/07) Note: This program has been successfully compiled with gcc version 3.4.6 2006040 (Red Hat 3.4.6-3)
  3. Find the makefile "build/znd.make"
  4. Make the necessary corrections to the make file and compile the source as below


  1. Unpack the tar file using:
    tar -xvf zndstandard.tar
  2. Edit "CANTERA_LIBDIR" and "VPATH" in "build/znd.make" to reflect the path of your cantera installation
  3. In "build/", make znd:
    make -f znd.make
  4. The executable "znd" and example input file will be in "bin/"
  5. To run, type ./znd and then enter the input file name and hit return


This program requires an input file which must be in the current directory
Example: zndbasic.inp

The structure of the input file is as follows