lbm


lbm, a MATLAB code which demonstrates the Lattice Boltzmann Method, which uses a statistical particle model to simulate fluid flow. The resulting png images are animated using ImageMagick convert(). The original code is by Ferran Alia.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

lbm is available in a C++ version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

lbm_test

imagemagick, examples which use imagemagick(), which creates, edits, composes or converts graphical information as stored in many different file formats. imagemagick() can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

Reference:

Source Code:


Last revised on 10 August 2026.