摘要
针对欧拉方法进行火焰模拟中涉及到的速度场和温度场等复杂的计算与渲染问题,设计了基于CU-DA的实现方案.对其中的大规模稀疏线性方程组,实现了基于CUDA的求解器;针对火焰的颜色绘制、漩涡等问题,通过黑体辐射和增加漩涡限制因子解决,并针对其中的烟雾和焰心绘制提出了一种简便的绘制策略;针对可视化绘制问题,使用CUDA实现了基于光线投射的体绘制方法.全文火焰模拟计算和绘制的全过程实现均基于CUDA完成,模拟结果达到了可观的加速比和可视化效果.
A CUDA-based solution is designed for velocity field and temperature field computing and rendering which are complex problems appeared in fire simulation based on Euler method.A CUDA-based solver for large-scale sparse linear equations is realized.To solve problems such as flame rendering,swirl controlling,etc.,black body spectrum and vortex limiting factors for solutions are used.A CUDA-based ray casting method to accomplish the ray tracing process is proposed.The whole procedure of fire simulation and all implementations are based on CUDA,and the simulation results achieve a considerable speedup and visual effects.
出处
《晓庄学院自然科学学报》
CAS
北大核心
2012年第6期18-23,共6页
Journal of Natural Science of Hunan Normal University
基金
湖南省高校创新平台开放基金资助项目(10K40)
国家自然科学学基金资助项目(11171104)
关键词
CUDA
稳定流
火焰模拟
可视化
CUDA
stable fluid
flame simulation
visualization