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 条
  • [1] Optimizations for predictive–corrective particle-based fluid simulation on GPU
    Samuel Carensac
    Nicolas Pronost
    Saïda Bouakaz
    The Visual Computer, 2023, 39 : 983 - 995
  • [2] Particle-based fluid simulation on the GPU
    Hegeman, Kyle
    Carr, Nathan A.
    Miller, Gavin S. P.
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 4, PROCEEDINGS, 2006, 3994 : 228 - 235
  • [3] The Non-Newtonian Fluid Simulation Based on Predictive-Corrective Incompressible SPH
    Zhang, Yalan
    Ban, Xiaojuan
    Wang, Xiaokun
    Liu, Xing
    2016 INTERNATIONAL CONFERENCE ON VIRTUAL REALITY AND VISUALIZATION (ICVRV 2016), 2016, : 72 - 78
  • [4] Accelerating a Novel Particle-based Fluid Simulation on the GPU
    Chen, Zhilu
    Kingsley, James
    Huang, Xinming
    Tuezel, Erkan
    2013 IEEE CONFERENCE ON HIGH PERFORMANCE EXTREME COMPUTING (HPEC), 2013,
  • [5] An improved predictive-corrective incompressible smoothed particle hydrodynamics method for fluid flow modelling
    Chong Peng
    Christoph Bauinger
    Kamil Szewc
    Wei Wu
    Hui Cao
    Journal of Hydrodynamics, 2019, 31 : 654 - 668
  • [6] An improved predictive-corrective incompressible smoothed particle hydrodynamics method for fluid flow modelling
    Peng, Chong
    Bauinger, Christoph
    Szewc, Kamil
    Wu, Wei
    Cao, Hui
    JOURNAL OF HYDRODYNAMICS, 2019, 31 (04) : 654 - 668
  • [7] Particle-Based Fast Simulation of Incompressible Fluid
    Sun, Hongquan
    Feng, Lixin
    PROCEEDINGS OF THE 2013 ASIA-PACIFIC COMPUTATIONAL INTELLIGENCE AND INFORMATION TECHNOLOGY CONFERENCE, 2013, : 228 - 234
  • [8] Particle-based pipe fluid simulation system
    Tang, Y
    He, X
    SYSTEM SIMULATION AND SCIENTIFIC COMPUTING, VOLS 1 AND 2, PROCEEDINGS, 2005, : 525 - 528
  • [9] Elastic Simulation of Joints with Particle-Based Fluid
    Sung, Su-Kyung
    Han, Sang-Won
    Shin, Byeong-Seok
    APPLIED SCIENCES-BASEL, 2021, 11 (15):
  • [10] Particle-based Semiconductor Device Simulation Accelerated by GPU computing
    Suzuki, Akito
    Kamioka, Takefumi
    Kamakura, Yoshinari
    Watanabe, Takanobu
    JOURNAL OF ADVANCED SIMULATION IN SCIENCE AND ENGINEERING, 2015, 2 (01): : 211 - 224