首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于GPU的粒子系统火焰模拟
引用本文:丘宇峰,曾国荪.一种基于GPU的粒子系统火焰模拟[J].计算机科学,2009,36(12):238-242.
作者姓名:丘宇峰  曾国荪
作者单位:1. 同济大学电子与信息工程学院计算机科学及技术系,上海,201804
2. 国家高性能计算机工程技术中心同济分中心,上海,201804
基金项目:863专项课题,973计划课题 
摘    要:针对传统火焰模拟耗时、模拟真实性不理想这一问题,提出了一种借助GPU(图形处理器)高通用计算能力进行并行模拟的粒子系统火焰模拟方法.该方法采用基于方位角和仰角的粒子散射器、基于层流火焰轮廓计算公式的火焰外形计算及通过拉格朗日插值方法平滑火焰骨架线等手段提高了素流火焰的模拟真实度.在提高性能方面,该方法使用全局存储空间存储粒子信息,避免了因使用纹理存储而产生的反复绑定的开销,同时结合GPU强大的通用计算能力,通过采用CUDA(计算统一设备架构)编写的并行算法,实现了基于GPU的拉格朗日插值并行求解及并行计算、更新粒子属性,并就如何确定块内线程数量作了论述.实验结果表明,该方法满足了火焰模拟的真实性和实时性要求,且较传统方法有很大的提高.

关 键 词:粒子系统  图形处理器  通用计算  方位角  仰角  拉格朗日插值  计算统一设备架构
收稿时间:5/7/2009 12:00:00 AM
修稿时间:7/7/2009 12:00:00 AM

Fire Simulation with GPU-based Particle System
QIU Yu-feng,ZENG Guo-sun.Fire Simulation with GPU-based Particle System[J].Computer Science,2009,36(12):238-242.
Authors:QIU Yu-feng  ZENG Guo-sun
Affiliation:(Deptartment of Computer, College of Electronic and Information Engineering, Tongji University, Shanghai 201804, China);(Tongji Branch,National Engineering & Technology Center of High Performance Computer,Shanghai 201804,China)
Abstract:This approach aims at improving the performance and reality of fire simulation in virtue of powerful ability of GPUPU. An emitter composed of yaw and pitch was designed to control the particle stream precisely. The formula of laminar flame was modified to outline the shape of turbulent fire. Besides, Lagrange interpolation was used to smooth and get the accurate fire skeleton around which particles move even when it becomes twist. In order to improve the performance,global memory was adopted to store particles to prevent the spending of binding texture memory repeatedly;parallelization of Lagrange interpolation and properties of particles update were realized of CUDA.All these measures contribute to reach a desirable real-time simulation speed and acquire an improvement of performance.
Keywords:Particle system  GPU  General-purpose computation  Yaw  Pitch  Lagrange interpolation  CUDA
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号