Research Article

Performance Optimization of 3D Lattice Boltzmann Flow Solver on a GPU

Algorithm 1

Algorithm of LBM.
()Step: Initialize macroscopic quantities, density , velocity ,
the distribution function , and the equilibrium function
()Step: Streaming phase: move in the direction of
()Step: Calculate density and velocity from using Equations  (3) and (4)
()Step: Calculate the equilibrium function using Equation (5)
()Step: Collision phase: calculate the updated distribution function
  using Equation (2)
()Repeat Steps to   -times