Regularized lattice Boltzmann method parallel model on heterogeneous platforms
- 5 February 2022
- journal article
- research article
- Published by Wiley in Concurrency and Computation: Practice and Experience
- Vol. 34 (22) , e6875
Abstract
As an improved method of lattice Boltzmann method (LBM), regularized lattice Boltzmann method (RLBM) has been applied to simulate fluid flow. Nevertheless, the performance of RLBM needs to be considered when simulating actual problems. The rise of multicore platforms, especially the popularity of graphics processor units (GPUs), has provided possible implementation solutions for parallel computing. In this article, an RLBM parallel model on the CPU/GPU heterogeneous platforms is proposed. To solve the problem of possible GPU memory shortage, the CPU controls the startup of the kernel function in the RLBM algorithm and participates in the calculation. Due to the characteristics of the algorithm, the entire flow field is divided into CPU computing areas and GPU computing areas according to the given flow field division rules. OpenMP and CUDA are, respectively, applied to CPU and GPU for parallel computing. The startup of the kernel function takes a short time, and the CPU and GPU can be approximately regarded as performing calculations simultaneously. Since the data exchange between the CPU and GPU has a significant impact on performance, a buffer is set at the boundary of the CPU and GPU to reduce the frequency of data exchange. The buffer size determines the number of program iterations before exchanging data. The performance of the algorithm is measured by MFLUPS, and the algorithm is applied to the 3D lid‐driven cavity flow. The obtained results show that the MFLUPS of the algorithm is 25 times that of CPU MFLUPS, and it adds an increment equivalent to CPU MFLUPS compared with GPU MFLUPS. And the algorithm is extended to a multi‐GPU version, which is also applied to the 3D lid‐driven cavity flow. The results obtained show that the MFLUPS of the multi‐GPU version is 1.8 times that of the single GPU.Keywords
Funding Information
- National Natural Science Foundation of China (61972240)
This publication has 42 references indexed in Scilit:
- Regularized lattice BGK versus highly accurate spectral methods for cavity flow simulationsInternational Journal of Modern Physics C, 2014
- A novel heterogeneous algorithm to simulate multiphase flow in porous media on multicore CPU–GPU systemsComputer Physics Communications, 2014
- Regularized Lattice Boltzmann Simulation of Laminar Mixed Convection in the Entrance Region of 2-D ChannelsNumerical Heat Transfer, Part A: Applications, 2013
- LBM based flow simulation using GPU computing processorComputers & Mathematics with Applications, 2010
- Parallel Lattice Boltzmann Flow Simulation on Emerging Multi-core Platforms2008
- SIMULATING TIME HARMONIC FLOWS WITH THE REGULARIZED L-BGK METHODInternational Journal of Modern Physics C, 2007
- A fractional step lattice Boltzmann method for simulating high Reynolds number flowsMathematics and Computers in Simulation, 2006
- Lattice Boltzmann method with regularized pre-collision distribution functionsMathematics and Computers in Simulation, 2006
- Non-equilibrium extrapolation method for velocity and pressure boundary conditions in the lattice Boltzmann methodChinese Physics, 2002
- Implicit Weighted ENO Schemes for the Three-Dimensional Incompressible Navier–Stokes EquationsJournal of Computational Physics, 1998