Top of this page
Skip navigation, go straight to the content


We are pleased to announce the public release of our lattice-Boltzmann code LB3D v7.0 under LGPL version 3. The source code is available for download here:

lb3d-2014-05-19.tgz (9.2M)

lb3d-manual.pdf (1.6M)

The manual is also part of the distribution.

LB3D is also available from the website of the Centre for Computational Science at the University College London, CCS and the source code repository of the Collaborative Computational Projects of the UK, CCP.

LB3D provides functionality to simulate three-dimensional simple, binary oil/water and ternary oil/water/amphiphile fluids using the Shan-Chen model for binary fluid interactions.

The boundary conditions available include periodic boundaries, body forcing, and bounce-back boundaries as Lees-Edwards shearing for simple and binary fluid mixtures. The software is written in Fortran 90 and parallelized using MPI. It supports XDR and HDF5 format for I/O and provides checkpoint and restart for long-running simulations.

The code has been developed at University College London, University of Stuttgart and Eindhoven University of Technology. It has been ported to many supercomputers worldwide, where it has shown excellent scalability. Most recently it has been shown to scale linearly on up to 294,000 cores on the European Blue Gene/P system Jugene [1].

LB3D has been used to study self-assembly of cubic phases [2,3], micro-mixing [4], flow through porous media [5], fluid surface interactions [6-8] and other problems in complex fluidics. The current release is part of a recent refactoring of the code and focuses mainly on multi-component fluid simulation functionality.

If you have comments, questions or suggestions, email us at



[1] D. Groen, O. Henrich, F. Janoschek, P. V. Coveney and J. Harting, Lattice-Boltzmann methods in fluid dynamics: Turbulence and complex colloidal fluids, Juelich Blue Gene/P Extreme Scaling Workshop 2011. Juelich Supercomputing Centre (2011).
[2] G. Giupponi, J. Harting, and P. V. Coveney, Emergence of rheological properties in lattice Boltzmann simulations of gyroid mesophases, Europhys. Lett. 73, 533-539 (2006).
[3] R. S. Saksena and P. V. Coveney, Self-assembly of ternary cubic, hexagonal and lamellar mesophases using the lattice-Boltzmann kinetic method, J. Phys. Chem. B 112(10), 2950-2957 (2008).
[4] A. Sarkar, A. Narvaez Salazar, and J. Harting, Quantification of the performance of chaotic micromixers on the basis of finite time Lyapunov exponents, Microfluidics and Nanofluidics in press(2012).
[5] A. Narvaez, T. Zauner, F. Raischel, R. Hilfer, and J. Harting, Quantitative analysis of numerical estimates for the permeability of porous media from lattice-Boltzmann simulations, J. Stat. Mech: Theor. Exp. 11, 211026 (2010).
[6] J. Harting, C. Kunert, and H.J. Herrmann, Lattice Boltzmann simulations of apparent slip in hydrophobic microchannels, Europhys. Lett. 75, 328-334 (2006).
[7] C. Kunert and J. Harting, Roughness induced apparent boundary slip in microchannel flows, Phys. Rev. Lett. 99, 176001 (2007).
[8] S. Schmieschek, A. V. Belyaev, J. Harting, and O. I. Vinogradova, Tensorial slip of super-hydrophobic channels, Phys. Rev. E 85, 016324 (2012).