SlideShare a Scribd company logo
1 of 1
Download to read offline
0.5 1 1.5 2 2.5 3 3.5 4 4.5
10
-15
10
-10
10
-5
10
0
Figure 4: Variation of molar fraction with equivalence ra-
tio for lean to rich acetylene-air mixtures. Combustion-
Toolbox (line) and CEA (diamond).
Development and validation of a new
MATLAB/GUI based thermochemical code
Alberto Cuadra-Lara & Marcos Vera
Department of Thermal and Fluids Engineering, University Carlos III of Madrid
acuadra@ing.uc3m.es (ACL), marcos.vera@uc3m.es (MV)
MSC11, 11th Mediterranean Combustion Symposium
Tenerife, Spain | Jun 16-20 2019
Motivation
In a wide range of applications involving chemically reacting flows, thermochemical
calculations involving overall mass and energy balances with chemical equilibrium
are enough to estimate the overall performance of the system. This is often deter-
mined by magnitudes such as the adiabatic flame temperature or the equilibrium
composition of the products. Thermochemical codes have been developed for this
purpose dating back to the late 1940’s at the NACA Lewis Flight Propulsion Labo-
ratory, with the initial aim of evaluating rocket performance of various potential pro-
pellants. The use of thermochemical codes has been growing ever since, and today
they are basic research tools both for combustion applications and in the analysis of
the thermal decomposition of high-energy materials (HEMs), including deflagration
and detonation conditions.
Introduction
As a first step towards the development of a wider-scope thermochemical tool, in this
work we present a thermochemical code with application to gaseous combustion
problems recently implemented by the authors in MATLAB R
. The code solves six
chemical equilibrium problems (TP, HP, SP, TV, EV and SV transformations; where
T denotes temperature, P pressure, H enthalpy, S entropy, E internal energy and
V volume), incident and reflected planar shock waves, as well as ideal detonations
according to Chapman-Jouguet theory, assuming always ideal gases in all cases.
The code computes the equilibrium composition using equilibrium constants rather
than by minimization of the Gibbs–Helmholtz free energy, and employs NASA’s
9-coefficient polynomial fits to evaluate the thermodynamic properties. Along with
the plain code, the new tool has been equipped with a Graphical User Interface
(hereafter Combustion-Toolbox) developed in MATLAB R
2018 under AppDe-
signer.
Results computed with Combustion-Toolbox have been validated against, and are
in good agreement with, NASA’s Chemical Equilibrium with Applications (CEA) pro-
gram [1], CANTERA, and Caltech’s Shock and Detonation Toolbox [2]. Moreover,
the time required for the computations is comparable to that of other existing codes.
Combustion-Toolbox has teaching and research aspirations and will be distributed
as open source package as soon as it has been fully tested.
Combustion-Toolbox
Available thermochemical transformations
1. TP: equilibrium composition at defined temperature and pressure.
2. HP: adiabatic temperature and composition at constant pressure.
3. SP: isentropic compression/expansion to a specified pressure.
4. TV: equilibrium composition at defined temperature and constant volume.
5. EV: adiabatic temperature and composition at constant volume.
6. SV: isentropic compression/expansion to a specified volume.
7. SHOCK I: planar incident shock wave at normal incidence.
8. SHOCK R: planar reflected shock wave at normal incidence.
9. DET: Chapman-Jouget detonation (CJ upper state).
Database
• Employs 9-coefficient polynomial fits to evaluate the thermodynamic properties
from NASA’s thermodynamic database (2075 species) [3].
Features
• The reactant mixture is specified by fuel-air mixture, equivalence ratio, and/or the
number of moles (or mole fraction) of the different species, which can also have
different temperature.
• Parametric sweeps for different input parameters, such as the equivalence ratio φ.
• Solves both complete and incomplete (i.e., dissociation) combustion problems.
For incomplete combustion, the minor species present in the final equilibrium can
be selected at will, with some preselected subsets already defined.
• The equilibrium composition can be solved considering condensed species
(graphite so far).
• Can estimate thermal NOx for a given residence time.
• Automatic plots of the product composition and thermodynamic properties as a
function of the equivalence ratio φ.
• Detailed results reported via the MATLAB R
command window or an Excel file.
• Personalized use and modification of the plain code and routines.
• Easy access to all the results of a working session through an editable tree dia-
gram.
Algorithms
• The equilibrium composition is computed using an iterative segregated solver that
estimates first the minor species from suitable (nonlinear) equilibrium conditions
and then corrects the major species to guarantee (linear) atom conservation.
• The thermochemical transformations HP, SP, EV, and SV are computed using a
Steffensen-Aitken root-finding algorithm which employs the iterative segregated
solver.
• Incident and reflected planar shock waves, as well as ideal detonations according
to Chapman-Jouget theory, are computed using a Newton-Raphson root-finding
algorithm as [4]. It also employs the iterative segregated solver.
Figure 2: Current state of the GUI Combustion-Toolbox developed.
Results
In order to validate the model, Figure 3 shows the adiabatic
flame temperature for different fuel-air mixtures initially at
room temperature and pressure. Figure 4 shows the vari-
ation of the molar fraction of the product species with the
equivalence ratio for lean to rich acetylene-air mixtures, with
φgr =
2
x − z
x +
y
4
−
z
2
, (1)
the theoretical starting value for soot formation, and x, y, z
the number of moles of carbon, hydrogen and oxygen in the
fuel molecule, respectively. Figure 5 shows some results
(density, detonation velocity, temperature and pressure), ob-
tained from a Chapman-Jouget detonation of a ethylene-air
mixture.
All the results are in good agreement with NASA’s Chemi-
cal Equilibrium with Applications (CEA) program, CANTERA,
and Caltech’s Shock and Detonation Toolbox.
0.5 1 1.5 2 2.5 3 3.5 4 4.5
1400
1600
1800
2000
2200
2400
2600
2800
C2H2
C6H6
Lean Rich Rich-Sooting
Figure 3: Adiabatic flame temperature as a function of the
equivalence ratio for different fuel-air mixtures: acetylene
(C2H2), and benzene (C6H6). Combustion-Toolbox (line) and
CEA (diamond).
0.6 0.8 1 1.2 1.4 1.6 1.8
2
2.05
2.1
0.6 0.8 1 1.2 1.4 1.6 1.8
2
2.02
2.04
2.06
2.08
2.1
(a)
0.5 1 1.5
1500
1600
1700
1800
1900
(b)
0.5 1 1.5
2000
2200
2400
2600
2800
3000
(c)
0.6 0.8 1 1.2 1.4 1.6 1.8
12
14
16
18
20
(d)
Figure 5: Chapman-Jouget det-
onation properties for an ethylene-
air mixture initially at room tempera-
ture and pressure as a function of
the equivalence ratio: (a) density,
(b) detonation velocity, (c) tempera-
ture, (d) pressure. Results validated
with CEA (NASA) and CANTERA
with Caltech’s Shock and Detona-
tion Toolbox.
References
[1] F. J. Zeleznik and S. Gordon. Calculation of complex chemical equilibria. Industrial & Engineering Chemistry,
60 (6):27–57, 1968.
[2] S. Browne, J. Ziegler and J. E. Shepherd Shock and Detonation Toolbox. GALCIT-Explosion Dynamics
Laboratory, Pasadena, CA, 2008.
[3] B. J. McBride, M. J. Zehe and S. Gordon. NASA Glenn coefficients for calculating thermodynamic properties
of individual species, 2002.
[4] S. Browne, J. Ziegler and J. E. Shepherd. Numerical solution methods for shock and detonation jump
conditions. Energy Conservation, 1 (w2), 2004.

More Related Content

What's hot

306996 u14 principles_and_applications_of_thermodynamics
306996 u14 principles_and_applications_of_thermodynamics306996 u14 principles_and_applications_of_thermodynamics
306996 u14 principles_and_applications_of_thermodynamics
Mahabub Hasan
 
DAAD RISE Asepn Custom Reactor Final Summary
DAAD RISE Asepn Custom Reactor Final SummaryDAAD RISE Asepn Custom Reactor Final Summary
DAAD RISE Asepn Custom Reactor Final Summary
Kyle Mattson, EIT
 
heat capacity of sitric acid0c96051e8eb63eea58000000
heat capacity of sitric acid0c96051e8eb63eea58000000heat capacity of sitric acid0c96051e8eb63eea58000000
heat capacity of sitric acid0c96051e8eb63eea58000000
Tika Ningsih
 
Lecture 1 Introduction And Chapter 1 From Levenspiel
Lecture 1  Introduction And Chapter 1 From LevenspielLecture 1  Introduction And Chapter 1 From Levenspiel
Lecture 1 Introduction And Chapter 1 From Levenspiel
Muhammad Zafar Iqbal
 
ThesisArticle_PedroRainho
ThesisArticle_PedroRainhoThesisArticle_PedroRainho
ThesisArticle_PedroRainho
Pedro Rainho
 

What's hot (20)

Auto catalytic reactions presentation
Auto catalytic reactions presentationAuto catalytic reactions presentation
Auto catalytic reactions presentation
 
306996 u14 principles_and_applications_of_thermodynamics
306996 u14 principles_and_applications_of_thermodynamics306996 u14 principles_and_applications_of_thermodynamics
306996 u14 principles_and_applications_of_thermodynamics
 
Reactor Design 3
Reactor Design 3Reactor Design 3
Reactor Design 3
 
Mathematical modeling of continuous stirred tank reactor systems (cstr)
Mathematical modeling of continuous stirred tank reactor systems (cstr)Mathematical modeling of continuous stirred tank reactor systems (cstr)
Mathematical modeling of continuous stirred tank reactor systems (cstr)
 
DAAD RISE Asepn Custom Reactor Final Summary
DAAD RISE Asepn Custom Reactor Final SummaryDAAD RISE Asepn Custom Reactor Final Summary
DAAD RISE Asepn Custom Reactor Final Summary
 
heat capacity of sitric acid0c96051e8eb63eea58000000
heat capacity of sitric acid0c96051e8eb63eea58000000heat capacity of sitric acid0c96051e8eb63eea58000000
heat capacity of sitric acid0c96051e8eb63eea58000000
 
Jamshaid ppt
Jamshaid pptJamshaid ppt
Jamshaid ppt
 
prosess model for series of isothermal constant holdup CSTR.
prosess model for series of isothermal constant holdup CSTR.prosess model for series of isothermal constant holdup CSTR.
prosess model for series of isothermal constant holdup CSTR.
 
L3b reactor sizing example problems
L3b reactor sizing example problemsL3b reactor sizing example problems
L3b reactor sizing example problems
 
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-ExceShortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
 
Space time and Space velocity, CSTR
Space time and Space velocity, CSTRSpace time and Space velocity, CSTR
Space time and Space velocity, CSTR
 
Tanner LAB B rough
Tanner LAB B roughTanner LAB B rough
Tanner LAB B rough
 
Fluhe 39
Fluhe 39Fluhe 39
Fluhe 39
 
Ascoli et al. 2014 ICFFR
Ascoli et al. 2014 ICFFRAscoli et al. 2014 ICFFR
Ascoli et al. 2014 ICFFR
 
Lecture 1 Introduction And Chapter 1 From Levenspiel
Lecture 1  Introduction And Chapter 1 From LevenspielLecture 1  Introduction And Chapter 1 From Levenspiel
Lecture 1 Introduction And Chapter 1 From Levenspiel
 
Auto catalytic reactions presentation
Auto catalytic reactions presentationAuto catalytic reactions presentation
Auto catalytic reactions presentation
 
Final Report 4_22_15
Final Report 4_22_15Final Report 4_22_15
Final Report 4_22_15
 
Chem 2 - Chemical Kinetics IV: The First-Order Integrated Rate Law
Chem 2 - Chemical Kinetics IV: The First-Order Integrated Rate LawChem 2 - Chemical Kinetics IV: The First-Order Integrated Rate Law
Chem 2 - Chemical Kinetics IV: The First-Order Integrated Rate Law
 
ThesisArticle_PedroRainho
ThesisArticle_PedroRainhoThesisArticle_PedroRainho
ThesisArticle_PedroRainho
 
IA on effect of temperature of NaOH on the rate of hydrogen production, and f...
IA on effect of temperature of NaOH on the rate of hydrogen production, and f...IA on effect of temperature of NaOH on the rate of hydrogen production, and f...
IA on effect of temperature of NaOH on the rate of hydrogen production, and f...
 

Similar to Poster MSC11 Jun 2019

Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
Arash Nasiri
 

Similar to Poster MSC11 Jun 2019 (20)

Computer & Computation
 Computer & Computation Computer & Computation
Computer & Computation
 
Modeling and simulation of temperature profiles in a reactive
Modeling and simulation of temperature profiles in a reactiveModeling and simulation of temperature profiles in a reactive
Modeling and simulation of temperature profiles in a reactive
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
FUZZY LOGIC Control of CONTINUOUS STIRRED TANK REACTOR
FUZZY LOGIC Control  of CONTINUOUS STIRRED TANK REACTOR FUZZY LOGIC Control  of CONTINUOUS STIRRED TANK REACTOR
FUZZY LOGIC Control of CONTINUOUS STIRRED TANK REACTOR
 
computation-08-00086.pdf
computation-08-00086.pdfcomputation-08-00086.pdf
computation-08-00086.pdf
 
A05v24n4
A05v24n4A05v24n4
A05v24n4
 
TYC
TYCTYC
TYC
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
 
Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...
 
Using aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptxUsing aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptx
 
Presentation
PresentationPresentation
Presentation
 
Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
Simultaneousnonlinear two dimensional modeling of tubular reactor of hydrogen...
 
Preprints201704.0137.v1
Preprints201704.0137.v1Preprints201704.0137.v1
Preprints201704.0137.v1
 
Kinetic_analysis_of_data_generated_by_thermal_method
Kinetic_analysis_of_data_generated_by_thermal_methodKinetic_analysis_of_data_generated_by_thermal_method
Kinetic_analysis_of_data_generated_by_thermal_method
 
Karimanal thrml co_design_itherm2010_final
Karimanal thrml co_design_itherm2010_finalKarimanal thrml co_design_itherm2010_final
Karimanal thrml co_design_itherm2010_final
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPC
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPC
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Thermal aware task assignment for multicore processors using genetic algorithm
Thermal aware task assignment for multicore processors using genetic algorithm Thermal aware task assignment for multicore processors using genetic algorithm
Thermal aware task assignment for multicore processors using genetic algorithm
 

More from Alberto Cuadra Lara

Masters thesis Alberto Cuadra Lara
Masters thesis Alberto Cuadra LaraMasters thesis Alberto Cuadra Lara
Masters thesis Alberto Cuadra Lara
Alberto Cuadra Lara
 

More from Alberto Cuadra Lara (6)

Turbulence generation by planar detonations in heterogeneous mixtures
Turbulence generation by planar detonations in heterogeneous mixturesTurbulence generation by planar detonations in heterogeneous mixtures
Turbulence generation by planar detonations in heterogeneous mixtures
 
Slides Workshop on Fluid Dynamics 2019
Slides Workshop on Fluid Dynamics 2019Slides Workshop on Fluid Dynamics 2019
Slides Workshop on Fluid Dynamics 2019
 
Slides Masters thesis Alberto Cuadra Lara
Slides Masters thesis Alberto Cuadra LaraSlides Masters thesis Alberto Cuadra Lara
Slides Masters thesis Alberto Cuadra Lara
 
Masters thesis Alberto Cuadra Lara
Masters thesis Alberto Cuadra LaraMasters thesis Alberto Cuadra Lara
Masters thesis Alberto Cuadra Lara
 
Presentación - Simulación numérica de una llama de difusión con un coflujo ax...
Presentación - Simulación numérica de una llama de difusión con un coflujo ax...Presentación - Simulación numérica de una llama de difusión con un coflujo ax...
Presentación - Simulación numérica de una llama de difusión con un coflujo ax...
 
Simulación numérica de una llama de difusión con un coflujo axial mediante AN...
Simulación numérica de una llama de difusión con un coflujo axial mediante AN...Simulación numérica de una llama de difusión con un coflujo axial mediante AN...
Simulación numérica de una llama de difusión con un coflujo axial mediante AN...
 

Recently uploaded

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 

Recently uploaded (20)

Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 

Poster MSC11 Jun 2019

  • 1. 0.5 1 1.5 2 2.5 3 3.5 4 4.5 10 -15 10 -10 10 -5 10 0 Figure 4: Variation of molar fraction with equivalence ra- tio for lean to rich acetylene-air mixtures. Combustion- Toolbox (line) and CEA (diamond). Development and validation of a new MATLAB/GUI based thermochemical code Alberto Cuadra-Lara & Marcos Vera Department of Thermal and Fluids Engineering, University Carlos III of Madrid acuadra@ing.uc3m.es (ACL), marcos.vera@uc3m.es (MV) MSC11, 11th Mediterranean Combustion Symposium Tenerife, Spain | Jun 16-20 2019 Motivation In a wide range of applications involving chemically reacting flows, thermochemical calculations involving overall mass and energy balances with chemical equilibrium are enough to estimate the overall performance of the system. This is often deter- mined by magnitudes such as the adiabatic flame temperature or the equilibrium composition of the products. Thermochemical codes have been developed for this purpose dating back to the late 1940’s at the NACA Lewis Flight Propulsion Labo- ratory, with the initial aim of evaluating rocket performance of various potential pro- pellants. The use of thermochemical codes has been growing ever since, and today they are basic research tools both for combustion applications and in the analysis of the thermal decomposition of high-energy materials (HEMs), including deflagration and detonation conditions. Introduction As a first step towards the development of a wider-scope thermochemical tool, in this work we present a thermochemical code with application to gaseous combustion problems recently implemented by the authors in MATLAB R . The code solves six chemical equilibrium problems (TP, HP, SP, TV, EV and SV transformations; where T denotes temperature, P pressure, H enthalpy, S entropy, E internal energy and V volume), incident and reflected planar shock waves, as well as ideal detonations according to Chapman-Jouguet theory, assuming always ideal gases in all cases. The code computes the equilibrium composition using equilibrium constants rather than by minimization of the Gibbs–Helmholtz free energy, and employs NASA’s 9-coefficient polynomial fits to evaluate the thermodynamic properties. Along with the plain code, the new tool has been equipped with a Graphical User Interface (hereafter Combustion-Toolbox) developed in MATLAB R 2018 under AppDe- signer. Results computed with Combustion-Toolbox have been validated against, and are in good agreement with, NASA’s Chemical Equilibrium with Applications (CEA) pro- gram [1], CANTERA, and Caltech’s Shock and Detonation Toolbox [2]. Moreover, the time required for the computations is comparable to that of other existing codes. Combustion-Toolbox has teaching and research aspirations and will be distributed as open source package as soon as it has been fully tested. Combustion-Toolbox Available thermochemical transformations 1. TP: equilibrium composition at defined temperature and pressure. 2. HP: adiabatic temperature and composition at constant pressure. 3. SP: isentropic compression/expansion to a specified pressure. 4. TV: equilibrium composition at defined temperature and constant volume. 5. EV: adiabatic temperature and composition at constant volume. 6. SV: isentropic compression/expansion to a specified volume. 7. SHOCK I: planar incident shock wave at normal incidence. 8. SHOCK R: planar reflected shock wave at normal incidence. 9. DET: Chapman-Jouget detonation (CJ upper state). Database • Employs 9-coefficient polynomial fits to evaluate the thermodynamic properties from NASA’s thermodynamic database (2075 species) [3]. Features • The reactant mixture is specified by fuel-air mixture, equivalence ratio, and/or the number of moles (or mole fraction) of the different species, which can also have different temperature. • Parametric sweeps for different input parameters, such as the equivalence ratio φ. • Solves both complete and incomplete (i.e., dissociation) combustion problems. For incomplete combustion, the minor species present in the final equilibrium can be selected at will, with some preselected subsets already defined. • The equilibrium composition can be solved considering condensed species (graphite so far). • Can estimate thermal NOx for a given residence time. • Automatic plots of the product composition and thermodynamic properties as a function of the equivalence ratio φ. • Detailed results reported via the MATLAB R command window or an Excel file. • Personalized use and modification of the plain code and routines. • Easy access to all the results of a working session through an editable tree dia- gram. Algorithms • The equilibrium composition is computed using an iterative segregated solver that estimates first the minor species from suitable (nonlinear) equilibrium conditions and then corrects the major species to guarantee (linear) atom conservation. • The thermochemical transformations HP, SP, EV, and SV are computed using a Steffensen-Aitken root-finding algorithm which employs the iterative segregated solver. • Incident and reflected planar shock waves, as well as ideal detonations according to Chapman-Jouget theory, are computed using a Newton-Raphson root-finding algorithm as [4]. It also employs the iterative segregated solver. Figure 2: Current state of the GUI Combustion-Toolbox developed. Results In order to validate the model, Figure 3 shows the adiabatic flame temperature for different fuel-air mixtures initially at room temperature and pressure. Figure 4 shows the vari- ation of the molar fraction of the product species with the equivalence ratio for lean to rich acetylene-air mixtures, with φgr = 2 x − z x + y 4 − z 2 , (1) the theoretical starting value for soot formation, and x, y, z the number of moles of carbon, hydrogen and oxygen in the fuel molecule, respectively. Figure 5 shows some results (density, detonation velocity, temperature and pressure), ob- tained from a Chapman-Jouget detonation of a ethylene-air mixture. All the results are in good agreement with NASA’s Chemi- cal Equilibrium with Applications (CEA) program, CANTERA, and Caltech’s Shock and Detonation Toolbox. 0.5 1 1.5 2 2.5 3 3.5 4 4.5 1400 1600 1800 2000 2200 2400 2600 2800 C2H2 C6H6 Lean Rich Rich-Sooting Figure 3: Adiabatic flame temperature as a function of the equivalence ratio for different fuel-air mixtures: acetylene (C2H2), and benzene (C6H6). Combustion-Toolbox (line) and CEA (diamond). 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.05 2.1 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.02 2.04 2.06 2.08 2.1 (a) 0.5 1 1.5 1500 1600 1700 1800 1900 (b) 0.5 1 1.5 2000 2200 2400 2600 2800 3000 (c) 0.6 0.8 1 1.2 1.4 1.6 1.8 12 14 16 18 20 (d) Figure 5: Chapman-Jouget det- onation properties for an ethylene- air mixture initially at room tempera- ture and pressure as a function of the equivalence ratio: (a) density, (b) detonation velocity, (c) tempera- ture, (d) pressure. Results validated with CEA (NASA) and CANTERA with Caltech’s Shock and Detona- tion Toolbox. References [1] F. J. Zeleznik and S. Gordon. Calculation of complex chemical equilibria. Industrial & Engineering Chemistry, 60 (6):27–57, 1968. [2] S. Browne, J. Ziegler and J. E. Shepherd Shock and Detonation Toolbox. GALCIT-Explosion Dynamics Laboratory, Pasadena, CA, 2008. [3] B. J. McBride, M. J. Zehe and S. Gordon. NASA Glenn coefficients for calculating thermodynamic properties of individual species, 2002. [4] S. Browne, J. Ziegler and J. E. Shepherd. Numerical solution methods for shock and detonation jump conditions. Energy Conservation, 1 (w2), 2004.