A Position-Based Fluid Method with Dynamic Smoothing Length
Traditional position-based fluid (PBF) methods often suffer from interpolation inaccuracies and limited computational efficiency due to their fixed smoothing length. To address these limitations, this paper proposes an adaptive smoothing length model and implements full-pipeline parallel acceleration on GPUs. By incorporating both local neighbor count and density variation, the model dynamically adjusts particle smoothing length. This adaptation effectively mitigates two issues: surface distortion due to insufficient interpolation in sparse regions, and performance degradation caused by computational redundancy in dense regions. To resolve neighbor search asymmetry introduced by dynamic smoothing lengths, we designed a symmetry handling technique based on maximum smoothing length and an efficient spatial hashing search algorithm. Experimental results across multiple scenarios (including dam break and droplet impact) demonstrate that our method maintains simulation stability comparable to the fixed smoothing length approach while improving computational efficiency and enhancing local particle distribution uniformity. The improved uniformity is evidenced by a significant reduction in the variance of neighbor particle counts. Visually, the method yields more natural results for dynamic details such as splashing and fragmentation, thereby ensuring the visual realism of the simulations.
Authors
- Xirun Li
- Changjun Zou (ORCID: https://orcid.org/0000-0002-8059-2944)
Institutions
- East China Jiaotong University (CN)
Publication Details
- Journal
- Computers
- Published
- 2025-12-30
- DOI
- https://doi.org/10.3390/computers15010011
- Primary Topic
- Computer Graphics and Visualization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China