Skip to content

4 study cases to investigate coding in LBM and limitations within MF210 at ENSTA Paris in MSc Mechanical Engineering

Notifications You must be signed in to change notification settings

GauthierJARY/Lattice-Boltzman-CFD

Repository files navigation

Lattice Boltzmann Method (LBM) Code in Python

Introduction

This Python code implements the Lattice Boltzmann Method (LBM) for simulating fluid flow. The LBM is a powerful computational fluid dynamics (CFD) technique based on statistical mechanics principles. In this implementation, we derive the LBM equations from statistical equations, utilizing mathematical functions of Hermit polynomials. image

Usage

Open Jupyter Notebook or any compatible environment and navigate to the directory where the code is located. Open and run the Jupyter notebook corresponding to the desired study case.

Description

Study Cases - The code includes implementations for four study cases, classified into Practical Work (TP) from 0 to 4:

  • Basic Flow Simulation Simulates flow around a stationary cylinder to demonstrate the fundamental principles of the LBM.

  • Advanced Collisions Explores advanced collision models to improve the accuracy and efficiency of the LBM solver.

  • Moving Cavity with Shear Flow Investigates flow within a moving cavity under the influence of shear flow, showcasing the versatility of the LBM for complex fluid dynamics scenarios.

Accompanying Jupyter notebooks (*.ipynb) are provided for each study case. These notebooks serve as self-explanatory guides, detailing the implementation, execution, and analysis of each case.

Acknowledgments

Simon Marie and Henri Guisnet

For any questions or issues, feel free to contact me. Happy simulating!

About

4 study cases to investigate coding in LBM and limitations within MF210 at ENSTA Paris in MSc Mechanical Engineering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published