Loading…

TChem: A performance portable parallel software toolkit for complex kinetic mechanisms

We present TChem, a performance portable software toolkit to enable the analysis of complex kinetic mechanisms. The software provides tools for gas-phase and surface chemistry, thermodynamic properties, and implements formulations for several canonical reactor models. Analytical derivatives necessar...

Full description

Saved in:
Bibliographic Details
Published in:Computer physics communications 2023-04, Vol.285, p.108628, Article 108628
Main Authors: Kim, Kyungjoo, Díaz-Ibarra, Oscar H., Najm, Habib N., Zádor, Judit, Safta, Cosmin
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:We present TChem, a performance portable software toolkit to enable the analysis of complex kinetic mechanisms. The software provides tools for gas-phase and surface chemistry, thermodynamic properties, and implements formulations for several canonical reactor models. Analytical derivatives necessary to construct Jacobian matrices corresponding to all implemented functionalities are available through automatic differentiation. TChem uses the Kokkos framework to achieve portability across multiple heterogeneous computing platforms with a single version of the code. We implement a hierarchical parallelism framework to enable efficient chemical source term and thermodynamic property evaluations over the number of samples assigned to the local computing device. We analyze parallel efficiency results extracted from test cases for thermodynamic properties, source terms, and Jacobians evaluations on Intel Xeon CPUs and NVIDIA Volta GPUs. Program Title: TChem CPC Library link to program files:https://doi.org/10.17632/25prt5g35w.1 Developer's repository link:https://github.com/sandialabs/TChem Licensing provisions: BSD 2-clause Programming language: C++ Nature of problem: TChem seeks efficient solutions of models that involve complex chemical kinetic mechanisms, which are essential for various applications areas such as combustion modeling, atmospheric chemistry and catalysis. In general, a detailed chemical kinetic mechanism involves a number of species and associated elementary reactions. The system of governing equations is typically highly non-linear and stiff, involving a large range of time scales. Solution method: TChem provides source term functions and numerical/analytic Jacobians for canonical reactor models. In particular, the analytic Jacobian is computed using automatic differentiation techniques implemented in the SACADO library. For solving stiff time ODE/DAE systems, TChem uses the Tines implementation of an adaptive 2nd-order backward difference formula to obtain efficient solutions that evolve on a range of time scales. The software employs batch parallelism to exploit massively parallel modern computing devices. Target workflows correspond to reactive flow problems or uncertainty quantification studies, which require the solutions of many samples corresponding to different grid points or input conditions. The software provides performance portable implementations aiming to use modern heterogeneous computing platforms i.e., multi/many core host pr
ISSN:0010-4655
1879-2944
DOI:10.1016/j.cpc.2022.108628