收稿日期: 2010-09-20
修回日期: 2011-02-23
网络出版日期: 2011-06-03
基金资助
国防基础科研项目( B2220061084)
GPU-Based Neighbor Search Algorithm for SPH Fluid Simulations
Received date: 2010-09-20
Revised date: 2011-02-23
Online published: 2011-06-03
Supported by
国防基础科研项目( B2220061084)
赵相坤 李凤霞 战守义 . 基于GPU 的面向SPH 流体模拟的邻居查找算法[J]. 华南理工大学学报(自然科学版), 2011 , 39(7) : 150 -155 . DOI: 10.3969/j.issn.1000-565X.2011.07.025
In order to improve the fluid simulation speed based on the smoothed particle hydrodynamics ( SPH) ,a new grid-based neighbor search method realizing on the graphics processing unit ( GPU) is proposed. In this method,first,the particle grid map texture is created according to the particle position texture and is sorted according to the grid index of each particle via the CPU sorting method. Then,the particle neighbor index is obtained by searching the sorted grid map texture and is assigned to the pre-computed position of neighbor map texture. The proposed method overcomes the current inability of pixel shaders in terms of scatter operations. With the adoption of this new GPU-based neighbor search technology,SPH fluid simulation can be entirely implemented on GPU and the fluid simulation speed can be doubled.
/
| 〈 |
|
〉 |