Tutorial

get the notebook

Transport in 1D

In this tutorial, we will show how to implement from scratch a very basic lattice Boltzmann scheme: the \(D_1Q_2\) for the advection equation and for Burger’s equation.

get the notebook

The wave equation in 1D

In this tutorial, we will show how to implement from scratch a very basic lattice Boltzmann scheme: the \(D_1Q_3\) for the waves equation.

get the notebook

The heat equation in 1D

In this tutorial, we present the \(D_1Q_3\) to solve the heat equation in 1D by using pylbm.

get the notebook

The heat equation in 2D

In this tutorial, we present the \(D_2Q_5\) to solve the heat equation in 2D by using pylbm.

get the notebook

Poiseuille flow

In this tutorial, we present the \(D_2Q_9\) for Navier-Stokes equation to solve the Poiseuille flow in 2D by using pylbm.

get the notebook

Lid driven cavity

In this tutorial, we present the \(D_2Q_9\) for Navier-Stokes equation to solve the lid driven cavity in 2D and the \(D3Q15\) in 3D by using pylbm.

get the notebook

Von Karman vortex street

In this tutorial, we present the \(D_2Q_9\) for Navier-Stokes equation to solve the Von Karman vortex street in 2D by using pylbm.

get the notebook

Transport equation with source term

In this tutorial, we will show how to implement with pylbm the \(D_1Q_2\) for the advection equation with a source term.