摘要
随着多相流技术在石油工业的地位的提高,对多相流动数值模拟的要求也随之提高。传统的基于网格的数值方法如FDM和FEM处理运动交界面位置时十分困难,近些年兴起的无网格方法则善于处理该类问题。SPH是无网格方法中一种较为成熟的方法,相比其他无网格数值方法,基于粒子构架的性质使得SPH法在追踪相间边界的移动变化上有天然优势。为提高程序效率和数据处理能力,对SPH两相流动模拟进行了并行化处理,并行手段为在GPU上使用C++AMP技术。GPU有利于计算流体动力学方法的并行化处理,与传统异构计算技术如CUDA和OpenCL相比,C++AMP在GPU上的并行处理无需预编译,更加简便。通过算例对串行和并行SPH两相流动模型进行了比较,结果表明,并行后的程序有显著的效率提升。
Multiphase flow technology is important for the petroleum industry,and the requirement for the numerical simulation of multiphase flow is also becoming higher.Traditional gridbased numerical methods,such as FDM and FEM,have troubles dealing problems of free-surface and tracing moving boundary.The meshless method is good at dealing with these problems.This paper describes the parallel SPH simulation of a two-phase(gas-liquid)flow with C++ AMP.Smoothed Particle Hydrodynamics(SPH)is a mesh-free method which has already become mature in numerical simulation.This particle-based method has a great advantage in tracing moving boundaries between different phases compared with grid-based methods,and its performance in complex cases is still object of research.The GPU is good at accelerating CFD problems which are data-parallelizable.Compared with traditionally heterogeneous computing technologies such as CUDA and OpenCL,C+ + AMP has an extraordinary advantage in platform choosing and coding.
作者
梁光川
郑达
周军
文韵豪
何承宏
LIANG Guangchuan;ZHENG Da;ZHOU Jun;WEN Yunhao;HE Chenhong(School of Oil & Gas Engineering,South-west Petroleum University,Chengdu 610500,China;China Petroleum Planning and Engineering Institute,Beijing 100089,China;Sichuan Middle Oil Gas Mine,China Petroleum South-west Oil & Gas Field Company,Suining 629000,China)
出处
《北京石油化工学院学报》
2018年第2期61-64,70,共5页
Journal of Beijing Institute of Petrochemical Technology
基金
西南石油大学青年教师"过学术关"资助项目(201599010096)