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 条
  • [31] Accuracy of the lattice-Boltzmann method using the Cell processor
    Harvey, M. J.
    De Fabritiis, G.
    Giupponi, G.
    PHYSICAL REVIEW E, 2008, 78 (05):
  • [32] Lattice-Boltzmann method for macroscopic porous media modeling
    Freed, DM
    INTERNATIONAL JOURNAL OF MODERN PHYSICS C, 1998, 9 (08): : 1491 - 1503
  • [33] Verification of multi-component lattice-Boltzmann method
    Niimura, H
    INTERNATIONAL JOURNAL OF MODERN PHYSICS B, 2003, 17 (1-2): : 157 - 160
  • [34] AEROACOUSTIC OPTIMIZATION FOR AXIAL FANS WITH THE LATTICE-BOLTZMANN METHOD
    Stadler, Michael
    Schmitz, Michael B.
    Ragg, Peter
    Holman, David M.
    Brionnaud, Ruddy
    PROCEEDINGS OF THE ASME TURBO EXPO 2012, VOL 3, 2012, : 743 - +
  • [35] Consistent wall boundary condition for lattice-Boltzmann method
    Hioki, Jun
    Kajishima, Takeo
    Nippon Kikai Gakkai Ronbunshu, B Hen/Transactions of the Japan Society of Mechanical Engineers, Part B, 2002, 68 (670): : 1677 - 1683
  • [36] Lattice-Boltzmann method for yield-stress liquids
    Vikhansky, A.
    JOURNAL OF NON-NEWTONIAN FLUID MECHANICS, 2008, 155 (03) : 95 - 100
  • [37] Accelerating Lattice-Boltzmann method with multi-GPUs
    Wu, Liang
    Zhong, Chengwen
    Zheng, Yankui
    Liu, Sha
    Zhuo, Congshan
    Chen, Xiaopeng
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2010, 22 (11): : 1932 - 1939
  • [38] A lattice-Boltzmann method for partially saturated computational cells
    Noble, DR
    Torczynski, JR
    INTERNATIONAL JOURNAL OF MODERN PHYSICS C, 1998, 9 (08): : 1189 - 1201
  • [39] Mesoscopic lattice Boltzmann modeling of dense gas flows in curvilinear geometries
    Busuioc, Sergiu
    PHYSICAL REVIEW FLUIDS, 2024, 9 (05):
  • [40] A NEW PARTIAL SLIP BOUNDARY CONDITION FOR THE LATTICE-BOLTZMANN METHOD
    Uth, Marc-Florian
    Crueger, Alf
    Herwig, Heinz
    PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON NANOCHANNELS, MICROCHANNELS, AND MINICHANNELS, 2013, 2013,