ekarademir / prototype-lattice-boltzmann-method

A quick and dirty implementation of Lattice Boltzmann Method (LBM) for fluid flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lattice Bolzmann Method for fluid flow

A quick and dirty prototype to see how easy would it be to implement this method of fluid flow simulation.

This method is aimed at serious simulations, so for small in-game simulations it is an overkill, and also quite inaccurate. Naive implementation as it is done here becomes numerically unstable over few time steps. I also didn't want to go into several layers of discrete integrations to implement a simple fluid source.

About

A quick and dirty implementation of Lattice Boltzmann Method (LBM) for fluid flow


Languages

Language:Python 100.0%