Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…_toolbox into develop
  • Loading branch information
AlbertoCuadra committed Mar 6, 2023
2 parents a4a9f46 + 064e05a commit 8d1ac04
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ message: "If you use this software, please cite it using these metadata."
type: misc
license: "GPL-3.0"
title: "Combustion Toolbox: A MATLAB-GUI based open-source tool for solving gaseous combustion problems"
version: 0.9.99c
version: 0.9.99e
doi: 10.5281/zenodo.5554911
date-released: 2022-12-29
date-released: 2023-02-23
url: "https://combustion-toolbox-website.readthedocs.io"
abstract:
"
Expand Down
11 changes: 11 additions & 0 deletions DesktopToolset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<toolset id="user_apps_toolset" template="false">
<tool app_file_path="gui/combustion_toolbox_app.mlapp" handler_class="com.mathworks.deployment.desktop.toolstrip.ToolboxToolSetExtensionHandler" id="1cf6bd40-0896-49b0-957b-4fe2f3ead1fe:gui/combustion_toolbox_app.mlapp" label="Combustion Toolbox" quick_access_eligible="false" toolset_id="user_apps_toolset">
<callback>combustion_toolbox_app</callback>
<summary>Combustion Toolbox: an open source thermochemical code for solving gaseous combustion problems</summary>
<description>Combustion Toolbox (CT) is a new thermochemical code that can be used to solve gaseous combustion and related problems involving chemical equilibrium of gas- and condensed-phase species. The kernel of the code is based in NASA's computer program CEA (Chemical Equilibrium with Applications). The thermochemical properties are computed within the ideal gas approximation using an up-to-date version of NASA’s 9-coefficient polynomial fits. These fits use the Third millenium database, which include the available values from Active Thermochemical Tables. Combustion Toolbox is written in MATLAB with a modular architecture composed of three main modules: CT-EQUIL, CT-SD, CT-ROCKET. The core module, CT-EQUIL, minimizes the Gibbs/Helmholtz 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 state (e.g., enthalpy and pressure). CT-SD solves processes that involve strong changes in dynamic pressure, such as steady state shock and detonation waves in either normal or oblique stream configurations within the limits of regular shock reflections. Finally, CT-ROCKET estimates rocket propellant performance under ideal conditions. The tool has been equipped with a versatile Graphical User Interface and has been successfully used for both teaching and research activities during the last three years. Results are in excellent agreement with the CEA code, CANTERA within Caltech's Shock and Detonation Toolbox (SD-Toolbox), and the recent Thermochemical Equilibrium Abundances (TEA) code. CT is available under an open-source GPLv3 license via Github https://github.com/AlbertoCuadra/combustion_toolbox and its documentation can be found in https://combustion-toolbox-website.readthedocs.io.</description>
<icon filename="matlab_app_generic_icon_24"/>
<icon filename="matlab_app_generic_icon_16"/>
<parent_tool id="my_apps" toolset_id="apps_toolset"/>
</tool>
</toolset>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ See also the list of [contributors](https://github.com/AlbertoCuadra/combustion_
@misc{combustiontoolbox,
author = "Cuadra, A and Huete, C and Vera, M",
title = "Combustion Toolbox: A MATLAB-GUI based open-source tool for solving gaseous combustion problems",
year = 2022,
note = "Version 0.9.99c",
year = 2023,
note = "Version 0.9.99e",
doi = {https://doi.org/10.5281/zenodo.5554911}
}
```
5 changes: 2 additions & 3 deletions demos.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<demos><!--This is an autogenerated file, please do not modify-->
<name>combustion_toolbox</name>
<?xml version="1.0" encoding="utf-8"?><demos><!--This is an autogenerated file, please do not modify-->
<name>combustion_toolbox_package</name>
<type>toolbox</type>
<icon>HelpIcon.DEMOS</icon>
<website/>
Expand Down
Binary file modified gui/combustion_toolbox_app.mlapp
Binary file not shown.
Binary file removed gui/combustion_toolbox_app_resources/icon_16.png
Binary file not shown.
Binary file removed gui/combustion_toolbox_app_resources/icon_24.png
Binary file not shown.
Binary file removed gui/combustion_toolbox_app_resources/icon_48.png
Binary file not shown.
Binary file removed gui/combustion_toolbox_standalone_resources/icon.ico
Binary file not shown.
Binary file removed gui/combustion_toolbox_standalone_resources/icon_16.png
Binary file not shown.
Binary file removed gui/combustion_toolbox_standalone_resources/icon_24.png
Binary file not shown.
Binary file removed gui/combustion_toolbox_standalone_resources/icon_32.png
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion gui/utils/gui_get_reactants.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
% Get species in the mixture
species = app.UITable_R.Data(:, 1);
% Get oxidizer of reference
self = get_oxidizer_reference(self, species);
self = get_oxidizer_reference(self, species(app.ind_Oxidizer));
% Get number of moles of each species in the mixture
moles = gui_get_moles(app, event, self, FLAG_COMPUTE_FROM_PHI);
% Get temperature of the species in the mixture
Expand Down
Binary file modified installer/combustion_toolbox_app.mlappinstall
Binary file not shown.
Binary file removed installer/combustion_toolbox_package.mltbx
Binary file not shown.
Binary file modified installer/combustion_toolbox_standalone_installer.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions utils/get_combustion_toolbox_version.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function [release, date] = get_combustion_toolbox_version()
% Get Combustion Toolbox version
release = 'v0.9.99c';
date = '29 Dec 2022';
release = 'v0.9.99e';
date = '23 Feb 2023';
end
5 changes: 5 additions & 0 deletions utils/get_oxidizer_reference.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

% Unpack
if nargin > 1

if isempty(varargin{1})
return
end

LS = {}; self.PD.S_Oxidizer = {};
self.PD.S_Oxidizer(1, :) = varargin{1};
LS(1, :) = varargin{1};
Expand Down

0 comments on commit 8d1ac04

Please sign in to comment.