Classical Lattice Boltzmann Method (LBM)
C implementation of the classical lattice Boltzmann method (LBM) using the D2Q9 and D3Q19 models, based on Nils Thuerey's PhD thesis (see Ref. 1).
Compiling and running the C code:
- Windows: Visual Studio project files are provided in the vcproj folder (standalone test and demonstration files) and the vcproj_mlink and vcproj_wstp folders (Mathematica MathLink/WSTP interface)
- Linux, MacOSX etc: see the makefiles in the bin folder (standalone test and demonstration files) and the mlink folder (Mathematica MathLink/WSTP interface)
Copyright (c) 2014, Christian B. Mendl
All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the Simplified BSD License http://www.opensource.org/licenses/bsd-license.php
- Nils Thuerey
Physically based animation of free surface flows with the lattice Boltzmann method
PhD thesis, University of Erlangen-Nuremberg (2007) [pdf]
- Sauro Succi
The lattice Boltzmann equation for fluid dynamics and beyond
Oxford University Press, ISBN 0198503989 (2001)