Malik Hassanaly , Nicholas T. Wimer , Anne Felden , Lucas Esclapez , Julia Ream , Marc T. Henry de Frahan , Jon Rood , Marc Day
{"title":"面向超大规模计算平台的准稳态(QSS)化学雅各布函数的符号构建","authors":"Malik Hassanaly , Nicholas T. Wimer , Anne Felden , Lucas Esclapez , Julia Ream , Marc T. Henry de Frahan , Jon Rood , Marc Day","doi":"10.1016/j.combustflame.2024.113740","DOIUrl":null,"url":null,"abstract":"<div><p>The Quasi-Steady State Approximation (QSSA) can be an effective tool for reducing the size and stiffness of chemical mechanisms for implementation in computational reacting flow solvers. However, for many applications, the resulting model still requires implicit methods for efficient time integration. In this paper, we outline an approach to formulating the QSSA reduction that is coupled with a strategy to generate C++ source code to evaluate the net species production rates, and the chemical Jacobian. The code-generation component employs a symbolic approach enabling a simple and effective strategy to analytically compute the chemical Jacobian. For computational tractability, the symbolic approach needs to be paired with common subexpression elimination which can negatively affect memory usage. Several solutions are outlined and successfully tested on a 3D multipulse ignition problem, thus allowing portable application across chemical model sizes and GPU capabilities. The implementation of the proposed method is available at <span><span>https://github.com/AMReX-Combustion/PelePhysics</span><svg><path></path></svg></span> under an open-source license.</p><p><strong>Novelty and Significance</strong></p><p>A symbolic method is proposed to write analytical chemical Jacobians. The benefit of the symbolic method is that it is easy to implement and flexible to any elementary reaction type. Its benefit is shown in the context of QSS-reduced chemistries: there, constructing an analytical chemical Jacobian is complex since one must include the effect of traditional elementary reactions and algebraic closure for the QSS species. To the authors’ knowledge, there is no open-source package available to construct analytical Jacobians of QSS-reduced chemistries. We expect this work to facilitate the use of analytical Jacobians in arbitrarily complex chemical mechanisms. The proposed method was integrated into an open-source suite of reacting flow solvers <span><span>https://github.com/AMReX-Combustion/PelePhysics</span><svg><path></path></svg></span> to facilitate its dissemination.</p></div>","PeriodicalId":280,"journal":{"name":"Combustion and Flame","volume":"270 ","pages":"Article 113740"},"PeriodicalIF":5.8000,"publicationDate":"2024-09-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Symbolic construction of the chemical Jacobian of quasi-steady state (QSS) chemistries for Exascale computing platforms\",\"authors\":\"Malik Hassanaly , Nicholas T. Wimer , Anne Felden , Lucas Esclapez , Julia Ream , Marc T. Henry de Frahan , Jon Rood , Marc Day\",\"doi\":\"10.1016/j.combustflame.2024.113740\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>The Quasi-Steady State Approximation (QSSA) can be an effective tool for reducing the size and stiffness of chemical mechanisms for implementation in computational reacting flow solvers. However, for many applications, the resulting model still requires implicit methods for efficient time integration. In this paper, we outline an approach to formulating the QSSA reduction that is coupled with a strategy to generate C++ source code to evaluate the net species production rates, and the chemical Jacobian. The code-generation component employs a symbolic approach enabling a simple and effective strategy to analytically compute the chemical Jacobian. For computational tractability, the symbolic approach needs to be paired with common subexpression elimination which can negatively affect memory usage. Several solutions are outlined and successfully tested on a 3D multipulse ignition problem, thus allowing portable application across chemical model sizes and GPU capabilities. The implementation of the proposed method is available at <span><span>https://github.com/AMReX-Combustion/PelePhysics</span><svg><path></path></svg></span> under an open-source license.</p><p><strong>Novelty and Significance</strong></p><p>A symbolic method is proposed to write analytical chemical Jacobians. The benefit of the symbolic method is that it is easy to implement and flexible to any elementary reaction type. Its benefit is shown in the context of QSS-reduced chemistries: there, constructing an analytical chemical Jacobian is complex since one must include the effect of traditional elementary reactions and algebraic closure for the QSS species. To the authors’ knowledge, there is no open-source package available to construct analytical Jacobians of QSS-reduced chemistries. We expect this work to facilitate the use of analytical Jacobians in arbitrarily complex chemical mechanisms. The proposed method was integrated into an open-source suite of reacting flow solvers <span><span>https://github.com/AMReX-Combustion/PelePhysics</span><svg><path></path></svg></span> to facilitate its dissemination.</p></div>\",\"PeriodicalId\":280,\"journal\":{\"name\":\"Combustion and Flame\",\"volume\":\"270 \",\"pages\":\"Article 113740\"},\"PeriodicalIF\":5.8000,\"publicationDate\":\"2024-09-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Combustion and Flame\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0010218024004498\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"ENERGY & FUELS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Combustion and Flame","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010218024004498","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
Symbolic construction of the chemical Jacobian of quasi-steady state (QSS) chemistries for Exascale computing platforms
The Quasi-Steady State Approximation (QSSA) can be an effective tool for reducing the size and stiffness of chemical mechanisms for implementation in computational reacting flow solvers. However, for many applications, the resulting model still requires implicit methods for efficient time integration. In this paper, we outline an approach to formulating the QSSA reduction that is coupled with a strategy to generate C++ source code to evaluate the net species production rates, and the chemical Jacobian. The code-generation component employs a symbolic approach enabling a simple and effective strategy to analytically compute the chemical Jacobian. For computational tractability, the symbolic approach needs to be paired with common subexpression elimination which can negatively affect memory usage. Several solutions are outlined and successfully tested on a 3D multipulse ignition problem, thus allowing portable application across chemical model sizes and GPU capabilities. The implementation of the proposed method is available at https://github.com/AMReX-Combustion/PelePhysics under an open-source license.
Novelty and Significance
A symbolic method is proposed to write analytical chemical Jacobians. The benefit of the symbolic method is that it is easy to implement and flexible to any elementary reaction type. Its benefit is shown in the context of QSS-reduced chemistries: there, constructing an analytical chemical Jacobian is complex since one must include the effect of traditional elementary reactions and algebraic closure for the QSS species. To the authors’ knowledge, there is no open-source package available to construct analytical Jacobians of QSS-reduced chemistries. We expect this work to facilitate the use of analytical Jacobians in arbitrarily complex chemical mechanisms. The proposed method was integrated into an open-source suite of reacting flow solvers https://github.com/AMReX-Combustion/PelePhysics to facilitate its dissemination.
期刊介绍:
The mission of the journal is to publish high quality work from experimental, theoretical, and computational investigations on the fundamentals of combustion phenomena and closely allied matters. While submissions in all pertinent areas are welcomed, past and recent focus of the journal has been on:
Development and validation of reaction kinetics, reduction of reaction mechanisms and modeling of combustion systems, including:
Conventional, alternative and surrogate fuels;
Pollutants;
Particulate and aerosol formation and abatement;
Heterogeneous processes.
Experimental, theoretical, and computational studies of laminar and turbulent combustion phenomena, including:
Premixed and non-premixed flames;
Ignition and extinction phenomena;
Flame propagation;
Flame structure;
Instabilities and swirl;
Flame spread;
Multi-phase reactants.
Advances in diagnostic and computational methods in combustion, including:
Measurement and simulation of scalar and vector properties;
Novel techniques;
State-of-the art applications.
Fundamental investigations of combustion technologies and systems, including:
Internal combustion engines;
Gas turbines;
Small- and large-scale stationary combustion and power generation;
Catalytic combustion;
Combustion synthesis;
Combustion under extreme conditions;
New concepts.