Skip to content

CFDML/CloudLB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudLB: Portable Lattice Boltzmann Simulator

CI License: MIT

The CloudLB framework is a high-performance open source platform for solving the lattice Boltzmann equation, which is commonly adopted to fluid dynamics.

Build

Required dependencies

  • Compiler with C++17 support
  • cmake >= v3.16
  • BLAS
  • LAPACK
  • OpenMP
  • git

Obtain submodules

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

Compile the code

The executable file can be build with cmake workflow:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -j N

Run

Execute the compiled binary by handing over a valid config file, e.g.:

./cloud ../input/config.ini

Format the code

The code can be formatted with the clang-format tool:

clang-format -style=file -i src/xxx.cpp

About

Portable lattice Boltzmann simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published