Skip to content

AleksZhelo/LBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Lattice Boltzmann Method (fluid dynamics simulation) implementation.

Implements a single-phase 2D fluid simulation on a cell lattice using the single relaxation time BGK model (lbmlib submodule) and several simulation visualization applications:

  • A console application updating the lattice state (cell density/velocity magnitude) for each timestep in the terminal window.
  • A simple GUI application drawing the lattice state to the screen.
  • An OpenGL application with much faster rendering and customizable colormaps.

vector field

Example: vector field inside a 256x256 box with top and bottom sliding in different directions after ~30000 simulation steps. Plotted with Matplotlib.

About

A simple Lattice Boltzmann Method implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published