Skip to content
fabioskomori edited this page Oct 8, 2013 · 11 revisions

The LBSim is an open source project for the simulation of fluid dynamics problems using the lattice Boltzmann method (LBM). It has many applications, including multiphase flows, thermal coupling, microfluidics, among others. This software has been developed by Fabio Sussumu Komori, from the Software Development Center - University of Sao Paulo, under the supervision of Prof. Marcelo N. P. Carreno.

The source code is now open (October 2013) and we hope the contribution of the community in order to improve the program. The developed software has already a series of interesting applications and features, which can be used by many researchers around the world.

The project is built using the Qt framework, supporting versions 4 and 5. The source code is organized according to the following instructions:

  • model: classes for the simulation using LBM
    • inputoutput: deals with the process of load and save simulation data
    • latticeboltzmann: core of the project. LBGrid: class that models a grid of cells. BaseCell: base class of all cells
      • latticeboltzmann/boundary: classes for the boundary conditions
      • latticeboltzmann/deposition: test for simulation of deposition
      • latticeboltzmann/extra: implementation of tracer particles
      • latticeboltzmann/force: treatment of additional forces
      • latticeboltzmann/interpolation: test for resolving interpolation problems
      • latticeboltzmann/moving: implementation of moving walls (not fully tested)
      • latticeboltzmann/multi: package for multicomponent simulations
      • latticeboltzmann/passivescalar: implementation of the passive scalar approach
      • latticeboltzmann/physical: classes for dealing with physical values
      • latticeboltzmann/shallow: shallow water model
      • latticeboltzmann/streamline: implementation for the generation of streamlines
      • latticeboltzmann/thermal: thermal coupling
    • math: a few classes for math manipulation
    • util: utility classes
  • qwt: source code of the Qwt project, used for creating charts
  • view: classes related to the user interface (main window and dialog boxes)
    • painter: renders the results of the simulation, using OpenGL
    • util: utility classes
Clone this wiki locally