Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


Current Version: 0.1

LBM-C is a lattice Boltzmann 2D and 3D fluid flow solver implemented using nVidia's CUDA platform. LBM-C is written in CUDA C and is licensed under GPL v2, you are invited to use, alter and improve upon LBM-C at your own discretion. The objectives of this open source code are:

  • To provide a straight-forward CUDA based implementation of the lattice Boltzmann method for modelling fluid flows
  • Encourage collaboration through the nature of open source code
  • Exercise the power of graphics hardware for the purposes of CFD (computational fluid dynamics)
  • If you wish to contribute to LBM-C a good place to start is the LBM-C google group.


  • Models may be configured through use of a simple matlab interface
  • Input constants are specified through ASCII input file
  • Input data in CGNS format (compatible with most post-processors, though input data format is not cgns compliant)
  • Output data in CGNS format (compatible with most post-processors)
  • Modelling Capabilities
  • Arbitrary geometries may be considered either by use of full-way bounceback or a simplified case of Nobel & Torczynski's immersed moving boundary method. The use of this boundary condition allows for simple coupling with the Discrete element method (not yet implemented), as was demonstrated by Feng et. al
  • Boundary pressures may be imposed upon edges using Zhou & He's pressure boundary condition
  • MRT or BGK collision dynamics
  • Smagorinsky turbulence (BGK only)
  • Body forces following Guo's work.
  • Operates on a D2Q9 or D3Q15 lattice

Further Work

  • Complete the implementation of Zhou & He's boundary condition to consider
    • Imposed pressure on convex corner nodes
    • Imposed velocity on edge's and corners
  • Multiphase coupling capability, where a suitable multiphase model would ideally include purely local computation
  • Discrete element method coupling for particle laden flow


Automatically exported from




No releases published
You can’t perform that action at this time.