首页> 中文期刊>北京石油化工学院学报 >基于C++AMP的两相并行SPH 流动模拟

基于C++AMP的两相并行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 grid-based 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.%随着多相流技术在石油工业的地位的提高,对多相流动数值模拟的要求也随之提高.传统的基于网格的数值方法如 FDM和 FEM处理运动交界面位置时十分困难,近些年兴起的无网格方法则善于处理该类问题.SPH 是无网格方法中一种较为成熟的方法,相比其他无网格数值方法,基于粒子构架的性质使得 SPH 法在追踪相间边界的移动变化上有天然优势.为提高程序效率和数据处理能力,对 SPH 两相流动模拟进行了并行化处理,并行手段为在GPU上使用C++AMP技术.GPU有利于计算流体动力学方法的并行化处理,与传统异构计算技术如CUDA和 OpenCL相比,C++AMP 在 GPU 上的并行处理无需预编译,更加简便.通过算例对串行和并行SPH 两相流动模型进行了比较,结果表明,并行后的程序有显著的效率提升.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号