blob: 385627b73b34478c0e21d66cdaa87795fba383ed (
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 some obstacles and Dirichlet inflow |
## Build
git clone https://github.com/KnairdA/boltzbub.git
cd boltzbub
nix-shell
mkdir build
cd build
cmake ..
make
|