- 2
- 0
- 约1万字
- 约 10页
- 2018-06-22 发布于江苏
- 举报
动态网格的DSMC方法在GPU上的并行(
动态网格的DSMC方法在GPU上的并行Simon Chong Wee See 1,2
1(上海交通大学 高性能计算中心,上海 200240)
2(NVIDIA Corporation)
A GPU Based Parallel Method For Dynamic Collision Grid DSMC
WEN Minhua1+, LIN Xinhua1, Simon Chong Wee See 1,2
1(High Performance Computing Center, Shanghai Jiao Tong University, Shanghai 200240, China)
2(NVIDIA Corporation )
+ Corresponding author: Phn: +86 E-mail: wenminhua@sjtu.edu.cn
Abstract: The Direct Simulation Monte Carlo (DSMC) method is a powerful computational tool in the field of rarefied gas dynamics. However, there are two main shortages of DSMC method: one is complex gridding processing and the other is its large time consumption. The dynamic collision grid DSMC method generates collision grids adaptively according to the flowfield, which overcomes the first shortage. For the other shortage, we port the dynamic collision grid DSMC method to GPU using CUDA. During our parallel implement, the main computation is performed on GPU while CPU only deals with the processes of initialization and output. A two-dimensional benchmark problem in different sizes is used to demonstrate the correctness of the parallelization. The results show that 10+X speedup is achieved based on NVIDIA Fermi C2050. For a same case, the performance on NVIDIA’s newly released Kepler K20 is 1.3-1.6x higher than that on Fermi C2050.
Key words: CUDA, GPU, Dynamic Collision Grid DSMC, Parallel Simulation
摘要:直接模拟蒙特卡罗方法(Direct Simulation Monte Carlo,DSMC)是稀薄气体动力学领域的重要工具。然而,DSMC方法有两个比较主要的缺点:一是复杂的网格处理,另一个是庞大的计算量。使用动态网格的DSMC方法可以根据流场信息,动态生成自适应的碰撞网格,有效解决前一个缺点;针对后一个缺点,本文则基于动态网格的DSMC方法,使用CUDA编写并行程序,将其移植到GPU上以减少计算时间。在并行实现中,GPU负责绝大部分的计算,而CPU只负责初始化、结果输出等少量工作。我们使用一个二维超音速横掠平板问题作为算例验证了并行程序的正确性。对于不同规模的算例,NVIDIA Fermi C2050之上均获得了10倍以上的加速比 K20上的速度约为Fermi C2050上的1.3-1.6倍。
关键词:CUDA, GPU, 动态网格DSMC, 并行模拟: TP39 文献标识码: B
引言
连续性假设通常用于模拟气体流动,当气体十分稀薄时,粒子的间断效应十分明显,连续性假设不再成立,而应当使用稀薄气体动力学的方法才能得到正确的结果。用于描述稀薄气体的控制方程为Boltzmann方程:
(1)
它是一个微分积分方程,右端的碰撞项极其复杂,而且方程的变量很多(达7个),因此对于一般的问题求得解析解几乎不可能。另外,对于如
您可能关注的文档
最近下载
- 广东省深圳市深圳实验学校等校联考2024-2025学年九年级下学期开学考试语文试题(含答案).docx VIP
- 急性心梗转运流程图解.pptx
- 2025年房地产经纪人房地产市场特点综合案例分析专题试卷及解析.pdf VIP
- 党员领导干部2025年度民主生活会对照检查材料范文.docx VIP
- 2025年演出经纪人保护未成年人艺人的特殊义务与权利专题试卷及解析.pdf VIP
- ALINCO DR-635中文操作手册.pdf
- 2025年AWS认证Fargate网络隔离与安全组精细化配置专题试卷及解析.pdf VIP
- 2025年房地产经纪人市场比较法与其他估价方法(收益法、成本法)的混合应用专题试卷及解析.pdf VIP
- 2025年项目管理专业进度绩效指数在应对“黑天鹅”事件中的弹性分析专题试卷及解析.pdf VIP
- 【高考数学】2025年高考数学二级结论篇(核心知识背记手册).pdf
原创力文档

文档评论(0)