将并行计算方法应用于含运动边界流场的数值模拟,采用弹簧方法生成非结构运动网格.并行程序结构采用主从模式,主进程只负责数据的发送和接收,每个从进程的计算任务对应一个子区域.通过守恒型ALE(Arbitrary Lagrangian-Eulerian)方程的求解,对NACA0012翼型振动问题进行了数值模拟,并对不同分区数目情况下的计算时间、并行计算加速比和并行计算效率进行了比较.算例结果表明,随着分区数的增加,进行计算CPU的效率先增加后下降,而并行计算的加速比不断增加.
The parallel computation method was used for numerical simulation of flow field with moving boundary, and unstructured moving grids were generated by spring analogy method. In the parallel structure, the principal and subordinate mode was adopted. The principal program takes charge of data sending and receiving, and the calculation task of each subordinate program is accordant with a sub-domain. By solving the conservative arbitrary LagrangianEulerian (ALE) equation, the problem of NACA0012 aemfoil vibration was numerically simulated, and the computation time, parallel acceleration rate, and parallel efficiency under different numbers of sub-domains were compared. Case study shows that, with the increase of the number of sub-domains, the computation efficiency of CPU increases at first and then decreases; however, the acceleration rate of parallel computation always increases.