Virtual Reality & Intelligent Hardware (Apr 2021)

Adaptive smoothing length method based on weighted average of neighboring particle density for SPH fluid simulation

  • Rongda Zeng,
  • Zihao Wu,
  • Shengbang Deng,
  • Jian Zhu,
  • Xiaoyu Chi

Journal volume & issue
Vol. 3, no. 2
pp. 129 – 141


Read online

Background: In the smoothed particle hydrodynamics (SPH) fluid simulation method, thesmoothing length affects not only the process of neighbor search but also the calculation accuracy of the pressure solver. Therefore, it plays a crucial role in ensuring the accuracy and stability of SPH. Methods: In this study, an adaptive SPH fluid simulation method with a variable smoothing length is designed. In this method, the smoothing length is adaptively adjusted according to the ratio of the particle density to the weighted average of the density of the neighboring particles. Additionally, a neighbor search scheme and kernel function scheme are designed to solve the asymmetry problems caused by the variable smoothing length. Results: The simulation efficiency of the proposed algorithm is comparable to that of some classical methods, and the variance of the number of neighboring particles is reduced. Thus, the visual effect is more similar to the corresponding physical reality. Conclusions: The precision of the interpolation calculation performed in the SPH algorithm is improved using the adaptive-smoothing length scheme; thus, the stability of the algorithm is enhanced, and a larger timestep is possible.