blob: 5ab879a6796958f0e0eba90e0344f935fd0a8f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# boltzbub
…simple Lattice Boltzmann code experiments written in C++.
![channel flow visualized using ParaView](screenshot/channel_flow.png)
## Experiments
| Code | Description |
| - | - |
| `lid_driven_cavity.cc` | Lid driven cavity using Zou/He boundary conditions for the top wall and simple bounce back for all other walls |
| `lid_driven_cavity_with_obstacles.cc` | Same as `lid_driven_cavity.cc` but includes a grid of boxes to make things more interesting |
| `channel.cc` | Channel flow with some obstacles and Dirichlet inflow condition |
## Build
git clone https://github.com/KnairdA/boltzbub.git
cd boltzbub
nix-shell
mkdir build
cd build
cmake ..
make
|