Optimizations for predictive-corrective particle-based fluid simulation on GPU

被引:2
|
作者
Carensac, Samuel [1 ]
Pronost, Nicolas [1 ]
Bouakaz, Saida [1 ]
机构
[1] Univ Claude Bernard Lyon 1, Univ Lyon, CNRS LIRIS UMR 5205, Villeurbanne, France
来源
VISUAL COMPUTER | 2023年 / 39卷 / 03期
关键词
Fluid simulation; SPH; Animation; GPU; SPH;
D O I
10.1007/s00371-021-02379-w
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of particles-based simulations to produce fluid animations is nowadays a frequently used method by both the industrial and research sectors. Although there are many variations of the smoothed particle hydrodynamics (SPH) algorithm currently being used, they all have the common characteristic of being highly parallel in nature. They are therefore frequently implemented on graphics processing units (GPUs) to benefit of high computation capacities of modern GPUs. However, such optimizations require specific optimizations to make use of the full capacity of the GPU, with sometimes optimizations being contradictory to optimizations used in CPU implementations. In this paper, we explored various optimizations on a GPU implementation of a recent particle-based fluid simulation algorithm using an iterative pressure solver. In particular, we focused on CPU optimizations that have not been thoroughly studied for GPU implementations: the indexing for the neighbor's structure, the frequency of the sorting of the fluid particles, the use of lookup tables for the kernel function computations and the use of a warm-start to improve the performance of the iterative pressure solver. We show that some of these optimizations are only effective for very specific hardware configurations and sometimes even impact the performance negatively. We also show that the warm-start reduces the computation time but introduces a cyclic instability in the simulation. We propose a solution to reduce this instability without requiring to modify the implementation of the fluid algorithm.
引用
收藏
页码:983 / 995
页数:13
相关论文
共 50 条
  • [21] Particle-based simulation of fluids
    Premoze, S
    Tasdizen, T
    Bigler, J
    Lefohn, A
    Whitaker, RT
    COMPUTER GRAPHICS FORUM, 2003, 22 (03) : 401 - 410
  • [22] Particle-based simulation and visualization of fluid flows through porous media
    Bayraktar, Serkan
    Gudukbay, Ugur
    Ozguc, Bulent
    JOURNAL OF VISUALIZATION, 2010, 13 (04) : 327 - 336
  • [23] Particle-based simulation and visualization of fluid flows through porous media
    Serkan Bayraktar
    Uğur Güdükbay
    Bülent Özgüç
    Journal of Visualization, 2010, 13 : 327 - 336
  • [24] A new prediction method for heat transfer to supercritical fluids based on predictive-corrective technique
    Liu S.
    Huang Y.
    Liu G.
    Wang J.
    Zan Y.
    Lang X.
    Xu J.
    Huang, Yanping (hyanping007@163.com), 2017, Chinese Academy of Sciences (47): : 582 - 595
  • [25] Particle-based immiscible fluid-fluid collision
    Mao, Hai
    Yang, Yee-Hong
    GRAPHICS INTERFACE 2006, PROCEEDINGS, 2006, : 49 - +
  • [26] Particle-based Cardiac Rhythm Simulation
    Guo, Jiaxiang
    Yang, Cheng
    Han, Jie
    Tang, Jiayu
    Zheng, Mianlun
    Liao, Xiangyun
    Yuan, Zhiyong
    2013 25TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2013, : 2072 - 2075
  • [27] Lightweight particle-based real-time fluid simulation for mobile environment
    Piao, Jin-Chun
    Lu, Jue-Min
    Hong, Chung-Pyo
    Kim, Shin-Dug
    SIMULATION MODELLING PRACTICE AND THEORY, 2017, 77 : 32 - 48
  • [28] Particle-based simulation: An algorithmic perspective
    Saraniti, Marco
    Aboud, Shela
    Branlard, Julien
    Goodnick, Stephen M.
    JOURNAL OF COMPUTATIONAL ELECTRONICS, 2006, 5 (04) : 405 - 410
  • [29] Particle-based simulation: An algorithmic perspective
    Marco Saraniti
    Shela Aboud
    Julien Branlard
    Stephen M. Goodnick
    Journal of Computational Electronics, 2006, 5 : 405 - 410
  • [30] Particle-based Simulation of Hydraulic Fracture and Fluid/Heat Flow in Geothermal Reservoirs
    Mora, Peter
    Wang, Yucang
    Alonso-Marroquin, Fernando
    POWDERS AND GRAINS 2013, 2013, 1542 : 177 - 180