为实现氧碘化学激光器大规模数值模拟,基于 JASMIN (J parallel adaptive structured mesh applications infrastructure)框架设计实现了氧碘化学激光器数值模拟的多块并行通信算法。该算法针对模拟中构造多块结构网格间通信关系困难、氧碘化学激光器数值模拟填充物理边界复杂以及网格块内块间通信调度策略不统一等通信问题,实现了块间关系自动识别算法用以自动识别多块结构网格间通信关系,构造了特殊物理边界数据结构帮助实现物理边界的填充,并采用了统一的通信调度策略以降低通信时间。数值结果表明:该算法解决了氧碘化学激光器大规模数值模拟中的通信问题,并很好地模拟了氧碘化学激光器装置,使用简单,可以扩展到上千个处理器核。
In this paper ,a parallel communication algorithm of supersonic chemical oxygen iodine laser (COIL )’s calculation using multiblock structured mesh has been designed and implemented . This communication algorithm that is designed for large scale supersonic chemical oxygen iodine laser ’s simulation is based on JASMIN (J parallel adaptive structured mesh applications infrastructure ) infrastructure . There are several communication problems in the large scale supersonic chemical oxygen iodine laser’s simulation such as the complexity of blocks’ connecting relationship description , the complexity of management of boundary conditions and the nonuniform of communication schedule . The communication algorithm in this paper includes a blocks’ relationship recognition algorithm to compute blocks’ connecting relationship automatically , a special data structure to help managing boundary conditions and a unified communication schedule which can reduce communication time . According to our calculation results , the communication problems can be resolved by the communication algorithm in this paper and supersonic chemical oxygen iodine laser based on this communication algorithm can be realized easily and simulated regularly . The simulation with 4 .5 million mesh cells in this paper can run efficiently on thousands of processor cores .