Here You can download our implementation of the lattice Boltzmann simulator. Details about the algorithm can be found in the following references:

The following article can be also very helpful:

Download the source here: r142lb-0.4.22.tar.gz

Build instructions

Requirements:

For a uniprocessor (does not require MPICH) proceed as follows:

shell$ gunzip < r142lb-0.4.22.tar.gz | tar xvf -
shell$ cd r142lb-0.4.22
shell$ ./configure
shell$ make
You may want to pass some options to the configure script; try configure --help for a complete list of options.

To run a simulation on a distributed-memory parallel computer, you must have MPICH installed. Also, the HDF5 library must be compiled with the MPI support (--enable-parallel option to the HDF5 configure script). Further, proceed as follows:

shell$ gunzip < r142lb-0.4.22.tar.gz | tar xvf -
shell$ cd r142lb-0.4.22
shell$ CC=mpicc ./configure --enable-mpi
shell$ make