CooLBM: A GPU-accelerated collaborative open-source reactive multi-phase/component simulation code via lattice Boltzmann method

The current work presents a novel COllaborative Open-source Lattice Boltzmann Method framework, so-called CooLBM . The computational framework is developed for the simulation of single and multi-component multi-phase problems, along with a reactive interface and conjugate fluid-solid heat transfer problems. CooLBM utilizes a multi-CPU/GPU architecture to achieve high-performance computing (HPC), enabling efficient and parallelized simulations for large scale problems. The code is implemented in C++ and makes extensive use of the Standard Template Library (STL) to improve code modularity, flexibility, and re-usability. The developed framework incorporates advanced numerical methods and algorithms to accurately capture complex fluid dynamics and phase interactions. It offers a wide range of capabilities, including phase separation, interfacial tension, and mass transfer phenomena. The reactive interface simulation module enables the study of chemical reactions occurring at the fluid-fluid interface, expanding its applicability to reactive multi-phase systems. The performance and accuracy of CooLBM are demonstrated through various benchmark simulations, showcasing its ability to capture intricate fluid behaviors and interface dynamics. The modular structure of the code allows for easy customization and extension, facilitating the implementation of additional models and boundary conditions. Finally, CooLBM provides visualization tools for the analysis and interpretation of simulation results. Overall, CooLBM offers an efficient computational framework for studying complex multi-phase systems and reactive interfaces, making it a valuable tool for researchers and engineers in several fields including, but not limited to chemical engineering, materials science, and environmental engineering. CooLBM is available under open source initiatives for scientific communities in the gitlab repository: https://gitlab.coria-cfd.fr/lbm/coolbm . Program Title: CooLBM: A GPU-Accelerated Collaborative Open-Source Reactive Multi-Phase/Component Simulation Code via Lattice Boltzmann Method CPC Library link to program files: https://doi.org/10.17632/79p5z26scz.1 Developer's repository link: https://gitlab.coria-cfd.fr/lbm/coolbm Licensing provisions: GNU GPLv3 Programming language: C++ Nature of problem: Multi-phase and multi-component reactive flows are fundamental to numerous industrial and engineering applications, including combustion systems, energy storage, and environmental processes. These flows often exhibit complex interactions across multiple spatial and temporal scales, requiring numerical modeling to accurately capture the underlying physics. Despite significant advancements, existing numerical methods often encounter limitations due to the high computational cost associated with resolving these intricate flow dynamics. Many state-of-the-art numerical solving tools require expensive commercial licenses, restricting their accessibility for researchers and engineers. While open-source alternatives exist, they require an in-depth understanding of the code structure, posing a substantial barrier to extending the framework or incorporating additional physical models. This lack of flexibility hinders in developing customized solutions for specific applications. Solution method: The Lattice Boltzmann Method (LBM) has emerged as a powerful approach for simulating fluid dynamics at the pore-scale due to its simplicity, inherent parallelizability, and ability to handle complex geometries. In this study, we employ the Shan-Chen multiphase LBM framework to model multi-phase and multi-component flow dynamics. Additionally, we incorporate conjugate heat transfer modeling to capture reactive flow behavior and particle deposition in porous medium. A key advantage of our computational framework is its inherent parallelization, which eliminates the need for users to possess specialized parallel programming expertise. The codebase is structured in modular components, each consisting of a few thousand lines of C++ code, leveraging the C++ Standard Template Library (STL) to enhance flexibility and maintainability. This design enables users to seamlessly integrate new physics models and modify existing implementations according to their specific research needs. Furthermore, the efficiency of our code is demonstrated through simulations of both two-dimensional and three-dimensional problems on CPU and GPU architectures. Performance benchmarks are conducted across different CPU and GPU configurations, providing valuable insights for users in selecting the most suitable computational setup for complex flow simulations. Additional comments including restrictions and unusual features: The instructions for compiling programs and executing the executable file are given in https://gitlab.coria-cfd.fr/lbm/coolbm . • CooLBM: Efficient lattice Boltzmann framework for multi-phase and reactive interface simulations. • Validation: Rigorously tested and validated against analytical solutions and numerical models. • Versatility: Handles complex fluid dynamics, phase separation, and mass transfer phenomena. • Parallelization: Utilizes multi-CPU/GPU architecture for high-performance computing. • NVIDIA V100 GPU: Outperforms other processors, offering impressive MLUPS performance.

Authors

Institutions

Publication Details

Journal
Computer Physics Communications
Published
2025-06-06
DOI
https://doi.org/10.1016/j.cpc.2025.109711
Citations
1
Primary Topic
Lattice Boltzmann Simulation Studies
Type
article
Field-Weighted Citation Impact
1.33
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CooLBM: A GPU-accelerated collaborative open-source reactive multi-phase/component simulation code via lattice Boltzmann method

Mostafa Safdari Shadloo, A. K. Nayak, Rezvan Alamian
1 citations
Computer Physics Communications
Lattice Boltzmann Simulation Studies
1.33
article

CooLBM: A GPU-accelerated collaborative open-source reactive multi-phase/component simulation code via lattice Boltzmann method

Mostafa Safdari Shadloo, A. K. Nayak, Rezvan Alamian
article en
1 citations

Abstract

The current work presents a novel COllaborative Open-source Lattice Boltzmann Method framework, so-called CooLBM . The computational framework is developed for the simulation of single and multi-component multi-phase problems, along with a reactive interface and conjugate fluid-solid heat transfer problems. CooLBM utilizes a multi-CPU/GPU architecture to achieve high-performance computing (HPC), enabling efficient and parallelized simulations for large scale problems. The code is implemented in C++ and makes extensive use of the Standard Template Library (STL) to improve code modularity, flexibility, and re-usability. The developed framework incorporates advanced numerical methods and algorithms to accurately capture complex fluid dynamics and phase interactions. It offers a wide range of capabilities, including phase separation, interfacial tension, and mass transfer phenomena. The reactive interface simulation module enables the study of chemical reactions occurring at the fluid-fluid interface, expanding its applicability to reactive multi-phase systems. The performance and accuracy of CooLBM are demonstrated through various benchmark simulations, showcasing its ability to capture intricate fluid behaviors and interface dynamics. The modular structure of the code allows for easy customization and extension, facilitating the implementation of additional models and boundary conditions. Finally, CooLBM provides visualization tools for the analysis and interpretation of simulation results. Overall, CooLBM offers an efficient computational framework for studying complex multi-phase systems and reactive interfaces, making it a valuable tool for researchers and engineers in several fields including, but not limited to chemical engineering, materials science, and environmental engineering. CooLBM is available under open source initiatives for scientific communities in the gitlab repository: https://gitlab.coria-cfd.fr/lbm/coolbm . Program Title: CooLBM: A GPU-Accelerated Collaborative Open-Source Reactive Multi-Phase/Component Simulation Code via Lattice Boltzmann Method CPC Library link to program files: https://doi.org/10.17632/79p5z26scz.1 Developer's repository link: https://gitlab.coria-cfd.fr/lbm/coolbm Licensing provisions: GNU GPLv3 Programming language: C++ Nature of problem: Multi-phase and multi-component reactive flows are fundamental to numerous industrial and engineering applications, including combustion systems, energy storage, and environmental processes. These flows often exhibit complex interactions across multiple spatial and temporal scales, requiring numerical modeling to accurately capture the underlying physics. Despite significant advancements, existing numerical methods often encounter limitations due to the high computational cost associated with resolving these intricate flow dynamics. Many state-of-the-art numerical solving tools require expensive commercial licenses, restricting their accessibility for researchers and engineers. While open-source alternatives exist, they require an in-depth understanding of the code structure, posing a substantial barrier to extending the framework or incorporating additional physical models. This lack of flexibility hinders in developing customized solutions for specific applications. Solution method: The Lattice Boltzmann Method (LBM) has emerged as a powerful approach for simulating fluid dynamics at the pore-scale due to its simplicity, inherent parallelizability, and ability to handle complex geometries. In this study, we employ the Shan-Chen multiphase LBM framework to model multi-phase and multi-component flow dynamics. Additionally, we incorporate conjugate heat transfer modeling to capture reactive flow behavior and particle deposition in porous medium. A key advantage of our computational framework is its inherent parallelization, which eliminates the need for users to possess specialized parallel programming expertise. The codebase is structured in modular components, each consisting of a few thousand lines of C++ code, leveraging the C++ Standard Template Library (STL) to enhance flexibility and maintainability. This design enables users to seamlessly integrate new physics models and modify existing implementations according to their specific research needs. Furthermore, the efficiency of our code is demonstrated through simulations of both two-dimensional and three-dimensional problems on CPU and GPU architectures. Performance benchmarks are conducted across different CPU and GPU configurations, providing valuable insights for users in selecting the most suitable computational setup for complex flow simulations. Additional comments including restrictions and unusual features: The instructions for compiling programs and executing the executable file are given in https://gitlab.coria-cfd.fr/lbm/coolbm . • CooLBM: Efficient lattice Boltzmann framework for multi-phase and reactive interface simulations. • Validation: Rigorously tested and validated against analytical solutions and numerical models. • Versatility: Handles complex fluid dynamics, phase separation, and mass transfer phenomena. • Parallelization: Utilizes multi-CPU/GPU architecture for high-performance computing. • NVIDIA V100 GPU: Outperforms other processors, offering impressive MLUPS performance.

Computer Physics CommunicationsVol. 315
Centre National de la Recherche Scientifique (FR), Institut Universitaire de France (FR), Complexe de Recherche Interprofessionnel en Aérothermochimie (FR), Normandie Université (FR), Université de Rouen Normandie (FR), Institut National des Sciences Appliquées Rouen Normandie (FR)
Affordable and clean energy
Openalex Percentile: Top 23%
Lattice Boltzmann Simulation Studies
1.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.