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 条
  • [31] Particle-based Ice Freezing Simulation
    Miao, Yunbin
    Xiao, Shuangjiu
    14TH ACM SIGGRAPH INTERNATIONAL CONFERENCE ON VIRTUAL REALITY CONTINUUM AND ITS APPLICATIONS IN INDUSTRY, VRCAI 2015, 2015, : 17 - 22
  • [32] Porous flow in particle-based fluid simulations
    Lenaerts, Toon
    Adams, Bart
    Dutre, Philip
    ACM TRANSACTIONS ON GRAPHICS, 2008, 27 (03):
  • [33] Lagrangian particle-based simulation of fluid-solid coupling on graphics processing units
    Shao, Xuqiang
    Zhou, Zhong
    Zhang, Jinsong
    Wu, Wei
    INTERNATIONAL JOURNAL OF NUMERICAL MODELLING-ELECTRONIC NETWORKS DEVICES AND FIELDS, 2015, 28 (03) : 254 - 274
  • [34] Recent advances in particle-based simulation of surfactants
    Taddese, Tseden
    Anderson, Richard L.
    Bray, David J.
    Warren, Patrick B.
    CURRENT OPINION IN COLLOID & INTERFACE SCIENCE, 2020, 48 : 137 - 148
  • [35] Particle-based visual simulation of explosive flames
    Takeshita, D
    Ota, S
    Tamura, M
    Fujimoto, T
    Muraoka, K
    Chiba, N
    11TH PACIFIC CONFERENCE ON COMPUTER GRAPHICS AND APPLICATIONS, PROCEEDINGS, 2003, : 482 - 486
  • [36] Particle-based parallel fluid simulation in three-dimensional scene with implicit surfaces
    Susumu Nakata
    Yasuaki Sakamoto
    The Journal of Supercomputing, 2015, 71 : 1766 - 1775
  • [37] Particle-based parallel fluid simulation in three-dimensional scene with implicit surfaces
    Nakata, Susumu
    Sakamoto, Yasuaki
    JOURNAL OF SUPERCOMPUTING, 2015, 71 (05): : 1766 - 1775
  • [39] Interactive Particle-based Simulation of Sociophysics Models
    Sabou, Adrian
    Gorgan, Dorian
    Peter, Ioan Radu
    2014 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTER COMMUNICATION AND PROCESSING (ICCP), 2014, : 411 - 416
  • [40] A particle-based method for granular flow simulation
    YuanZhang Chang
    Kai Bao
    Jian Zhu
    EnHua Wu
    Science China Information Sciences, 2012, 55 : 1062 - 1072