[Paper Review] Efficient LBM on GPUs for dense moving objects using immersed boundary condition
This paper presents a GPU-accelerated Lattice Boltzmann Method (LBM) implementation using immersed boundary conditions (IBM) for simulating dense, moving rigid objects such as multiple rotating propellers. By decoupling fluid and surface computations into separate CUDA kernels and optimizing memory access patterns, the method achieves up to 19.7× speedup over CPU execution—even with 70,740 Lagrangian points, demonstrating robust performance in highly packed, complex fluid-object interactions.
There exists an increasing interest for using immersed boundary methods (IBMs) (Peskin 2000) to model moving objects in computational fluid dynamics. Indeed, this approach is particularly efficient, because the fluid mesh does not require to be body-fitted or to adjust dynamically to the motion of the body. Frequently, IBMs are implemented in combination with the lattice Boltzmann methods (LBM) (Kr\\"uger 2016). They fit elegantly into the framework of this method, and yield impressive parallel performances. It has also become quite common to accelerate LBM simulations with the use of Graphics Processing Units (GPUs) (T\\"olke 2010), as the underlying algorithm adjusts naturally to the architecture of such platforms. It is not uncommon that speedups of an order of magnitude, or more, at equal financial cost or energy consumption are observed, as compared to classical CPUs. IBM algorithms are however more difficult to adapt to GPUs, because their complex memory access pattern conflicts with a GPU's strategy of broadcasting data to a large number of GPU cores in single memory accesses. In the existing literature, GPU implementations of LBM-IBM codes are therefore restricted to situations in which the immersed surfaces are very small compared to the total number of fluid cells (Valero-Lara 2014), as is often the case in exterior flow simulations around an obstacle. This assumption is however not valid in many other cases of interest. We propose a new method for the implementation of a LBM-IBM on GPUs in the CUDA language, which allows to handle a substantially larger immersed surfaces with acceptable performance than previous implementations.
Motivation & Objective
- To address the challenge of efficiently simulating dense, moving rigid bodies in fluid flow using GPU acceleration.
- To overcome the performance bottleneck of traditional IBM implementations on GPUs due to irregular memory access and non-local operations.
- To maintain high GPU performance even when immersed surfaces occupy a large fraction of the fluid domain, as in blood cell simulations or multi-propeller systems.
- To develop a CUDA-based LBM-IBM framework that scales well with increasing numbers of Lagrangian points while preserving numerical accuracy.
- To demonstrate that GPU acceleration remains highly effective even in scenarios where CPU-based methods might be expected to outperform due to memory access irregularities.
Proposed method
- The method uses the D3Q19 lattice Boltzmann model with BGK collision for fluid dynamics on a static Eulerian grid.
- Immersed rigid bodies are represented by Lagrangian points with direct-forcing IBM, where forces are applied via a kernel-based interpolation between fluid and solid points.
- The algorithm is split into two CUDA kernels: one for fluid-to-surface data transfer (velocity interpolation), and another for surface-to-fluid force application, enabling better memory coalescing.
- The implementation uses a kernel-based force spreading and interpolation, with optimized memory traversal to reduce uncoalesced accesses.
- Two strategies—kernel and box—were evaluated for force spreading, with the kernel method showing superior performance for sparse to moderate object density.
- Performance is measured in million lattice-cell updates per second (Mlups), with comparisons to a CPU-parallelized Palabos implementation using MPI.
Experimental results
Research questions
- RQ1Can a GPU-accelerated LBM-IBM implementation maintain high performance when immersed objects occupy a large fraction of the fluid domain?
- RQ2How does the performance of kernel-based versus box-based force spreading strategies scale with increasing numbers of Lagrangian points?
- RQ3To what extent does the irregular memory access pattern of IBM limit GPU acceleration in dense moving object simulations?
- RQ4What is the achievable speedup of a GPU implementation over a CPU implementation in complex, densely packed fluid-structure interaction problems?
- RQ5Can the proposed CUDA-based LBM-IBM framework handle realistic, high-density configurations such as multiple rotating propellers or red blood cells?
Key findings
- The GPU implementation achieved a peak performance of 893 Mlups for a single rotating propeller, compared to 45.3 Mlups on the CPU, resulting in a 19.7× speedup.
- For six propellers, the GPU achieved 650 Mlups, while the CPU reached only 21.7 Mlups, yielding a 15.8× speedup in the dense case.
- With 18 propellers (70,740 Lagrangian points), the GPU maintained a 15.8× speedup over the CPU, demonstrating sustained performance despite high object density.
- The kernel-based force spreading strategy outperformed the box strategy in all cases with 1–6 propellers, with the performance gap increasing as object count grew.
- Performance decreased with increasing Lagrangian point count due to limited memory bandwidth and uncoalesced accesses, but the GPU still delivered an order-of-magnitude speedup over CPU.
- The implementation remains viable for complex, dense simulations—such as those involving red blood cells—where traditional GPU-IBM methods fail due to memory access bottlenecks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.