The CloudLB framework is a high-performance open source platform for solving the lattice Boltzmann equation, which is commonly adopted to fluid dynamics.
- Compiler with C++17 support
- cmake >= v3.16
- BLAS
- LAPACK
- OpenMP
- git
Note that an active internet connection is required for the first build in order to download the suitable versions of the required submodules! For the first build only, download all submodules:
git submodule update --init --recursive
The executable file can be build with cmake workflow:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -j N
Execute the compiled binary by handing over a valid config file, e.g.:
./cloud ../input/config.ini
The code can be formatted with the clang-format tool:
clang-format -style=file -i src/xxx.cpp