arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1309.2710physics.comp-ph
收藏

使用GPU加速反应流模拟中的中等刚性化学动力学

Accelerating moderately stiff chemical kinetics in reactive-flow simulations using GPUs

Kyle E Niemeyer, Chih-Jen Sung

摘要:

在GPU上使用显式积分算法求解了算子分裂反应流模拟产生的化学动力学常微分方程。使用显式五阶Runge-Kutta-Cash-Karp方法计算了氢氧化机制(9种物质和38个不可逆反应)的非刚性化学动力学,GPU加速版本的执行速度分别比单核和六核CPU版本快126和25倍,用于524,288个ODE。适度刚性动力学,表示与机制的氢/一氧化碳(13种和54个不可逆反应)和甲烷(53种和634个不可逆反应)的氧化,使用稳定的显式二阶Runge-Kutta-Chebyshev(RKC)算法计算。基于GPU的RKC实现证明了性能的近59倍和10倍的提高,对于由262,144个ODE和更大的问题大小,比使用氢/一氧化碳机制的基于单核和六核CPU的RKC算法。在甲烷机制下,RKC-GPU对于由131,072个ODE和更大的问题大小的执行速度分别比单核和六核RKC-CPU版本快65倍和11倍,并且比基于六核CPU的隐式VODE算法快57倍。在存在更严重的刚度的情况下,例如乙烯氧化(111种物质和1566个不可逆反应),RKC-GPU在六个核心上执行32,768个ODE和更大的ODE时比RKC-CPU快17倍以上,并且在六个CPU核心上执行65,536个ODE时最多比VODE快4.5倍。在更大的时间步长下,RKC-GPU在8192或更大的ODE上的性能最多比六核VODE慢2.5倍。因此,讨论了开发在GPU上集成刚性化学的新策略的必要性。

英文摘要:

The chemical kinetics ODEs arising from operator-split reactive-flow simulations were solved on GPUs using explicit integration algorithms. Nonstiff chemical kinetics of a hydrogen oxidation mechanism (9 species and 38 irreversible reactions) were computed using the explicit fifth-order Runge-Kutta-Cash-Karp method, and the GPU-accelerated version performed faster than single- and six-core CPU versions by factors of 126 and 25, respectively, for 524,288 ODEs. Moderately stiff kinetics, represented with mechanisms for hydrogen/carbon-monoxide (13 species and 54 irreversible reactions) and methane (53 species and 634 irreversible reactions) oxidation, were computed using the stabilized explicit second-order Runge-Kutta-Chebyshev (RKC) algorithm. The GPU-based RKC implementation demonstrated an increase in performance of nearly 59 and 10 times, for problem sizes consisting of 262,144 ODEs and larger, than the single- and six-core CPU-based RKC algorithms using the hydrogen/carbon-monoxide mechanism. With the methane mechanism, RKC-GPU performed more than 65 and 11 times faster, for problem sizes consisting of 131,072 ODEs and larger, than the single- and six-core RKC-CPU versions, and up to 57 times faster than the six-core CPU-based implicit VODE algorithm on 65,536 ODEs. In the presence of more severe stiffness, such as ethylene oxidation (111 species and 1566 irreversible reactions), RKC-GPU performed more than 17 times faster than RKC-CPU on six cores for 32,768 ODEs and larger, and at best 4.5 times faster than VODE on six CPU cores for 65,536 ODEs. With a larger time step size, RKC-GPU performed at best 2.5 times slower than six-core VODE for 8192 ODEs and larger. Therefore, the need for developing new strategies for integrating stiff chemistry on GPUs was discussed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑