Combustion Toolbox: A MATLAB-GUI based open-source tool for solving gaseous combustion problems

Abstract

In this work, we present the development of a new thermochemical code (hereafter Combustion Toolbox, CT) that can be applied to gaseous combustion problems, even with condensed species. The kernel of the code is based in NASA’s Chemical Equilibrium with Applications (CEA) code. The corresponding thermodynamic properties of the species are modelled with the ideal gas equation of state and an up-to-date version of NASA’s 9-coefficient polynomial fits that uses the Third millenium database which includes part of the active thermochemical tables (ATcT). Combustion Toolbox is written in a modular architectural format composed of three main modules: CT-EQUIL, CT-SD and CT-ROCKET. Firstly, CT-EQUIL stems from the minimization of the Gibbs free energy of the system using Lagrange multipliers combined with a multidimensional Newton-Raphson method, upon the condition that the mixture properties are defined by two functions of states (e.g., enthalpy and pressure). Secondly, CT-SD solves processes that involve strong changes in the dynamic pressure, such as detonations and shock waves in steady state for either normal or oblique stream configurations, including regular shock reflections. Lastly, CT-ROCKET estimates rocket propellant performance in ideal conditions. The tool has been equipped with a Graphical User Interface (GUI) developed in MATLAB and has been successfully used for both teaching and research in BSc and MSc Thesis over the last three years. Results are in excellent agreement with NASA’s CEA code, CANTERA within Caltech’s Shock and Detonation Toolbox (SD-Toolbox), and TEA code. Combustion Toolbox is available under an open-source GPLv3 license via https://github.com/AlbertoCuadra/combustion_toolbox and its documentation can be found in the website https://combustion-toolbox-website.readthedocs.io.

Alberto Cuadra-Lara
Alberto Cuadra-Lara
PhD candidate at

Related