Skip to content

A Interactive C++ Pixel Game Engine Visualization of the Lattice Boltzmann Method for Fluid Flow Past a Cylinder

Notifications You must be signed in to change notification settings

armbrusl/Lattice-Boltzmann-Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatticeBoltzmanMethod

In order for this code to work add the header file (olcPixelGameEngine.h) found at https://github.com/OneLoneCoder/olcPixelGameEngine.

Three Initial configurations can be chosen:

initializeLDC = Lid Driven Cavity
initializeTunnel = Tunnel
initializeVKS = Vortex Karman Street

Commands one can use so far:

  • Left Click (Hold) → Set a 5 x 5 blocks X and Y velocity to 0.

  • Right Click (Hold) → Include an Obstalce (F=1) at the cursor position.

  • S Button (Pressed)→ Safe all the Data to a file (matrix U, V, F, R and fx, fy, U0, steps).

  • U Button (Hold) + UP Button (Pressed) / DOWN Button (Pressed)→ Increasing / Decreasing the "pressure" velocity fx.

  • R Button (Pressed)→ Reset the entire system.

About

A Interactive C++ Pixel Game Engine Visualization of the Lattice Boltzmann Method for Fluid Flow Past a Cylinder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages