计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 324-332.doi: 10.11896/jsjkx.251200199

• 高性能计算 • 上一篇    下一篇

面向国产DCU的燃烧数值模拟算法优化研究

万朋1, 文敏华1, 程雨飞1, 李林颖2, 张斌2, 林新华1   

  1. 1 上海交通大学高性能计算中心 上海 200240
    2 上海交通大学航空航天学院 上海 200240
  • 收稿日期:2025-12-31 修回日期:2026-04-03 出版日期:2026-11-15 发布日期:2026-11-10
  • 通讯作者: 文敏华(wenminhua@sjtu.edu.cn)
  • 作者简介:(sjtu_wp@sjtu.edu.cn)
  • 基金资助:
    光合基金A类(ghfund202407015878)

High-performance Optimization of Combustion Numerical Simulation on DCU

WAN Peng1, WEN Minhua1, CHENG Yufei1, LI Linying2, ZHANG Bin2, LIN Xinhua1   

  1. 1 High Performance Computing Center,Shanghai Jiao Tong University,Shanghai 200240,China
    2 School of Aeronautics and Astronautics,Shanghai Jiao Tong University,Shanghai 200240,China
  • Received:2025-12-31 Revised:2026-04-03 Published:2026-11-15 Online:2026-11-10
  • About author:WAN Peng,born in 2000,associate engineer,is a member of CCF(No.V2539M).His main research interest is engineering computing.
    WEN Minhua,born in 1988,seniorengineer,is a member of CCF(No.V33706M).His main research interest is high-performance computing.
  • Supported by:
    Guanghe Fund Class A(ghfund202407015878).

摘要: 航空发动机燃烧室的高保真数值模拟因涉及多尺度物理化学过程,其严重的计算负载不均衡问题,对国产异构计算平台的高效利用构成了突出挑战。为此,基于燃烧反应的空间自适应解耦算法,完成了其向国产DCU平台的异构移植,并提出了系统的性能优化方案。具体而言,为应对子迭代步数不均衡问题,设计了基于排序的动态负载均衡策略;为缓解非结构化网格的访存瓶颈,实施了结合RCM(Reverse Cuthill-Mckee)网格重编号的全局内存合并访问优化,并改进了共享内存的数据布局以缓解Bank冲突;此外,通过HIP异步流与线程分支重组,进一步优化了指令执行效率。在单头部、旋转爆轰典型燃烧室构型上的实验结果表明,经协同优化后,算法在国产K100 DCU上的整体性能显著提升。相对于NVIDIA A100平台,其性能由优化前的51.4%和39.8%分别提升至67.2%和57.5%。对比分析揭示,国产平台对访存优化策略更为敏感,其平均性能增益较A100平台高出约20%。该研究验证了国产DCU应用于大规模燃烧模拟的可行性与优化路径,为计算流体力学程序在国产异构平台上的性能调优提供了参考。

关键词: 燃烧模拟, 国产处理器, 负载均衡, 多平台适配, HIP移植

Abstract: High-fidelity numerical simulation of aero-engine combustors,which involves multi-scale physical and chemical processes,presents a significant challenge due to severe computational load imbalance.This challenge particularly hinders the efficient utilization of current domestic heterogeneous computing platforms.In this study,a spatially adaptive decoupling algorithm for combustion reactions is ported to a domestic DCU platform,and a systematic performance optimization scheme is proposed.Specifically,to address the disparity in sub-iteration steps,a dynamic load balancing strategy based on sorting is designed.To alleviate the memory access bottleneck caused by unstructured grids,a global memory coalescing optimization combined with RCM(Reverse Cuthill-McKee) grid renumbering is implemented,alongside improvements to the shared memory data layout to mitigate bank conflicts.Furthermore,instruction execution efficiency is enhanced through HIP asynchronous streams and thread divergence reorganization.Experimental results on typical combustor configurations,such as single-head and rotating detonation chambers,demonstrate that after co-optimization,the overall performance of the algorithm on the domestic K100 DCU improves significantly.Compared with the NVIDIA A100 platform,it’s performance increases from the pre-optimization levels of 51.4% and 39.8% to 67.2% and 57.5% respectively.Comparative analysis reveals that the domestic platform is more sensitive to me-mory access optimization strategies,yielding an average performance gain approximately 20% higher than that on the A100 platform.This research validates the feasibility and optimization pathway for applying domestic DCUs to large-scale combustion simulation,providing a valuable reference for performance tuning of computational fluid dynamics programs on domestic heterogeneous platforms.

Key words: Combustion simulation, Domestic processors, Load balancing, Multi platform adaptation, HIP transplantation

中图分类号: 

  • TP311.1
[1] LI L,RONG C,HU S,et al.Intelligent variable strut for com-bustion performance optimization of a wide-range scramjet engine[J].International Journal of Hydrogen Energy,2024,49:1-13.
[2] LI L,ZHANG B,LIU H.A spectral MUSCL scheme for gPC-Galerkin method to uncertain hyperbolic equations[J].AIP Advances,2023,13(2):025032.
[3] LI L,ZHANG B,LIU H.Local sensitivity informed anisotropic sparse grid method for uncertainty quantification of chemical kinetics[J].AIP Advances,2023,13(7):075323.
[4] LIU H,YIN Z,XIE W,et al.Numerical and analytical assessment of finite rate chemistry models for LES of turbulent premixed flames[J].Flow,Turbulence and Combustion,2022,109(2):435-458.
[5] ZHANG C,WEN M H,ZHANG B,et al.A load-decouplingparallel strategy based on shared memory architecture for DSMC to simulate near-continuum gases[J].Computer Physics Communications,2022,279:108466.
[6] GIULIANI A,KRIVODONOVA L.Face coloring in unstruc-tured CFD codes[J].Parallel Computing,2017,63:17-37.
[7] WANG H,SHEEN D A.Combustion kinetic model uncertainty quantification,propagation and minimization[J].Progress in Energy and Combustion Science,2015,47:1-31.
[8] LU T,LAW C K.Toward accommodating realistic fuel chemistry in large-scale computations[J].Progress in Energy and Combustion Science,2009,35(2):192-215.
[9] DI RENZO M,FU L,URZAY J.HTR solver:An open-sourceexascale-oriented task-based multi-GPU high-order code for hypersonic aerothermodynamics[J].Computer Physics Communications,2020,255:107262.
[10] CURTIS S,WAUGH H,DEAKIN T,et al.Mini-Combust—An Open-Source Unstructured FGM Combustion Mini-App for Co-Designing Aero-Engines at Extreme Scale[C]//2024 IEEE 31st International Conference on High Performance Computing,Data,and Analytics(HiPC).IEEE,2024:199-209.
[11] URANAKARA H A,BARWEY S,PÉREZ F E H,et al.Acce-lerating turbulent reacting flow simulations on many-core/GPUs using matrix-based kinetics[J].Proceedings of the Combustion Institute,2023,39(4):5127-5136.
[12] MOURE Á,SURAPANENI A,MIRA D.Optimized workloaddistribution for GPU-accelerated combustion simulations in he-terogeneous CPU-GPU architectures[J].Computers & Fluids,2025,320:106846.
[13] RAO S,CHEN B,XU X.Heterogeneous CPU-GPU paralleliza-tion for modeling supersonic reacting flows with detailed chemical kinetics[J].Computer Physics Communications,2024,300:109188.
[14] GAO F,REN H,REN Z,et al.Massive parallel simulation of gas turbine combustion using a fully implicit unstructured solver on the heterogeneous Sunway Taihulight supercomputer[J].Journal of Parallel and Distributed Computing,2025,199:105055.
[15] WEN H,LUO F,XU S,et al.JANC:A cost-effective,differentiable compressible reacting flow solver featured with JAX-based adaptive mesh refinement[J].arXiv:2504.13750,2025.
[16] MAO R Z,LIN M Q,ZHANG Y,et al.DeepFlame:A deeplearning empowered open-source platform for reacting flow si-mulations[J].Computer Physics Communications,2023,291:108842.
[17] LIU Y,ZHOU W,YANG Y,et al.Numerical study on the instabilities in H2-air rotating detonation engines[J].Physics of Fluids,2018,30(4):046106.
[18] BUSSING T R A,MURMAN E M.Finite-volume method forthe calculation of compressible chemically reacting flows[J].AIAA Journal,1988,26(9):1070-1078.
[19] ZHANG B,WANG J H.A fraction step method based on adaptive reaction time step and its application for high-speed stiff reacting flows[J].Journal of Aeronautics,Astronautics and Aviation,2015,47(1):1-7.
[20] KÉROMNÉS A,METCALFE W K,HEUFER K A,et al.Anexperimental and detailed chemical kinetic modeling study of hydrogen and syngas mixture oxidation at elevated pressures[J].Combustion and Flame,2013,160(6):995-1011.
[21] HUGHES K J,FAIRWEATHER M,GRIFFTHS J F,et al.The application of the QSSA via reaction lumping for the reduction of complex hydrocarbon oxidation mechanisms[J].Proceedings of the Combustion Institute,2009,32(1):543-551.
[22] ZENG M,YUAN W,WANG Y,et al.Experimental and kinetic modeling study of pyrolysis and oxidation of n-decane[J].Combustion and Flame,2014,161(7):1701-1715.
[23] VIGUIER C,FIGUERIA DA SILVA L,DESBORDES D,et al.Onset of oblique detonation waves:Comparison between experimental and numerical results for hydrogen-air mixtures[C]//Symposium(International) on Combustion:vol.26:2.United States:Elsevier,1996:3023-3031.
[24] AZAD A,JACQUELIN M,BULUÇ A,et al.The reverseCuthill-McKee algorithm in distributed-memory[C]//2017 IEEE International Parallel and Distributed Processing Symposium(IPDPS).IEEE,2017:22-31.
[25] RYOO S,RODRIGUES C I,BAGHSORKHI S S,et al.Optimization principles and application performance evaluation of a multithreaded GPU using CUDA[C]//Proceedings of the 13th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming.2008:73-82.
[26] ANAND V,GUTMARK E.Rotating detonation combustors andtheir similarities to rocket instabilities[J].Progress in Ener-gy and Combustion Science,2019,73:182-234.
[27] EVANS J S,SCHEXNAYDER C J.Influence of chemical kine-tics and unmixedness on burning in supersonic hydrogen flames[J].AIAA Journal,1980,18(2):188-193.
[28] RAMAN V,PRAKASH S,GAMBA M.Nonidealities in rota-ting detonation engines[J].Annual Review of Fluid Mechanics,2023,55:639-674.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!