基于CUDA/MPI加速的超声速化学非平衡流动开源数值模拟软件OSTC的开发与验证  

Development and Validation of OSTC,an Open-source Numerical Simulation Software for Supersonic Chemically Non-equilibrium Flow Based on CUDA/MPI Acceleration

在线阅读下载全文

作  者:郭信良 高振勋[1] Guo Xinliang;Gao Zhenxun(School of Aeronautics Science&Engineering,Beihang University,Beijing 100191,China)

机构地区:[1]北京航空航天大学航空科学与工程学院,北京100191

出  处:《气动研究与试验》2025年第2期19-30,共12页Aerodynamic Research & Experiment

摘  要:超声速化学非平衡流动的数值模拟计算量大、计算周期长,利用图形处理单元(GPU)的众核处理器数据并行能力可对计算过程进行加速。OSTC是由CUDA/C++语言开发的运行在GPU上、利用MPI并行的数值模拟软件,基于曲线坐标系有限差分方法对超声速化学非平衡流动进行数值模拟。该数值模拟软件自主实现列主元形式、可负下标访问的数组,利用基于模板的静态多态方法提升了程序的运行时效率,利用CUDA-aware MPI提升了多卡并行传输效率。经过SOD激波管、超声速横向喷流、Burrows-Kurkov燃烧室以及混合层等测试算例的测试,验证了其准确性,并通过相同测试算例在中央处理器(CPU)上的运行,测试其运行效率。经测试,相同算例在本软件上由Nvidia A100 GPU运行,加速比可达193。因此,OSTC可作为实际科学研究与工程计算中的高效计算工具,提升数值模拟效率。The numerical simulation of supersonic chemically non-equilibrium flow is computationally intensive and has a long computational cycle.The computational process can be accelerated by utilizing the data parallelism of multi-core processors of Graphics Processing Units(GPUs).OSTC is a numerical simulation software developed in the CUDA/C++language running on GPUs and utilizing the MPI parallelism,which is based on the curvilinear coordinate system with finite difference method for the numerical simulation of supersonic chemical non-equilibrium flow.The numerical simulation software implements column-major arrays,with support for negative subscript access.Template-based static polymorphism is used to improve the runtime efficiency,while CUDA-aware MPI is chosen to improve the efficiency of multi-GPU parallel transmission.The software is validated with test cases such as SOD shock tubes,supersonic jet in crossflow,Burrows-Kurkov combustor,and mixing layers to verify its accuracy.Runtime efficiency is tested by running the same cases on a CPU software.The same example was tested to run on Nvidia A100 with an acceleration ratio of 193.Therefore,OSTC can be an efficient tool to improve the efficiency of numerical simulations in scientific reasearches as well as in engineering applications.

关 键 词:计算流体动力学 CUDA 化学非平衡流动 曲线坐标系 C++ 

分 类 号:V411.3[航空宇航科学与技术—航空宇航推进理论与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象