Posted by on 11/16/2011 in Other Codes | 11 comments


DescriptionMP-LABS is a suite of numerical simulation tools for multiphase flows based on the free energy Lattice BoltzmannMethod (LBM). The code allows for the simulation of quasi-incompressible two-phase flows, and uses multiphase models that allow for large density ratios. MP-LABS provides implementations that use periodic boundary conditions, but it is written in a way that allows for easy inclusion of different boundary conditions. The output from MP-LABS is in plain ASCII and VTK format, and can be analyzed using other Open Source tools such as Gnuplot and Paraview.
The objective of the MP-LABS project is to provide a core set of routines that are well documented, highly portable, and have proven to perform well in a variety of systems. The source code is written in Fortran 90 and MPI and uses separate subroutines for most tasks in order to make modifications easier.


2 Palabos/OpenLB

... a library for lattice Boltzmann simulations
* The code is in C++ and can be used to simulate physical phenomena, with emphasis on fluids.
* The kernel is based on a variety of lattice Boltzmann models.
* The source code is modular and can easily be extended by application programmers.

... a framework for high performance computing
* The library is optimized for single processor performance.
* Efficient parallelization is achieved through the MPI extension. Good scalability on thousands of cores, and code efficiency up to several billion site updates per second in 3D applications have been measured.
* Memory optimizations are accessible in case of irregular domain boundaries.

... a community code
* The source code is free and can be used under the terms of a Gnu General Public License V.2 (GPL2).
* Developers from different countries are currently participating, and new contributions are welcome.

... and more
* Full serial and parallel checkpointing is supported for interrupted program executions.
* Output of the data in VTK format allows visualization and data analysis with external tools like Paraview.
* As the library is based on simple concepts, it is appropriate as a teaching support for courses on CFD and lattice Boltzmann.


3 LuaLB
LuaLB is an open-source parallelizable lattice Boltzmann simulation for computational fluid dynamics with Lua scripting


4 El'Beem
El'Beem is a free surface fluid simulation library based on the Lattice Boltzmann Method target at physically based animation for computer graphics.


5 SunlightLB
SunlightLB is an open-source 3d lattice Boltzmann code which can be used to solve a variety of hydrodynamics problems, including passive scalar transport problems.


6 MetaCFD
is a lattice Boltzmannbased CFD package for the simulation of single phase flows. It includes models for large eddy simulation (LES) of turbulent flows, heat transport and magnetohydrodynamics.


7 Babin and Holyst's Lattice Boltzmann Simulations and Code



8 Basic Lattice-Boltzmann (LB) MATLAB Code


9 Example codes for lattice Boltzmann


10 Free lattice Boltzmann code 'anb'


11 J-Lattice-Boltzmann V0.92


12 《格子Boltzmann方法的理论及应用》所附程序


13 PDKS——屈崑博士的代码



  1. This is cool!

    • If you have any other open code, you are welcome to share here 🙂

  2. Hello everyone! Does anyone know where I can get more information on this topic?

    • You can get the code at the addresses I posted. Someone may be changed. Just search with Google if the address can't work. Moreover, you can also touch with us at

      Hope it's helpful.


  3. I really respect what you’re writing here. Keep going that way. Take care!

  4. Hello,Is there someone else using the "MP-LABS"? When I analysis its code, I find it does not consider the buoyancy of the bubble. So I tried to add the buoyancy term in it, but I failed. Could someone give me some help? Thanks a lot!

  5. 老师您好,不知您是否调通过屈崑博士的代码,试了好久都没有成功。很是纠结!谢谢指导。

    • 不好意思,没有编译过。看你信箱,是西工大的,何不直接去找屈老师问?

      • 嗯,我想着如果有编译通过的话就不用麻烦屈老师了,他貌似也好长时间没搞这个了。

        • 你好,我下载了屈老师的文件可是打不开 是否方便发我一份呢 先谢谢

Submit a Comment