Abstract

Lattice Boltzmann method (LBM) has become a powerful tool in modeling and simulating fluid flows for its fully parallelism, easy implementation, and simple code, and thus, LBM is quite suitable for large-scale computation of fluid flows on graphic processing unit (GPU) due to these advantages. In this paper, we implement the LBM algorithm on GPU using CUDA, and simulate 2D cavity flow, 2D flow around a cylinder and 3D cavity flow. The role of memory access optimization and other optimization technologies in programming and the performance of programs are analyzed in detail. The results show that our algorithm gives satisfactory acceleration, and confirm that LBM is very compatible with GPU for large-scale parallel computation.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.