期刊文献+

基于GPU的面向SPH流体模拟的邻居查找算法 被引量:9

GPU-Based Neighbor Search Algorithm for SPH Fluid Simulations
下载PDF
导出
摘要 为了提高基于平滑粒子动力学(SPH)的流体模拟速度,提出了一种在图形处理器(GPU)上实现的基于网格的邻居快速查找算法.该方法首先使用粒子位置纹理信息建立对应的网格纹理,然后利用GPU排序方法按照粒子的网格索引进行排序,最后在排序后的网格纹理中得到粒子的邻居粒子索引,并将其赋值到预计算的粒子邻接纹理中.该方法克服了像素着色器无法将指定数值写到指定位置的问题.将这种基于GPU的邻居查找算法应用于流体模拟,可以使基于SPH的流体模拟方法完全运行在GPU上,成倍地提高流体模拟的速度. 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.
出处 《华南理工大学学报(自然科学版)》 EI CAS CSCD 北大核心 2011年第7期150-155,共6页 Journal of South China University of Technology(Natural Science Edition)
基金 国防基础科研项目(B2220061084)
关键词 流体模拟 邻居查找算法 平滑粒子动力学 图形处理器 fluid simulation neighbor search algorithm smoothed particle hydrodynamics graphics processing unit
  • 相关文献

参考文献12

  • 1Muller M, Charypar D, Gross M. Particle-based fluid si- mulation for interactive applications [ C ]//Proceedings of ACM SIGGRAPH/Eurographics Symposium on Computer Animation. San Diego : ACM ,2003 : 154-159.
  • 2Amada T, Imura M, Yasumuro Y, et al. Particle-based fluid simulation on GPU [ C] //Proceedings of ACM Workshop on General-Purpose Computing on Graphics Processors. Los Angeles : ACM ,2004 : 1-2.
  • 3Muller M, Solenthaler B, Keiser R, et al. Particle based fluid-fluid interaction [ C ] //Proceedings of ACM SIG- GRAPH/Eurographics Symposium on Computer Anima- tion. Los Angeles : ACM ,2005:237-244.
  • 4Kipfer P, Segal M, Westermann R. Uberflow: a GPU based particle engine [ C ]//Proceedings of ACM SIGGRAPH/ Eurographics Conference on Graphics Hardware. New York: ACM ,2004 : 115-122.
  • 5Purcell T J, Donner C, Cammarano M, et al. Photon ma- pping on programmable graphics hardware [ C ]//Procee- dings of ACM SIGGRAPH/Eurographics Conference on Graphics Hardware. San Diego: ACM ,2003:41-50.
  • 6Harada T, Koshizuka S, Kawaguchi Y. Smoothed particle hydrodynamics on GPUs [ C ]//Proceedings of Computer Graphics International. Berlin/Heidelberg: Springer-Verlag, 2007:63-70.
  • 7Bayraktar S ,Gudukbay U, Ozguc B. GPU-based neighbor- search algorithm for particle simulations [ J ]. Journal of Graphics, GPU, and Game Tools, 2007,14 ( 1 ) : 31-42.
  • 8Fernando Randima. GPU gems : programming techniques, tips and tricks for real-time graphics [ M ]. Boston : Addi- son-Wesley ,2004 : 107-121.
  • 9Pharr Matt, Fernando Randima. GPU gems 2 : programming techniques for high-performance graphics and general-pur- pose computation [ M ]. Boston : Addison-Wesley, 2005 : 733-746.
  • 10Govindaraju N K, Manocha D, Raghuvanshi N, et al. GPUSort: high performance sorting using graphics pro- cessors [ R ]. North Carolina: Department of Computer Science, University of North Carolina at Chapel Hill, 2006.

同被引文献74

  • 1张锁春.光滑质点流体动力学(SPH)方法(综述)[J].计算物理,1996,13(4):385-397. 被引量:84
  • 2方智勇,端木玉,朱仁庆.基于Level-set法的液舱液体晃荡数值模拟[J].船舶力学,2007,11(1):62-67. 被引量:10
  • 3方智勇,杨松林,朱仁庆.Level-set法在液体晃荡研究中的应用[J].水动力学研究与进展(A辑),2007,22(2):150-156. 被引量:12
  • 4Liu G R, Liu M B. Smoothed particle hydrodynamics (SPH) :an o- verview and recent developments [ J ]. Archives of Computational Methods in Engineering ,2010,17 ( 1 ) :25-76.
  • 5Lucy L B. A approach to the testing of the fission hypothesis [ J ]. The Astsion,1977,8(12) :1013-1024.
  • 6Desbrun M, Cani M P. Smoothed particles:a new paradigm for ani- mating highly deformable bodies [ C ]. Proc. Eurographics Work- shop Computer Animation and Simulation, Berlin, Germany, 1996 : 103-122.
  • 7Robinson M A, Shinar T, Gretarsson J, et al. Tow-way coupling of fluid to rigid and deformable solids and shells[ J]. ACM Transac- tions on Graphics (TOG) ,2008,27 ( 3 ) : Article46 : 1-9.
  • 8Losasso F,Talton J, Kwatra J, et al. Two-way coupled SPH and par- ticle level set fluid simulation[ J]. IEEE Transaction on Visualiza- tion and Computer Graphics(TVCG) ,2008,14(4) :797-804.
  • 9Monaghan J J, Gingold R A. Shock simulation by the particle meth- od SPH[ J 1. Journal of Computation Physics, 1983,52 ( 2 ) : 374- 389.
  • 10Hernquist L, Katz N. TreeSPH-a unification of SPH with the hierar- chical tree method[ J ]. The Astrophysical Journal Supplement Se-ries,1989,70(6) :419-446.

引证文献9

二级引证文献20

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部