Solving seven-equation model for compressible two-phase flow using multiple GPUs

被引:30
作者
Liang, Shan [1 ,2 ,3 ,4 ]
Liu, Wei [1 ,2 ]
Yuan, Li [1 ,2 ]
机构
[1] Chinese Acad Sci, Acad Math & Syst Sci, LSEC, Beijing 100190, Peoples R China
[2] Chinese Acad Sci, Acad Math & Syst Sci, NCMIS, Beijing 100190, Peoples R China
[3] Chinese Acad Sci, Comp Network Informat Ctr, Beijing 100190, Peoples R China
[4] State Key Lab Math Engn & Adv Comp, Wuxi 214000, Peoples R China
关键词
Compressible multiphase flow; Seven-equation model; HLLC; TVD Runge-Kutta; GPU computing; GHOST FLUID METHOD; SHOCK-INDUCED COLLAPSE; MULTIMATERIAL FLOWS; DIFFERENCE SCHEME; SIMULATION; INTERFACE; MULTIFLUID; EQUATIONS; DYNAMICS; WATER;
D O I
10.1016/j.compfluid.2014.04.021
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this paper, the application of an HLLC-type approximate Riemann solver in conjunction with the third-order TVD Runge-Kutta method to the seven-equation compressible two-phase model on multiple Graphics Processing Units (GPUs) is presented. Based on the idea proposed by Abgrall et al. that "a multiphase flow, uniform in pressure and velocity at t = 0, will remain uniform on the same variables during time evolution", discretization schemes for the non-conservative terms and for the volume fraction evolution equation are derived in accordance with the HLLC solver used for the conservative terms. To attain high temporal accuracy, the third-order TVD Runge-Kutta method is implemented in conjunction with operator splitting technique, in which the sequence of operators is recorded in order to compute free surface problems robustly. For large scale simulations, the numerical method is implemented using MPI/Pthread-CUDA parallelization paradigm for multiple GPUs. Domain decomposition method is used to distribute data to different GPUs, parallel computation inside a GPU is accomplished using CUDA, and communication between GPUs is performed via MPI or Pthread. Efficient data structure and GPU memory usage are employed to maintain high memory bandwidth of the device, while a special procedure is designed to synchronize thread blocks so as to reduce frequencies of kernel launching. Numerical tests against several one- and two-dimensional compressible two-phase flow problems with high density and high pressure ratios demonstrate that the present method is accurate and robust. The timing tests show that the overall speedup of one NVIDIA Tesla C2075 GPU is 31x compared with one Intel Xeon Westmere 5675 CPU core, and nearly 70% parallel efficiency can be obtained when using 8 GPUs. (C) 2014 Elsevier Ltd. All rights reserved.
引用
收藏
页码:156 / 171
页数:16
相关论文
共 35 条
[1]   How to prevent pressure oscillations in multicomponent flow calculations: A quasi conservative approach [J].
Abgrall, R .
JOURNAL OF COMPUTATIONAL PHYSICS, 1996, 125 (01) :150-160
[2]   Discrete equations for physical and numerical compressible multiphase mixtures [J].
Abgrall, R ;
Saurel, R .
JOURNAL OF COMPUTATIONAL PHYSICS, 2003, 186 (02) :361-396
[3]   A five-equation model for the simulation of interfaces between compressible fluids [J].
Allaire, G ;
Clerc, S ;
Kokh, S .
JOURNAL OF COMPUTATIONAL PHYSICS, 2002, 181 (02) :577-616
[4]   A Godunov-type method for the seven-equation model of compressible two-phase flow [J].
Ambroso, A. ;
Chalons, C. ;
Raviart, P. -A. .
COMPUTERS & FLUIDS, 2012, 54 :67-91
[5]  
[Anonymous], 46 AIAA AER SCI M EX
[6]  
[Anonymous], 2011, NVIDIA CUDA C Programming Guide
[7]  
[Anonymous], 2009, P 2 WORKSHOP GEN PUR
[8]   A 2-PHASE MIXTURE THEORY FOR THE DEFLAGRATION-TO-DETONATION TRANSITION (DDT) IN REACTIVE ANTIGRANULOCYTES-MATERIALS [J].
BAER, MR ;
NUNZIATO, JW .
INTERNATIONAL JOURNAL OF MULTIPHASE FLOW, 1986, 12 (06) :861-889
[9]   Shock-induced collapse of a cylindrical air cavity in water: a Free-Lagrange simulation [J].
Ball, GJ ;
Howell, BP ;
Leighton, TG ;
Schofield, MJ .
SHOCK WAVES, 2000, 10 (04) :265-276
[10]   SHOCK-INDUCED COLLAPSE OF SINGLE CAVITIES IN LIQUIDS [J].
BOURNE, NK ;
FIELD, JE .
JOURNAL OF FLUID MECHANICS, 1992, 244 :225-240