首页> 外文会议>US National Combustion Meeting >Optimizing Time Integration of Chemical-Kinetic Networks for Speed and Accuracy
【24h】

Optimizing Time Integration of Chemical-Kinetic Networks for Speed and Accuracy

机译:优化化学动力网络速度和精度的时间集成

获取原文

摘要

This paper describes enhancements to a sparse, adaptively-preconditioned, solver for chemical-kinetic ignition simulations. A concurrent submission [1] describes the adaptively preconditioned solver, showing orders of magnitude reduction in computational time for ignition delay calculations with large chemical mechanisms. Building on that solver implementation, this paper describes further improvements in three categories: 1) Fast vector exponentiation implemented in the Arrhenius and equilibrium rate constant calculations, 2) Fill-reducing matrix permutations for Jacobian factorization and back substitution, and 3) custom-code generation tailored to specific chemical mechanisms. A series of vector exponentials developed by other authors are implemented in the code and tested for speed and accuracy. The accuracy of the functions is tested against the standard library exponential function and for their affect on the accuracy of calculated ignition delay times. The fastest, high precision exponential is found to be from the Intel MKL library and provides approximately a nine times speed-up over the standard exponential on the system tested. Alternatively, an implementation with a permissive distribution license gives approximately an eight times speedup with acceptable accuracy. Fill-reducing matrix permutations are found to be an important factor governing matrix operation costs during time integration. We tested the COLAMD, MMD, Metis nested-dissection, and Reverse Cuthill-McKee methods. The SuperLU implementation of MMD was found to give the best permutations (minimizing matrix fill-in) for the chemical systems we investigated. Disabling diagonal pivoting in the permutation procedure further reduces the amount of fill-in. The custom-code generator is designed to create tailored source files for the calculation of rate constants and species production rates for chemical mechanisms. This allows an optimizing compiler to produce the most optimal machine code for a mechanism by reordering operations to increase cache locality and reduces the number of operations necessary by completely unrolling loops. Without these improvements the adaptively-preconditioned solver gives a 1600-fold reduction in computational time for ignition delay calculations with a 7172 species biodiesel mechanism (from 26 hours to under one minute). The improvements reported here provide an additional factor of two reduction in wall clock integration time for ignition delay calculations over a sweep of mechanism sizes from ten to 7172 species. For the 7172 species mechanism, ignition delay time is reduced to about 30 seconds, giving ~3000-fold speedup over the dense solver approach.
机译:本文介绍了对化学动力学点火模拟的稀疏,自适应预先说明的求解器的增强功能。并发提交[1]描述了自适应预先说明的求解器,显示了具有大化学机制的点火延迟计算的计算时间的级别降低的级。在该求解器实施的情况下,本文介绍了三类的进一步改进:1)在Arrhenius和均衡速率恒定计算中实现的快速向量指数,2)填充雅各比分解和后退替换的矩阵置换,以及3)定制码一代针对特定的化学机制量身定制。由其他作者开发的一系列矢量指数在代码中实现并进行速度和准确性测试。函数的准确性是针对标准库指数函数测试的,并对计算点火延迟时间的准确性进行影响。发现最快的高精度指数来自英特尔MKL库,并在系统上测试的标准指数上提供大约9次加速。或者,具有允许分配许可的实现,具有可接受的精度大约八次加速。发现填充减少矩阵排列是在时间集成期间控制矩阵运行成本的重要因素。我们测试了Colamd,MMD,Metis嵌套解剖,反向Cuthill-McKee方法。发现MMD的Superlu实现为我们研究的化学系统提供最佳排列(最小化矩阵填充)。在置换过程中禁用对角线枢转进一步降低了填充量。自定义代码生成器旨在为化学机制计算速率常数和物种生产率来创建量身定制的源文件。这允许优化编译器通过重新排序操作来为机制产生最佳的机器代码以增加缓存局部性并通过完全展开循环减少所需的操作数。如果没有这些改进,可自适应的预处理求解器在点火延迟计算的计算时间内减少1600倍,用7172种生物柴油机制(从26小时到1分钟)。这里报道的改进提供了在从10到7172种的机构尺寸的扫描中提供了两个壁时钟集成时间的额外因数,用于点火延迟计算。对于7172种机制,点火延迟时间减少到大约30秒,在密集的求解器方法上提供3000倍的加速。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号