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 条
  • [41] Study of semidilute fibre suspension rheology with lattice-Boltzmann method
    Salahuddin, Asif
    Wu, Jingshu
    Aidun, C. K.
    RHEOLOGICA ACTA, 2013, 52 (10-12) : 891 - 902
  • [42] The lattice-Boltzmann method for simulation of the thermoplastic holographic recording process
    T. B. Dávila
    Optics and Spectroscopy, 2007, 103 : 862 - 867
  • [43] Hybrid datasets: Incorporating experimental data into Lattice-Boltzmann simulations
    Morrison, Helen E.
    Lintermann, Andreas
    Grundmann, Sven
    ENGINEERING REPORTS, 2020, 2 (06)
  • [44] Evaluation of a lattice-Boltzmann method for mercury intrusion porosimetry simulations
    Hyväluoma, J
    Raiskinmäki, P
    Jäsberg, A
    Koponen, A
    Kataja, M
    Timonen, J
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2004, 20 (06): : 1003 - 1011
  • [45] A Data-Oriented Coordination Language for Distributed Transportation Applications
    Zargayouna, Mahdi
    Balbo, Flavien
    Scemama, Gerard
    AGENT AND MULTI-AGENT SYSTEMS: TECHNOLOGIES AND APPLICATIONS, PROCEEDINGS, 2009, 5559 : 283 - 292
  • [46] Microfiber Filter Performance Prediction Using a Lattice-Boltzmann Method
    Xavier Augusto, Liliana de Luca
    Ross-Jones, Jesse
    Lopes, Gabriela Cantarelli
    Tronville, Paolo
    Silveira Goncalves, Jose Antonio
    Raedle, Matthias
    Krause, Mathias J.
    COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2018, 23 (04) : 910 - 931
  • [47] Simulating solid colloidal particles using the lattice-Boltzmann method
    Heemels, MW
    Hagen, MHJ
    Lowe, CP
    JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 164 (01) : 48 - 61
  • [48] Study of semidilute fibre suspension rheology with lattice-Boltzmann method
    Asif Salahuddin
    Jingshu Wu
    C. K. Aidun
    Rheologica Acta, 2013, 52 : 891 - 902
  • [49] Flow and heat transfer simulation of nanofluids with Lattice-Boltzmann method
    Xuan, Yi-Min
    Yu, Kai
    Wu, Xuan
    Li, Qiang
    Kung Cheng Je Wu Li Hsueh Pao/Journal of Engineering Thermophysics, 2004, 25 (06): : 1022 - 1024
  • [50] Airflow analysis in the alveolar region using the lattice-Boltzmann method
    Z. Li
    C. Kleinstreuer
    Medical & Biological Engineering & Computing, 2011, 49 : 441 - 451