Data-Oriented Language Implementation of the Lattice-Boltzmann Method for Dense and Sparse Geometries

被引:0
|
作者
Tomczak, Tadeusz [1 ]
机构
[1] Wroclaw Univ Sci & Technol, Dept Comp Engn, PL-50370 Wroclaw, Poland
来源
APPLIED SCIENCES-BASEL | 2021年 / 11卷 / 20期
关键词
parallel programming; CUDA; GPU; LBM; GPU IMPLEMENTATION; SIMULATIONS; TRANSPORT; SOLVER; FLOW;
D O I
10.3390/app11209495
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The performance of lattice-Boltzmann solver implementations usually depends mainly on memory access patterns. Achieving high performance requires then complex code which handles careful data placement and ordering of memory transactions. In this work, we analyse the performance of an implementation based on a new approach called the data-oriented language, which allows the combination of complex memory access patterns with simple source code. As a use case, we present and provide the source code of a solver for D2Q9 lattice and show its performance on GTX Titan Xp GPU for dense and sparse geometries up to 40962 nodes. The obtained results are promising, around 1000 lines of code allowed us to achieve performance in the range of 0.6 to 0.7 of maximum theoretical memory bandwidth (over 2.5 and 5.0 GLUPS for double and single precision, respectively) for meshes of sizes above 10242 nodes, which is close to the current state-of-the-art. However, we also observed relatively high and sometimes difficult to predict overheads, especially for sparse data structures. The additional issue was also a rather long compilation, which extended the time of short simulations, and a lack of access to low-level optimisation mechanisms.</p>
引用
收藏
页数:19
相关论文
共 50 条
  • [21] A lattice-Boltzmann method with hierarchically refined meshes
    Eitel-Amor, G.
    Meinke, M.
    Schroeder, W.
    COMPUTERS & FLUIDS, 2013, 75 : 127 - 139
  • [22] Incorporating turbulence models into the lattice-Boltzmann method
    Teixeira, CM
    INTERNATIONAL JOURNAL OF MODERN PHYSICS C, 1998, 9 (08): : 1159 - 1175
  • [23] Simulation of Hydrodynamic Phenomena by the Lattice-Boltzmann Method
    Chen Juhua
    Xiong Shengwu
    Li Yuanxiang(State Key Laboratory of Software Engineering
    WuhanUniversityJournalofNaturalSciences, 1996, (Z1) : 696 - 700
  • [24] Preconditioned lattice-Boltzmann method for steady flows
    Guo, Zhaoli
    Zhao, T.S.
    Shi, Yong
    Physical Review E - Statistical, Nonlinear, and Soft Matter Physics, 2004, 70 (06): : 1 - 066706
  • [25] High-performance SIMD implementation of the lattice-Boltzmann method on the Xeon Phi processor
    Robertsen, Fredrik
    Mattila, Keijo
    Westerholm, Jan
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2019, 31 (13):
  • [26] Implementation of a Lattice-Boltzmann method for numerical fluid mechanics using the nVIDIA CUDA technology
    Riegel, E.
    Indinger, T.
    Adams, N. A.
    COMPUTER SCIENCE-RESEARCH AND DEVELOPMENT, 2009, 23 (3-4): : 241 - 247
  • [27] Lattice-Boltzmann studies of fluid flow in porous media with realistic rock geometries
    Boek, Edo S.
    Venturoli, Maddalena
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2010, 59 (07) : 2305 - 2314
  • [28] Design and Implementation of a Data-Oriented Nonlinear PIDController
    Wakitani, Shin
    Nawachi, Takuya
    Martins, Guilherme Rosado
    Yamamoto, Toru
    JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2013, 17 (05) : 690 - 698
  • [29] A Consistent Grid Coupling Method for Lattice-Boltzmann Schemes
    Martin Rheinländer
    Journal of Statistical Physics, 2005, 121 : 49 - 74
  • [30] A consistent grid coupling method for Lattice-Boltzmann schemes
    Rheinlander, M
    JOURNAL OF STATISTICAL PHYSICS, 2005, 121 (1-2) : 49 - 74