OpenMP parallel computing model for two-dimensional flow with non-uniform sediment
Shoubing Yu · Shuili shuidian ke-ji jinzhan · 2012
In order to realize parallel computing for two-dimensional flow with non-uniform sediment,OpenMP is used to transform serial source program.Hence,a parallel computing model for two-dimensional flow with non-uniform sediment is estabished.The OpenMP parallel computing model based on triangle-quadrangle mixed grid has the characteristics of cell independence in the condition of explicit numerical solution.According to this advantage,by means of embedding the circular OpenMP parallel instructions and array parallel instructions in cycle calculation and the integrated array operation respectively,the parallel computing can be realized,without modification of Fortran serial source program.Case calculation results show that the parallel speed ratio can reach the maximum value of 1.55,when the parallel computing process number is equal to the computer intrinsic one.As OpenMP programming is simple and flexible and it is suitable to operate in multi-core computer,it will be more widely used with the improvement of performance of computer hardware.