返回
Optimizations for predictive-corrective particle-based fluid simulation on GPU
DOI:10.1007/s00371-021-02379-w.png)
摘要
En 中文
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.
Keyword:
Fluid simulation
SPH
Animation
GPU
期刊
IF:
2.9
论文数:
4.6K
被引数:
6.5K
机构
引用论文
Household decision-making for the MenACWY vaccination: How parents and adolescents deal with an adolescent vaccination decisionMenACWY疫苗接种的家庭决策:父母和青少年如何应对青少年疫苗接种决策
Vaccine
IF0
Associations between source of information about sex and sexual health outcomes in Britain: findings from the third National Survey of Sexual Attitudes and Lifestyles (Natsal-3)
BMJ Open
IF0

