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

用矢量化化学积分加速反应流模拟

Accelerating reactive-flow simulations using vectorized chemistry integration

Nicholas J. Curtis, Kyle E. Niemeyer, Chih-Jen Sung

摘要:

化学积分的高成本是使用算子分裂的真实反应流模拟的重要计算瓶颈。在这里,我们提出了一种方法来加速化学动力学常微分方程的解决方案,使用单指令,多数据向量处理的CPU上使用OpenCL框架。首先,我们比较了几个矢量化的积分算法,使用化学动力学源项和分析雅可比矩阵从pyJac软件对广泛使用的集成代码,CVODEs。接下来,我们扩展了OpenFOAM计算流体动力学库,以纳入矢量化求解器,并将四阶线性隐式积分器的精度-矢量化形式和OpenFOAM本地的相应方法-与社区标准化学动力学库Cantera进行了比较。然后,我们将我们的方法应用于各种化学动力学模型,湍流强度和模拟尺度,以研究一系列工程和科学规模的问题,包括(伪)稳态以及时间依赖的雷诺平均Navier-Stokes模拟的桑迪亚火焰D和沃尔沃Flygmotor钝体稳定,预混火焰。随后,我们比较了矢量化和原生OpenFOAM积分器在所研究的模型和模拟上的性能,发现我们的矢量化方法比原生OpenFOAM求解器快33- 35倍,具有高精度。

英文摘要:

The high cost of chemistry integration is a significant computational bottleneck for realistic reactive-flow simulations using operator splitting. Here we present a methodology to accelerate the solution of the chemical kinetic ordinary differential equations using single-instruction, multiple-data vector processing on CPUs using the OpenCL framework. First, we compared several vectorized integration algorithms using chemical kinetic source terms and analytical Jacobians from the pyJac software against a widely used integration code, CVODEs. Next, we extended the OpenFOAM computational fluid dynamics library to incorporate the vectorized solvers, and we compared the accuracy of a fourth-order linearly implicit integrator -- both in vectorized form and a corresponding method native to OpenFOAM -- with the community standard chemical kinetics library Cantera. We then applied our methodology to a variety of chemical kinetic models, turbulent intensities, and simulation scales to examine a range of engineering and scientific scale problems, including (pseudo) steady-state as well as time-dependent Reynolds-averaged Navier--Stokes simulations of the Sandia flame D and the Volvo Flygmotor bluff-body stabilized, premixed flame. Subsequently, we compared the performance of the vectorized and native OpenFOAM integrators over the studied models and simulations and found that our vectorized approach performs up to 33--35x faster than the native OpenFOAM solver with high accuracy.

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

↑