基于GPU的自适应网格流体模拟
Adaptive Mesh Fluid Simulations on GPU
摘要:
我们描述了一个可压缩的无粘流体求解器块结构的自适应网格细化图形处理单元,使用NVIDIA的CUDA的实现。我们表明,一类高分辨率的冲击捕获计划可以自然地映射到这个架构。使用线方法与二阶总变差减小龙格库塔时间积分方案,分段线性重建,和Harten-Lax-van Leer Riemann求解器,我们实现了一个图形卡上的执行速度比主机上的单核快约10倍的整体加速比。我们达到这个加速在统一的网格运行,以及在深AMR层次的问题。我们的框架可以很容易地应用到更一般的守恒律系统,并扩展到高阶激波捕获计划。这是直接显示的磁流体动力学求解器的实现,并比较其性能的纯流体动力学的情况下。最后,我们还结合我们的CUDA并行方案与MPI,使代码运行在GPU集群。在多达四个GPU上观察到接近理想的加速比。
英文摘要:
We describe an implementation of compressible inviscid fluid solvers with block-structured adaptive mesh refinement on Graphics Processing Units using NVIDIA's CUDA. We show that a class of high resolution shock capturing schemes can be mapped naturally on this architecture. Using the method of lines approach with the second order total variation diminishing Runge-Kutta time integration scheme, piecewise linear reconstruction, and a Harten-Lax-van Leer Riemann solver, we achieve an overall speedup of approximately 10 times faster execution on one graphics card as compared to a single core on the host computer. We attain this speedup in uniform grid runs as well as in problems with deep AMR hierarchies. Our framework can readily be applied to more general systems of conservation laws and extended to higher order shock capturing schemes. This is shown directly by an implementation of a magneto-hydrodynamic solver and comparing its performance to the pure hydrodynamic case. Finally, we also combined our CUDA parallel scheme with MPI to make the code run on GPU clusters. Close to ideal speedup is observed on up to four GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。