Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D2Q9 LBM code to solve lid driven cavity problem. This code has zero for loops

To run the code

python3.8 lid_driven_cavity.py

Sample results

Simulation parameters

  • Reynolds number: 100
  • Mach number: 0.1
  • Number of grid points: 64 x 64

Velocity contour plot obtained from the solver.

Solution has converged to 1e-10

velocity_cont1

About

A Lattice-Boltzmann Method (LBM) based Python code for solving 2D lid driven cavity flow

Topics

Resources

Stars

17 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages