## Source codes and miscellaneous tools

This page regroups selected programs that you may download. Please
note that none of this information is guaranteed to work for your
specific purpose. Questions may be directed to Michel Louge. Other miscellaneous programs are available throughout our web site.

### Kinetic theory source codes for granular materials

These codes, written by Haitao Xu,
integrate the mass, momentum and fluctuation kinetic energy equations
of collisional granular flows in various geometries, with or without
interstitial gas, including segregation of different granular species.

### Numerical simulation source codes for granular materials

These codes, derived by Michel Louge from the original work of Mark Hopkins, simulate the behavior of spheres interacting through binary collisions in various geometries.

### Source codes predicting the behavior of a vibrated box filled with colliding spheres

These Matlab programs, written by Michel Louge,
use kinetic theory to predict the volume fraction and granular
temperature profiles in the vertical direction for spheres vibrated in
a box.

### Source code for predicting dense granular flows down flat, frictional inclines

This Matlab program, written by Michel Louge, implement the Louge and Keast theory for granular flows down flat, frictional chutes.

### Source code for implementing the binary impact theory of Maw, Barber and Fawcett

This Fortran program, written by Michel Louge, implement the Maw, Barber and Fawcett theory for the impact of two elastic, frictional spheres, or for one sphere on a half-space. Other source codes related to impacts are found in this page, for example codes used in predicting the impact behavior of liquid-filled shells.

### Monte-Carlo source codes predicting the optical behavior of instrumentation for solid volume fraction

These ray-tracing Monte-Carlo simulations, written by Michel Louge
and Jeff Lischer, calculate the fraction of photons returning from a
suspension of spheres illuminated by various optical sources. They may
be used to predict the performance of optical fiber measurements of solid volume fraction in gas-solid suspensions, or to predict the optical behavior of the snow pack.

### Chemical kinetics source codes

These programs, written and improved by several graduate students of Stanford's High Temperature Gasdynamics Laboratory, including Michel Louge, calculate the time histories of chemical species in homogeneous, isothermal combustion.