[Paper Review] cuIBM -- A GPU-accelerated Immersed Boundary Method
This paper presents cuIBM, a GPU-accelerated implementation of the projection-based immersed boundary method using the Cusp and Thrust libraries for sparse linear algebra. It achieves significant speedups on commodity GPUs by optimizing memory access and using a Conjugate Gradient solver with smoothed aggregation AMG preconditioning, demonstrating convergence and validation on complex moving boundary flows including flapping airfoils at Re=75.
A projection-based immersed boundary method is dominated by sparse linear algebra routines. Using the open-source Cusp library, we observe a speedup (with respect to a single CPU core) which reflects the constraints of a bandwidth-dominated problem on the GPU. Nevertheless, GPUs offer the capacity to solve large problems on commodity hardware. This work includes validation and a convergence study of the GPU-accelerated IBM, and various optimizations.
Motivation & Objective
- To accelerate the solution of incompressible Navier-Stokes equations with immersed boundaries using GPU computing.
- To address the performance bottleneck of sparse linear algebra operations in projection-based immersed boundary methods.
- To develop an efficient, open-source GPU implementation that maintains accuracy and scalability for complex fluid-structure interaction problems.
- To validate the GPU-accelerated code against known benchmarks and ensure convergence at expected rates.
- To explore optimization strategies for memory usage and solver efficiency on GPU architectures.
Proposed method
- Adopts a projection-based immersed boundary method to enforce incompressibility and no-slip boundary conditions via a forcing term.
- Uses the Cusp library for GPU-accelerated sparse linear algebra operations, particularly for solving the pressure Poisson equation.
- Employs a Conjugate Gradient solver with smoothed aggregation algebraic multigrid (AMG) preconditioning, updated every 2–3 time steps.
- Reduces GPU memory usage by computing a triple matrix product without storing intermediate matrices.
- Utilizes the Thrust library for memory management and kernel launches to streamline data transfers between host and device.
- Implements a feedback-loop forcing scheme that transfers forces from Lagrangian boundary points to the Eulerian grid using a discrete delta function.
Experimental results
Research questions
- RQ1Can GPU acceleration significantly reduce runtime for immersed boundary method simulations without sacrificing accuracy?
- RQ2How effective is the use of Cusp and Thrust libraries in accelerating sparse linear solvers within the immersed boundary framework?
- RQ3What is the optimal preconditioner and update frequency for the CG solver in the context of time-dependent, moving-boundary flows?
- RQ4To what extent does the GPU implementation maintain convergence rates and numerical stability compared to CPU-based counterparts?
- RQ5How does the code perform on complex, moving geometries such as flapping airfoils at moderate Reynolds numbers?
Key findings
- The GPU-accelerated cuIBM implementation achieves a speedup over a single CPU core that reflects the bandwidth-limited nature of the problem, with measurable performance gains on commodity GPUs.
- The use of a Conjugate Gradient solver with AMG preconditioning updated every 2–3 time steps yields the best runtime performance for the tested problems.
- The code demonstrates second-order convergence in space and time, validating its accuracy for both steady and unsteady flows.
- The vorticity fields and unsteady lift coefficient for a flapping airfoil at Re=75 show reasonable agreement with experimental data, confirming physical fidelity.
- Memory optimization techniques, including avoiding intermediate matrices in triple product computations, significantly reduce GPU memory usage.
- The implementation successfully simulates complex flows with moving boundaries, including oscillating airfoils, within a 164-second runtime for 4000 time steps on a 930×654 grid.
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.