Skip to content
/ lbm-cpp Public

A flexible Lattice Boltzmann simulation in c++.

Notifications You must be signed in to change notification settings

bboys/lbm-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBM Simulation in C++

Goal

To write a flexible Lattice Boltzmann Method simulation that is parallelizable. This program is flexible in the sense that the streaming and collision methods are independent on the chosen velocity set and the chosen domain. The current implementation uses the MulticoreBSP-for-C package for parallelization.

Todo

  • Refactor folder structure and use cmake
  • Add tests
  • Refactor the usage of std::vector into templates of fixed size.
  • Refactor the DomainInitializer
  • Add functionality to create different domain distributions (vertical / horizontal split, rectangular, dimaond, mondriaan)
  • Make boundary conditions independent on the domain distribution
  • Fix Zou He boundary condition.
  • Add more boundary conditions
  • Add an MPI implementation
  • Make the usage of MPI and BSP interchangeable

This program was written as a final assignment for the Parallel Algorithms mastermath course.

About

A flexible Lattice Boltzmann simulation in c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published