• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2022, Vol. 44 ›› Issue (10): 1721-1729.

• High Performance Computing • Previous Articles     Next Articles

Optimizations of mesh renumbering for unstructured finite-volume computational fluid dynamics

ZHANG Yong1 ,ZHANG Xi2 ,WAN Yun-bo1 ,HE Xian-yao1 ,ZHAO Zhong1 ,LU Yu-tong2   

  1. (1.Computational Aerodynamics Institute,China Aerodynamics Research and Development Center,Mianyang 621000;
    2.School of Computer Science and Engineering,Sun Yat-sen University,Guangzhou 510006,China)
  • Received:2022-03-14 Revised:2022-05-25 Accepted:2022-10-25 Online:2022-10-25 Published:2022-10-28

Abstract: Mesh renumbering or reordering is one of the important means to improve the CPU and GPU parallel computing efficiency of Computational Fluid Dynamics (CFD). For unstructured meshes, due to the irregular data storage, indirect data access will lead to large memory access delays. Especially in GPU parallel computing, indirect data access will cause non-aligned memory access, amplifying the impact of memory access latency. In this regard, the Reverse Cuthill-Mckee mesh reordering method is used to optimize the data locality of unstructured meshes, and a face renumbering method is designed. The example test shows that the mesh reordering does not affect the final calculation result. The impact of mesh reordering on the performance of unstructured solvers on CPU and GPU is compared and analyzed. For CPU computing, the running time of some hotspot functions can be reduced by about 20%, and the overall running time can be reduced by 15%~20%. For GPU computing, the running time of most hotspot functions is reduced by 35%~60%, and the overall running time of the program is reduced by about 40%.

Key words:

CLC Number: