ABSTRACT
Modeling of the internal flow of a nozzle is a vital step in the design of a rocket engine. This study focuses on providing an in-depth examination of a thermochemical rocket engine’s operation through chemical equilibrium. The computation extends to cover both gaseous and condensed species, as well as phase transitions, offering a comprehensive understanding of the engine’s behavior. Notably, this research introduces the ability to freeze the composition at any chosen point within the nozzle, allowing for tailored modeling to specific engine conditions and enhancing its versatility as a tool for analysis and design. Moreover, the study takes an additional step by calculating the transport properties along the nozzle. Special note is made of the difference between equilibrium and frozen variables. By integrating equilibrium composition, condensed species, and transport properties, this research exemplifies a holistic approach to analyzing and optimizing the performance of thermochemical rocket engines, with several illustrative examples showcasing the capabilities of the program.
Keywords
Chemical equilibrium; Rocket engine design; Internal flow; Rocket nozzles; Transport properties
INTRODUCTION
Rocket engines, crucial for space exploration and aerospace advancement, rely on chemical reactions to generate thrust. These reactions occur under extreme conditions of temperature and pressure, as well as carefully selected fuel-to-oxidizer ratios. To understand and optimize these engines, it is common to use equilibrium composition calculations, as the residence time of the gases within the chamber is typically much longer than the characteristic chemical reaction times. In the context of rocket propulsion, the utilization of equilibrium composition calculations within the combustion chamber, followed by dynamic equilibrium calculations in the nozzle, stems from the inherent differences in flow conditions and timescales encountered within these two regions of the engine.
As the hot gases exit the combustion chamber and enter the nozzle, they experience a gradual drop in pressure and temperature. In spite of this, for many engines, the residence time in the nozzle is still relatively long compared to the chemical reaction time. Therefore, equilibrium calculations continue to be applicable as the composition adjusts to the new thermodynamic conditions. However, as the gases continue to expand in the nozzle, there comes a point where the changes in temperature and pressure happen so rapidly that chemical reaction rates are unable to keep up. The temperature drops significantly, causing the reactions to essentially “freeze” or become negligible. At this stage, the assumption of “frozen flow” is adopted for simplification, as chemical reactions are considered nearly stopped in the simulation model.
Since equilibrium composition calculations are essential blueprints for rocket engine design, they need to be performed from a very early design stage. They provide a scientific foundation to comprehend how variations in parameters such as temperature, pressure, and fuel-oxidizer ratio affect the composition of combustion products. Consequently, the use of complex CFD tools is not a viable option due to their long setup and computation times. Therefore, software such as the one developed, capable of simulating the internal flow of the engine in less than a second, proves to be a great advantage.
At the beginning of the 1950s, the calculation approaches were based on the method of equilibrium constants that Brinkley (1947) adapted for the computation of systems with a high number of components. The method is direct and intuitive and was improved over the years by making it more robust, as, for example, shown in Villars (1959). Other improvements focused on calculation speed, such as the one presented by Smith and Missen (1968). At this point in time, the first works in the NACA Lewis FPL were published. This included pioneering work in the calculation of equilibrium composition by Morrell (1951). Furthermore, useful databases were established for the thermophysical properties of the components by Huff and Gordon (1950), all collected in the NACA Report 1037 by Huff et al. (1951). Further advancements throughout the decade include the improvement of the calculation process by Zeleznik and Gordon (1960), tabulation of thermodynamic data by Zeleznik and Gordon (1962a; b), and the incorporation of the equilibrium composition model into calculation processes of aeronautical interest, such as Zeleznik and Gordon (1962a; b). There were also additional efforts made by other agents and institutions, such as Rocketdyne (a division created by North American Aviation in those years), where new formulations of solid propellant were developed by Morgan et al. (1956). The development used novel methods to determine the specific impulse, which did not always consist of strict calculations of the equilibrium composition.
In this work, a new freely accessible software (ODEKO) was developed. It is capable of simulating the internal flow of chemical rocket engines through chemical equilibrium and/or frozen flow. Compared to existing software, it adds the capability to switch between “equilibrium” and “frozen” computation at any point of the nozzle. Moreover, it gives the thermodynamic and transport properties for all points of the nozzle, allowing the user to choose whether “frozen” or “equilibrium” variables should be displayed.
Firstly, a summary of other existing software for the simulation of chemical equilibrium will be presented. Subsequently, the theory behind equilibrium calculations will be explained in the next section, with emphasis on the computation of phase changes. Afterwards, the difference between “frozen” and “equilibrium” thermodynamic and transport properties will be shown along with the equations required for their computation. The specifics of the application for rocket engines will be highlighted next. Lastly, results obtained with the developed software will be presented, to exemplify the effects of equilibrium or frozen simulations. The conclusion to this work is given in the last section.
Revision of equilibrium composition codes
In the mid-20th century, in the early days of rocket engine development, interest sparked in the creation of reliable and accurate procedures to calculate the propulsive characteristics of thermochemical rocket engines. The first difficulties were noticed early on. The first challenge was to develop flexible and general calculation procedures that would allow the inclusion of an arbitrary number of species. An additional challenge, and no less important, was to have thermophysical data of the species in the range of temperatures of interest. The best-known effort in this regard is that of the researchers of the National Aeronautics and Space Administration (NASA) Glenn Research Center (which in those years was called the National Advisory Committee for Aeronautics [NACA] Lewis Flight Propulsion Laboratory), who for 30 years developed one of the best-known and longest-lived computer codes of aerospace engineering. Currently, the program is called Chemical Equilibrium with Applications (CEA), and the latest updates are from Gordon and McBride (1994) and from McBride and Gordon (1996).
At the same time, in the late 1950s, the Naval Weapons Center at China Lake began the development of an equilibrium composition calculation code (Browne et al. 1960; Cruise 1964; 1979). The program was initially called Propellant Evaluation Program (PEP), and numerous revisions such as Brown (1995), Dobbs and Grubelich (2001), and adaptations that reach our days (Cooper 2016) have been derived in various forms useful for research and amateur rocketry. The equilibrium constants method consists of a variable number of equations and generates a nonlinear system, which is difficult to handle. The difficulties of providing an initial solution, the need for convergence acceleration methods, and the inclusion of condensed species present a number of complications that were detrimental to the robustness and reliability of the calculations. In White et al. (1958), it is proposed to use the Gibbs free energy minimization method to compute the equilibrium composition. This approach is very successful as it is not necessary to have an explicit list of chemical reactions, sufficing with a list of substances. Additionally, the problems of interest are generally dealt with successfully, even with condensed species. For this reason, most initiatives since then use this method and only some older codes, or codes derived from them, retain formulations based on equilibrium constants. Typically, these latter programs address very specific problems of internal ballistics of gun propellants. The computer code that gave rise to NASA Glenn’s CEA was rewritten to use the Gibbs’ free energy minimization method to compute equilibrium composition, based on the developments of White et al. (1958), whose results were described by Zeleznik and Gordon (1960).
The development of the CEA code spans 30 years. At the end of the 1950s, the first codes were written, which used the calculation of equilibrium composition to obtain the propulsive properties of a rocket (Gordon et al. 1959). This program was improved during the 1960s in Gordon and Zeleznik (1962; 1963) and Zeleznik and Gordon (1962a; 1968), enhancing polynomial adjustments of thermodynamic properties, adding practical applications, making comparative studies on resolution methods, and including the case of Chapman-Jouguet detonations. This code used a modified version of the iteration procedure for chemical equilibrium that required no special initial estimates for composition, constraints on mass balance, or equilibrium ratios during iterations, as described in Huff et al. (1951). This was the first widely distributed version of the Lewis chemical equilibrium code (CEC). As the reliability and accuracy of the results obtained with the code depended in depth on the thermodynamic data used, much work was always invested in improving and updating the thermophysical data of the substances used (McBride et al. 1963; McBride and Gordon 1961).
Subsequently, McBride and Gordon (1967) consolidated and documented the computer codes used to calculate and fit thermodynamic data into a single code, called PAC1. During the 1960s, the rewriting of the equilibrium composition calculation program was tackled. The resulting code was called CEC (Gordon and McBride 1976) and was widely distributed. The iterative equations used to obtain equilibrium compositions were derived from the minimization of the Gibbs function. This version did not yet include the calculation of transport and finite area properties. The next version of the code was called CET (McBride et al. 1993) and was widely distributed, constituting one of the most cited versions. Nevertheless, the current version, and the one used nowadays, is called CEA (Gordon and McBride 1994; McBride and Gordon 1996). The employed methodology has proved to be very robust and fruitful, and it has been used in the creation of numerous applications for the analysis of thermochemical engines, as in Filipović and Kilibarda (2000; 2001). For the analysis of solid propellant rocket engines, Terzic et al. (2010) propose a set of applications that compute equilibrium composition by minimizing Gibbs free energy.
There are a number of programs with diverse capabilities that provide the equilibrium composition of reactive mixtures. Often, such programs are oriented toward the internal ballistics of propellants and explosives, requiring them to give reliable data at high pressures and temperatures. The REAL program, written by Belov (1998), obtains the composition under the condition of maximum entropy and can work with several equations of state that take into account real effects due to high pressures. Another example is the KHT code, written by Tanaka (1986), whose use is specifically oriented to the analysis of detonations. Based on the work of NASA Lewis, with the method of mass action, the ICT program was developed by Terzic et al. (2010), using the minimization of Gibbs free energy. It ended up becoming a general-purpose program (Noläng 1983) called EKVI-System. Another code with similar functions is BLAKE (Freedman 1973; 1982; 1998), which allows the use of virial equations and is based on TIGER (Wieberson et al. 1968). Further examples include the program CERV (Wong et al. 2004), which deals with complex mixtures, minimizing the Gibbs energy but using reaction variables. The TIGER code was originally developed at the Stanford Research Institute by Wieberson et al. (1968), for the calculation of equilibrium composition with heterogeneous mixtures and arbitrary equations of state, based on the theoretical development by Brinkley (1947). Further developments of the program can be found in Cowperthwaite and Zwisler (1974; 1982). As TIGER initially allowed the use of any equation of state, it facilitated the writing of BLAKE using a modified virial equation, meant to be used in internal ballistics calculations of military propellants. In principle, TIGER is a program meant for the calculation of composition and properties of detonations. On the other hand, BLAKE specializes in calculations of internal ballistics in gun propellants. The CERV code was developed to determine complex equilibrium compositions of non-ideal mixtures of numerous imperfect gases, as well as, compressible liquid and solid species with phase transitions, for closed-vessel applications. This code minimizes Gibbs energy using reaction variables, in contrast to others. Several of the aforementioned codes are tested in detail in Koch et al. (2009). The Bac and Bagheera (1984) code was developed in the 1980s and 1990s in France for similar purposes. It is based on an ideal mixture model, a modified virial equation of state and includes the volumes of condensed species. By the early 1990s, the Bagheera code supplanted the BLAKE code as the standard for military applications in NATO countries.
Equilibrium calculations
The condition for chemical equilibrium is the minimization of free energy. In this case, Gibbs energy will be minimized (note that the minimization of Helmholtz energy may also be used, although it is not meant for constant pressure problems, characteristic of a rocket engine).
As seen in Gordon and McBride (1994), the iteration equations become:
Where πi = −λi/RT and nj represents the kg-mol of specie j per kg of mixture. The term bi represents the kg-atoms of an element per kg of mixture (of propellant in the case of bo) and aij represent the kg-atoms of element i per kg-mol of specie j.
For chemical equilibrium in the combustion chamber, enthalpy remains constant (since a combustion is taking place); therefore, Eqs. 1–5 are used. Throughout the nozzle entropy is conserved, resulting in Eqs. 1–4 and 6 being used. The conservation of entropy in the nozzle is a result of considering it adiabatic (no heat flow), disregarding viscosity and reaction terms canceling out due to the chemical equilibrium condition. This last fact can be proven (as seen in Tizón Pulido and Jenaro de Mencos [2018]) by writing the entropy differential:
If the equations of energy and momentum are substituted into Eq. 7, the following expression is obtained:
Which is identically zero, since the equilibrium criterion is the minimization of Gibbs free energy (dg = 0).
Convergence criteria
The value for a new iteration (k+1) is obtained in the following manner:
The values used in the first iteration are preset estimates, which can be changed in the preferences menu of the software at any time. If the value of n for a given specie drops below a certain threshold, it is automatically set to 0. The value for ε(k) is a correction factor, meant to avoid drastic changes in values, which may affect convergence capabilities. Said factor is typically computed as presented in Gordon and McBride (1994).
The convergence criteria are written in Eq. 10. Note that the values written for convergence represent the default values chosen in Gordon and McBride (1994) but they can be changed to other reasonable values in the preferences menu of ODEKO, the developed software:
Ions
If ions are present in the mixture, several details must be kept in mind. Firstly, if all ions were to disappear from the iteration (drop below the minimum value and their n be set to 0), the equilibrium equation for electrons would not be well defined. In this case, said equation must be removed. Moreover, the presence of ions in the mixture requires an additional convergence test, as shown in Gordon and McBride (1994):
If the test is not passed, the values of the ionic species must be altered as indicated by Eq. 12 until the test is successfully passed:
Note that, if only positive or only negative ions are present, the ion balance can never be achieved, and, therefore, ions must be removed from the mixture. Additionally, in the case where a new equilibrium is calculated using a previous one as a seed for the iterations, the ion equation should be introduced even if ions were previously removed, because ions might be present in the new mixture. This corresponds to the approach taken by Gordon and McBride (1994).
Condensed phases
Initially, only gaseous species and ions are considered in the mix. After convergence, a test is performed in order to check if any condensed phases should be added:
If more than one condensed species passes the test in Eq. 13, the one that decreases Gibbs energy the most (has the most negative value in Eq. 13) is added. In Gordon and McBride (1994), it is recommended to divide the quantity computed in 13 by the molecular mass. This leads to better results whenever more than one species passes the test and their values have to be compared.
Once the program converges again, the test is re-conducted. This process continues until no more condensed phases are added or removed. After every convergence, if the value of nj for a condensed species is negative, it is removed from the mixture.
Furthermore, only species that can exist at the temperature achieved after convergence are checked. After every convergence, it is also checked if any condensed species are no longer in their valid temperature range, which results in them being removed from the mixture. Note that only one species can be removed due to this condition; afterwards, a new equilibrium will be reached, and the condition in Eq. 13 will be re-checked. If no condensed species pass the test, the temperature range condition will also be re-checked. This process is continued until no more species are added or removed.
Whenever a condensed species with nj ≠ 0 is removed, it is recommended to reset all mixture components, since it is possible that said condensed species was the only one to have a specific atom in its composition. Therefore, after its removal, it may be difficult for the program to reintroduce said atom into the mixture, requiring lots of iterations or even failing to achieve it. Nonetheless, if a specific atom is unintentionally removed from the mixture, soft resets are set in place in the program in order to reintroduce it.
Alternative methods for condensed phases are present in the literature. The advantage of the presented method is that it does not require the user, nor the program, to establish a relation between condensed phases and gas phases, focusing exclusively on the minimization of Gibbs free energy. It is important to note that this method generally requires many iterations, since the primary equations need to converge multiple times in order to check for possible condensed phases.
Gas constant for the mixture
If condensed phases are present, the perfect gas equation can only be applied to the gaseous subset. Nevertheless, it is useful to define a new gas constant in order to include the effects of the presence of condensed species. Therefore, the gas constant used when condensed phases are present is:
In order for this new gas constant to be valid, the flow must be strongly interacting with the condensed phase, meaning that their temperatures and velocities must match at all times, which is explained in detail in Tizón Pulido and Jenaro de Mencos (2018).
Phase changes between condensed phases throughout the nozzle
If a condensed phase (generally a liquid) is present in the combustion chamber or throughout the nozzle, a phase change between condensed species might arise. Since the temperature is decreasing along the nozzle, it may reach the value at which the liquid phase transitions to its solid state. Said transition cannot be modelled as instant in time nor space. Therefore, during a given nozzle region, both species coexist. In this region in which the phase change takes place, the flow is isothermal as well as isentropic.
Once the phase transition temperature is reached, it is maintained constant until the original specie has completely disappeared. At the phase transition, the chemical potentials for both condensed species coincide (the least-squares coefficients are fitted to ensure this fact). As will be seen in the presented results, a notable discontinuity will be present for many variables, the most critical being the speed of sound.
The system of equations does not need to be modified and can be solved normally. Nonetheless, it is important to make sure that both species are allowed to coexist in the code. This is easily achieved by slightly increasing the temperature range in which they are defined, for an overlap to be present. Moreover, it is convenient to include a check to test if the phase transition is taking place, as some changes will need to be applied to compute the equilibrium variables (as shown in the results section).
Frozen and equilibrium thermodynamic properties
Throughout this section, values for “frozen” and “equilibrium” properties are calculated. Typically, only frozen values are used; however, as will be seen later, at times it is required to use the “equilibrium” values. This is especially so when applying equations that are usually meant for non-reacting flows (such as the M = 1 condition at the throat of the nozzle). The “equilibrium” values do not necessarily carry a physical meaning, in contrast to their “frozen” counterparts. Nonetheless, they introduce the effect of chemical equilibrium into formulas that will be used in the following sections.
The thermodynamic relations between Cp, Cv, γ, a are different for the equilibrium variables (Eq. 16), when compared to the usual “frozen variable” expressions (Eq. 15). The required computations to obtain the equilibrium variables (mainly the calculation of the derivatives present in the expressions) is detailed in Gordon and McBride (1994):
Equilibrium properties during a phase change between condensed species
As was explained by Gordon (1971), during the transition between condensed phases, at which temperature stays constant, derivatives with respect to temperature are not properly defined. Therefore, expressions such as Eq. 16 cannot be used. Gordon presents an alternative definition for the isentropic isothermal case:
Note that this definition change will cause a notable discontinuity in the values of gamma and the speed of sound. It is also important to point out that, as was explained in prior sections, the value for Rg needs to account for the presence of condensed species.
In this isothermal region, the equilibrium values for Cp and Cv are not defined. Therefore, only their frozen counterparts can be used, and the ODEKO software only offers frozen variables as output for this region. Note as well that, even if equilibrium variables present a discontinuity at the start and end of the isothermal region, frozen variables are always continuous (although some show a discontinuity in their first derivative). This is the case as frozen variables represent a physical quantity (which cannot be discontinuous), whilst equilibrium variables are a tool to show the effect of the chemical reactions taking place.
Transport properties
The viscosity is computed equally for frozen and equilibrium flow, not having a dual definition like the other variables. On the other hand, the conductivity requires a kinetic scheme to be specified for its computation. The reacting component of the conductivity, as shown by Gordon and McBride (1994) can be computed as:
Where ∆Ho corresponds to the net enthalpy variation of reaction i and τij is given by:
The value of υik corresponds to the net coefficients of specie k in reaction i and RTPDkl equates to:
One-dimensional equilibrium (ODE) in rocket engines
The first step to solve the flow through the nozzle is to calculate the equilibrium composition at the combustion chamber (constant enthalpy). The enthalpy of the reactants is easily obtained, since their starting temperature is given by the user or the database. The chamber pressure is also given. Therefore, the composition at the combustion chamber is obtained without any complications. Subsequently, the composition and thermodynamic properties of the nozzle’s throat are to be computed. The convergence criterion is:
Note that this condition implies that the Mach number is unity at the throat. For 1D chemical equilibrium, this is only true if the speed of sound considered is the equilibrium speed of sound.
Once the throat has been calculated, the rest of the points of the nozzle are computed in the same manner. Firstly, an initial estimate for the pressure is obtained and, afterward, the value for the pressure is iterated according to the following formula, employed by Gordon and McBride (1994):
Where the partial derivative can be expressed as:
After all points have been computed (equilibrium composition along with thermodynamic and transport variables if requested), the rocket parameters may be calculated as well, employing the following equations:
The mass flow is computed at the throat. Even though it should be constant along the nozzle, very small variations are present due to the nature of the numerical method. Since all points are calculated, establishing that their mass flow should equal that of the throat, it is regarded as the most representative value.
Frozen flow
If the flow is set to “freeze” (stop reacting) after the throat, the procedure is simple, as shown by Gordon and McBride (1994). After the frozen point, composition is conserved and the iteration procedure remains the same. Since the equilibrium equations can no longer be used, the temperature of the mixture must also be iterated (for each pressure iteration there must be a temperature convergence). The iteration is performed using the constant entropy condition (non-viscous, non-reacting flow with no heat transfer), as shown in Eq. 25:
The convergence condition is:
On the other hand, if the freezing point is located before the throat, an additional iteration procedure for the throat is required. To calculate the parameters of the freezing point (especially its pressure, required to obtain its composition), the throat must be computed first. The only option is to calculate the throat in its equilibrium condition. Once the frozen point is computed, the throat can be recalculated with the frozen composition. One should note that this will fundamentally change the parameters of the nozzle’s throat. Therefore, the freezing point will no longer be correctly computed (it will not be coherent with the new throat values). Consequently, this process is iterated until the freezing point and throat are compatible. To the knowledge of the authors, no other freely available software gives the user the option to freeze the composition before the throat.
Note that this process usually requires many iterations. Despite this, it is still relatively fast, since only two points are being computed back and forth. Generally, frozen flow is much faster to compute in spite of the additional iteration procedure required. Note as well that, once the flow freezes, all parameters used must also be “frozen”. In consequence, equilibrium variables can no longer be used for any iteration or convergence criterion, since the flow is no longer in chemical equilibrium.
Convergence criteria during isothermal regions caused by transitions between condensed phases
If the throat of the nozzle is contained at the start of the isothermal region of a condensed phase transition, it results in a discontinuity of the speed of sound at the throat, as described by Eq. 17. According to the indications of Gordon (1971), the following criterion should be used:
Where Tm is the phase transition temperature between both phases and T is the temperature of the mixture. The derivative value can be expressed as:
RESULTS
The parameters of the arbitrary parabolic nozzle employed in the subsequent sections are shown in Tables 1 and 2. The employed propellants will be referred to as liquid hydrogen and liquid oxygen (LHLO) with O/F = 5, nitroglycerin to nitrocellulose (NCNG) ratio of 10, ammonium perchlorate/hydroxyl-terminated polybutadiene (AP/HTPB) with O/F = 4, and potassium nitrate and sorbitol (RC) with O/F = 65/35. Chamber pressure is 3 MPa for all configurations unless stated otherwise.
Chemical equilibrium results
As an example, a simulation using LHLO and the specified nozzle will be performed. In Fig. 1, the evolution of the different species is shown. The composition remains fairly similar in the regions far away from the throat. Near the throat, a depletion of H and OH (as well as O and O2, even though it is not visible in the plot) results in an increase of the molecular fractions of H2O and H2. Note that, for a mix of hydrogen and oxygen at the given pressure and temperature conditions, there are very few relevant species involved, greatly simplifying the calculations. Nevertheless, for other propellant types with a greater variety of chemical elements, a significant amount of chemical species play an important role in the determination of chemical equilibrium, leading to more complex systems.
The gradient in pressure is largest near the throat, as seen in Fig. 2a. On the other hand, the gradient in Mach number peaks after the throat, with a Mach number of 1 at the throat itself, as shown in Fig. 2b. The strong pressure gradient near the throat, as well as the temperature gradient shown later in Fig. 3a, explain the shift in composition seen in this region in Fig. 1. It is of mention that the pressure evolution is barely impacted by the shift in composition, leading to very close results between the chemical equilibrium and frozen computations. On the contrary, other variables show a significant difference in value based on whether chemical reactions have been accounted for or not, as will be shown in detail in the next subsection.
Evolution of pressure and Mach number along the nozzle for LHLO. (a) pressure evolution; (b) Mach evolution.
Comparison of ODE and frozen flow
A comparison between flow through the nozzle computed with chemical equilibrium and “freezing” said flow at the throat is given for a series of propellants, shown in Figs. 3–5. The flow temperature throughout the nozzle is higher when chemical equilibrium is considered. This is a consequence of exothermic reactions occurring throughout the nozzle, initiated by the decrease in pressure and temperature. On the other hand, the frozen value for gamma tends to be lower. The real performance (finite reaction rates) will sit somewhere between the frozen (no reaction) and equilibrium (infinitely fast reaction rates) limits, depending on the speed of the reactions for the given parameters and propellant. Slow-reacting propellants such as AP/HTPB are typically better modeled by freezing the flow at the throat, whilst faster-reacting propellants like LHLO are better predicted using chemical equilibrium. For the LHLO case, shown in Fig. 3, the results of the frozen and equilibrium calculations start to differ slightly before the throat. This is coherent with Fig. 1, as it is where the composition starts to vary in the chemical equilibrium computations. On the other hand, for the NCNG case and, especially, for AP/HTPB, this deviation starts to happen at a later point of the nozzle, caused by the different evolution of the chemical composition for these propellants.
Frozen and equilibrium variables
In this section, the entire flow is computed using chemical equilibrium, and the frozen and equilibrium values of gamma are compared. It is notable that, for the LHLO propellant (Fig. 6a), the frozen and equilibrium gammas tend to the same value as the exit area increases (due to reactions halting). On the other hand, for AP/HTPB (Fig. 6b), the frozen and equilibrium values differ more and more with increasing exit area (as a consequence of substantially different compositions at this point).
Comparison of equilibrium and frozen variables for equilibrium calculations. (a) gamma evolution for LHLO; (b) gamma evolution for AP/HTPB.
Transition between condensed phases
In this section, the propellant RC is used to showcase the transition between condensed phases in the nozzle. In Fig. 7a, it is apparent that the equilibrium flow has an isothermal region in the nozzle, corresponding to the phase transition. On the other hand, the flow frozen at the nozzle throat does not experience said transition and has a more typical temperature curve. In Fig. 7b, the composition of both condensed species is shown for the flow computed with chemical equilibrium.
Transition between condensed phases. (a) temperature evolution for equilibrium and frozen calculation; (b) composition evolution for equilibrium calculation.
In addition, for a flow computed fully with chemical equilibrium, there are two possible ways to compute variables such as the speed of sound. Said approaches are referred to as “frozen” and “equilibrium” variables, as previously presented in Eqs. 15 and 16. Both types of variables for the example with condensed phases are compared in Fig. 8. It is crucial to note that, although referred to as “frozen” and “equilibrium” variables, both are obtained from an equilibrium computation. This illustrates the discontinuity present in the value of the equilibrium variables, as mentioned in prior sections. Moreover, it can be seen that the frozen value for gamma and, especially, that of the speed of sound have a discontinuity in their first derivative at the entrance and exit of the isothermal region. It is also notable that the equilibrium gamma is very close to 1 (around 0.9996) throughout the isothermal region. A value of 1 is intuitively reasonable, as the addition of heat at constant pressure and constant volume results in the same temperature change (none, as only the composition changes during a phase change). Therefore, the values of cp and cv should be equal to each other in this example. In spite of this, the reader must keep in mind that the values of cp and cv are not properly defined in this case. Furthermore, the frozen speed of sound increases in value during the isothermal region. This is easily explained, given that the temperature remains constant whilst the frozen gamma is increasing.
Comparison of frozen and equilibrium variables during a transition between condensed phases. (a) frozen and equilibrium gamma values for equilibrium calculations; (b) frozen and equilibrium sound velocity value for equilibrium calculations.
Validation against multidimensional and turbulent simulations
There are multiple physical effects that are not modeled by ODEKO. The simulation performed by ODEKO is strictly 1D for the nozzle, leaving out divergence effects. The combustion chamber is modeled as 0D, resulting in turbulence, mixing, injection, and atomization effects not being accounted for. Turbulence, as well as viscosity, is not modeled anywhere in the entire system. Heat losses are also disregarded, as the entire system is considered adiabatic.
In this section, it will be shown that, even with the aforementioned limitations, ODEKO offers very similar results to much more complex and detailed CFD simulations that do consider these effects, but at a fraction of the computational cost. This is expected, as ODEKO considers the most relevant aspects of the flow. It only leaves out the modeling aspects, which, although relevant for detailed design, do not contribute much to the behavior of the entire system.
Firstly, a RANS simulation of a methane-oxygen rocket engine performed by DLR’s (German Aerospace Center) in-house code TAU is used to validate the results of the developed software, ODEKO. The simulation was performed by Schneider and Génin (2017), corresponding to real engine operation conditions, as reported in Burkhardt and Sippel (2004). As the pressure used in the simulation was not stated, a value of 40 bar was assumed based on the experimental data provided. The 2D axially symmetric RANS simulation by Schneider and Génin (2017) results are provided both for the chemical equilibrium and nonequilibrium (finite-rate chemistry cases).
In Fig. 9a, the equilibrium and nonequilibrium results along the centerline of the 2D TAU simulation are compared with the 1D results obtained by ODEKO. There is a good match in results between ODEKO and the chemical equilibrium TAU simulation. Note that, even though the TAU chemical equilibrium simulation considers turbulence (RANS) and is 2D, there is no significant difference in results with the much simpler and computationally cheaper ODEKO simulation. The differences in the shape of the curves can be attributed to the assumptions made about the nozzle shape, as only the entrance, throat, and exit areas were reported by Schneider and Génin (2017), as well as to the fundamental differences between 2D and 1D codes.
Comparison of mixture evolution for two validation cases. (a) mixture evolution of DLR’s example case nozzle; (b) mixture evolution of the SSME nozzle.
Next, the Space Shuttle Main Engine Nozzle will be simulated with the developed software, ODEKO, and compared to the results obtained by Al Kady (2013). The SSME employs LHLO as propellant. The work by Al Kady (2013) consists of an LES using both the k − ω and k − ε models, based on the distance to the nozzle walls. Al Kady (2013) performed a 2D axisymmetric simulation, assuming the flow to be in chemical equilibrium at every grid point of the domain. In the work by Al Kady (2013), the results are also compared and shown to match with the ones obtained by Cox and Cooper (1994), which will also be used in the subsequent comparison. Cox and Cooper (1994) use a 2D-axisymmetric Riemann solver with chemical equilibrium for their simulations.
A comparison of the mixture evolution is provided in Fig. 9b. A very good match between ODEKO and both validation sources is seen for H2O and H2, and a good match with Al Kady (2013) and decent with Cox and Cooper (1994) for OH. The largest difference in results corresponds to O and O2, where ODEKO predicts the drop-off in composition slightly afterwards in the axial direction. Note that neither paper presents the exact nozzle curve employed; therefore, an assumption was required, which might explain differences observed in the divergent region of the nozzle. Nevertheless, the match is quite good considering the additional complexity of a 2D LES. The Mach evolution is shown in Fig. 10a and the temperature evolution in Fig. 10b. It is of note that the prediction by ODEKO mostly stays between the wall and centerline values for Cox, which is a positive sign, given the dimensional difference. The temperature predicted by ODEKO matches well with the equilibrium simulation by Al Kady (2013), although the Mach number is not as accurately matched. The specific impulse was compared to the one reported by NASA in Van Hooser (2011). ODEKO gives a value of 465 s, whilst NASA reports a real value of 452 s. Given that ODEKO does not account for turbulent, viscous, divergence, heat transfer, or nonequilibrium losses, this result, with less than a 3% error, is extremely good.
Input and output of ODEKO
The developed software, ODEKO, comes equipped with a large database of reactants and species to be included in the chemical equilibrium calculations. The user can choose from this database to select which reactants form their propellant and which species should be considered for the computations. Furthermore, the user also has the option to include additional reactants or species if so desired.
Once the propellant is defined, the user should specify the nozzle’s main parameters (entrance, throat, and exit areas) as well as its shape. The only other input required is the chamber pressure. For solid rocket motors, instead of the chamber pressure, the grain geometry and its Vielle parameters should be specified instead. Almost all other parameters involved in the calculation process can be modified from the preferences menu. Nevertheless, suitable values are set by default, making it unnecessary to change any of them.
The outputs provided by ODEKO, at the combustion chamber and all points of the nozzle, include:
-
Chemical composition – of all species involved in the calculation.
-
Thermodynamic properties – pressure, temperature, density, enthalpy, entropy, mixture molecular weight, gamma, velocity, speed of sound, Mach, Cp, and Cv.
-
Transport properties – conductivity, viscosity, convective heat transfer coefficient, and Prandtl number.
Additionally, the following rocket engine properties are also reported: combustion temperature, thrust (at a given ambient pressure), specific impulse, C*, CE, and mass flow, as well as chamber pressure and combustion time for solid rocket motors.
DISCUSSION
The present work brings a revision and update to previously existing algorithms, integrated into novel software for general-purpose low-order simulation of the internal flow of rocket engine nozzles. A notable addition with respect to previously existing software is the introduction of a method to freeze composition changes at any specific point within the nozzle, allowing customized modeling for realistic engine conditions. Furthermore, the ability to show both the frozen and equilibrium values of a variable when a chemical equilibrium calculation is performed offers much greater versatility and control to the user.
CONCLUSIONS
In the field of rocket engine design and analysis, the calculation of performance along the nozzle’s equilibrium composition plays a pivotal role. This study has emphasized the importance of this approach, showcasing its significance in comprehending and optimizing the performance of thermochemical rocket engines. The inclusion of calculations for both gaseous and condensed species has allowed for a comprehensive analysis of engine behavior. The introduction of the capability to freeze composition at specific nozzle points adds a valuable dimension. It enables tailored modeling to match real-world engine conditions, thereby enhancing its versatility as an analysis and design tool. Additionally, the study’s calculation of transport properties along the nozzle has further enriched the depth of our understanding. By integrating equilibrium composition, condensed species, and transport properties, this research demonstrates a holistic approach to analyzing and optimizing thermochemical rocket engine performance. The inclusion of multiple illustrative examples, as well as validation against 2D RANS and LES simulations, serves to underscore the practical capabilities of the program. This makes it a valuable resource for researchers, engineers, and scientists in the aerospace industry.
The software ODEKO is open-access and can be freely downloaded from www.odeko.nickdejongc.com.
ACKNOWLEDGMENTS
It is especially appreciated that the support received from Tcol. Jesús Sánchez, who was the head of the Department of Rockets and Orthotronics at the Instituto Nacional de Técnica Aeroespacial-Marañosa Campus, without whose technical and material support, this work would not have been possible.
FUNDING
DATA AVAILABILITY STATEMENT
All data sets were generated or analyzed in the current study.
REFERENCES
-
Al Kady MA (2013) Numerical simulation of nozzle flow with chemical equilibrium. ARPN J Eng Appl Sci 8(5). https://www.researchgate.net/publication/256731890_Numerical_Simulation_of_Nozzle_Flow_with_Chemical_Equilibrium
» https://www.researchgate.net/publication/256731890_Numerical_Simulation_of_Nozzle_Flow_with_Chemical_Equilibrium - Bac J, Bagheera PA (1984) Ballistic thermodynamic code. Paper presented 3rd International Gun Propellant Symposium. Picatinny Arsenal; Dover, USA.
-
Belov GV (1998) Thermodynamic analysis of combustion products at high temperature and pressure. Propell Explos Pyrotech 23(2):86-89. https://doi.org/10.1002/(SICI)1521-4087(199804)23:2<86::AID-PREP86>3.0.CO;2-2
» https://doi.org/10.1002/(SICI)1521-4087(199804)23:2<86::AID-PREP86>3.0.CO;2-2 -
Brinkley SR (1947) Calculation of the equilibrium composition of systems of many constituents. J Chem Phys 15(2):107-110. https://doi.org/10.1063/1.1746420
» https://doi.org/10.1063/1.1746420 -
Brown ED (1995) An introduction to PROPEP, a Propellant Evaluation Program for personal computers. J Pyrotech (1):11-18. https://www.jpyro.co.uk/wp-content/uploads/j01_11_htfsr.pdf
» https://www.jpyro.co.uk/wp-content/uploads/j01_11_htfsr.pdf - Browne HN, Williams MM, Cruise DR (1960) The theoretical computation of equilibrium compositions, thermodynamic properties and performance characteristics of propellant systems. NAVWEPS Report 7043, TP 2434. China Lake; Naval Ordnance Test Station.
-
Burkhardt H, Sippel M (2004) Kerosene vs methane: a propellant tradeoff for reusable liquid booster stages. J Spacecr Rockets 41(5). https://doi.org/10.2514/1.2672
» https://doi.org/10.2514/1.2672 -
Cooper D (2016) ProPep3. [accessed Jul 30 2025]. http://www.rimworld.com/loggerusb/propep3/intro.html
» http://www.rimworld.com/loggerusb/propep3/intro.html -
Cowperthwaite M, Zwisler WH (1974) TIGER computer program documentation. Publication AD/A-002 791. Menlo Park: Stanford Research Institute. https://apps.dtic.mil/sti/pdfs/ADA002791.pdf
» https://apps.dtic.mil/sti/pdfs/ADA002791.pdf -
Cowperthwaite M, Zwisler WH (1982) Thermodynamics of nonideal heterogeneous systems and detonation products containing condensed Al2O3, Al, and C. J Phys Chem 86(5):813-817. https:
» https://doi.org/10.1021/j100213a021 -
Cox CF, Cooper D (1994) General solution procedure for flows in local chemical equilibrium. AIAA J 32(3). https://doi.org/10.2514/3.12016
» https://doi.org/10.2514/3.12016 -
Cruise DR (1964) Notes on the rapid computation of chemical equilibria. J Phys Chem 68(12):3797-3802. https://doi.org/10.1021/j100794a044
» https://doi.org/10.1021/j100794a044 -
Cruise DR (1979) Theoretical computations of equilibrium compositions, thermodynamic properties, and performance characteristics of propellant systems. China Lake: Naval Weapons Center. https://apps.dtic.mil/sti/citations/ADA069832
» https://apps.dtic.mil/sti/citations/ADA069832 -
Dobbs JL, Grubelich MC (2001) Instructions and changes to the NEWPEP thermochemical code. SAN2001-1074. Albuquerque: Sandia National Laboratories. https://doi.org/10.2172/782591
» https://doi.org/10.2172/782591 -
Filipović M, Kilibarda N (2000) Calculation of complex chemical equilibrium compositions of composite rocket propellants combustion products. J Serb Chem Soc 65(11):803-810. https://doi.org/ 10.2298/jsc0011803f
» https://doi.org/10.2298/jsc0011803f -
Filipović M, Kilibarda N (2001) The calculation of theoretical energetic performances of composite rocket propellants. J Serb Chem Soc 66(2):107-117. https://doi.org/10.2298/jsc0102107f
» https://doi.org/10.2298/jsc0102107f -
Freedman E (1973) BLAKE – A ballistic code based on TIGER. Paper presented International Symposium on Gun Propellants. Picatinny Arsenal; Dover, USA. https://apps.dtic.mil/sti/tr/pdf/ADA353385.pdf
» https://apps.dtic.mil/sti/tr/pdf/ADA353385.pdf -
Freedman E (1982) BLAKE – A thermodynamics code based on TIGER: users guide and manual. Report ARBRL-TR-02411. Aberdeen Proving Ground: U.S. Army Ballistic Research Laboratory. https://doi.org/10.21236/ADA121259
» https://doi.org/10.21236/ADA121259 -
Freedman E (1998) BLAKE – A thermodynamics code based on TIGER: users guide to the revised program. Report ARL-CR-422. Adelphi: Army Research Laboratory. https://doi.org/10.21236/ADA353385
» https://doi.org/10.21236/ADA353385 -
Gordon S (1971) Calculation of theoretical equilibrium nozzle throat conditions when velocity of sound is discontinuous. AIAA J 9(1):179-182. https://doi.org/10.2514/3.6142
» https://doi.org/10.2514/3.6142 -
Gordon S, McBride BJ (1976) Computer program for calculation of complex chemical equilibrium compositions, rocket performance, incident and reflected shocks, and Chapman-Jouguet detonations. Interim Revision. NASA SP-273 https://ntrs.nasa.gov/api/citations/19780009781/downloads/19780009781.pdf
» https://ntrs.nasa.gov/api/citations/19780009781/downloads/19780009781.pdf -
Gordon S, McBride BJ (1994) Computer program for calculation complex chemical equilibrium compositions and applications: I. Analysis. NASA RP-1311. https://ntrs.nasa.gov/api/citations/19950013764/downloads/19950013764.pdf
» https://ntrs.nasa.gov/api/citations/19950013764/downloads/19950013764.pdf -
Gordon S, Zeleznik FJ (1962) Thermodynamic extrapolation of rocket performance parameters. ARS J 32(8):1195-1202. https://doi.org/10.2514/8.6243
» https://doi.org/10.2514/8.6243 -
Gordon S, Zeleznik FJ (1963) A general IBM 704 or 7090 computer program for computation of chemical equilibrium compositions, rocket performance, and Chapman-Jouguet detonations. Supplement I. Assigned area-ratio performance. NASA TN D-1737. https://ntrs.nasa.gov/api/citations/19630012282/downloads/19630012282.pdf
» https://ntrs.nasa.gov/api/citations/19630012282/downloads/19630012282.pdf -
Gordon S, Zeleznik FJ, Huff VN (1959) A general method for automatic computation of equilibrium compositions and theoretical rocket performance of propellant. NASA TN-D-132. https://ntrs.nasa.gov/api/citations/19980223618/downloads/19980223618.pdf
» https://ntrs.nasa.gov/api/citations/19980223618/downloads/19980223618.pdf -
Huff VN, Gordon S (1950) Tables of thermodynamic functions for analysis of aircraft-propulsion systems. NACA TN 2161. [accessed Jul 30 2025]. https://ntrs.nasa.gov/api/citations/19930083112/downloads/19930083112.pdf
» https://ntrs.nasa.gov/api/citations/19930083112/downloads/19930083112.pdf -
Huff VN, Gordon S, Morrell VE (1951) General method and thermodynamic tables for computation of equilibrium composition and temperature of chemical reactions. NACA TR-1037. https://ntrs.nasa.gov/api/citations/19930091090/downloads/19930091090.pdf
» https://ntrs.nasa.gov/api/citations/19930091090/downloads/19930091090.pdf -
Koch EC, Weiser V, Webb R (2011) Review on thermochemical codes. NATO MSIAC Report O-138, Brussels, Belgium. [accessed Jul 30 2025]. https://www.msiac.nato.int/publication/o-138-review-on-thermochemical-codes/
» https://www.msiac.nato.int/publication/o-138-review-on-thermochemical-codes/ -
McBride BJ, Gordon S (1961) Thermodynamic functions of several triatomic molecules in the ideal El Word en Word ahora sí que yagas state. J Chem Phys 35(6):2198-2206. https://doi.org/10.1063/1.1732232
» https://doi.org/10.1063/1.1732232 -
McBride BJ, Gordon S (1967) Fortran IV Program for calculation of thermodynamic data. NASA TN D-4097. [accessed Jul 30 2025]. https://ntrs.nasa.gov/api/citations/19670025863/downloads/19670025863.pdf
» https://ntrs.nasa.gov/api/citations/19670025863/downloads/19670025863.pdf -
McBride BJ, Gordon S (1996) Computer program for calculation complex chemical equilibrium compositions and applications: II. Users manual and program description. NASA RP-1311. https://ntrs.nasa.gov/api/citations/19950013764/downloads/19950013764.pdf
» https://ntrs.nasa.gov/api/citations/19950013764/downloads/19950013764.pdf -
McBride BJ, Gordon S, Reno MA (1993) Coefficients for calculating thermodynamic and transport properties of individual species. NASA TM-4513. https://ntrs.nasa.gov/api/citations/19940013151/downloads/19940013151.pdf
» https://ntrs.nasa.gov/api/citations/19940013151/downloads/19940013151.pdf -
McBride BJ, Heimel S, Ehlers JG, Gordon S (1963) Thermodynamic properties to properties to 6000 30K for 210 substances involving the first 18 elements. NASA SP-3001. https://ntrs.nasa.gov/api/citations/19630013835/downloads/19630013835.pdf
» https://ntrs.nasa.gov/api/citations/19630013835/downloads/19630013835.pdf -
Morgan MS, Silverman J, Webber WT (1956) The theoretical specific thrust of a rocket motor for the C-H-N-0-F system. J Jet Propuls 26(10):874-877. https://doi.org/10.2514/8.7151
» https://doi.org/10.2514/8.7151 -
Morrell GV (1951) General method and thermodynamic tables for computation of equilibrium composition and temperature of chemical reactions. NACA TR-1037. https://ntrs.nasa.gov/api/citations/19930091090/downloads/19930091090.pdf
» https://ntrs.nasa.gov/api/citations/19930091090/downloads/19930091090.pdf - Noläng B (1983) Application of equilibrium computations to chemical vapour transport and related systems (EKVI code) (doctoral dissertation). Uppsala: Uppsala University.
-
Schneider D, Génin C (2017) Numerical model for nozzle flow application under liquid oxygen/methane hot-flow conditions. AIAA J 34(1). https://doi.org/10.2514/1.B36611
» https://doi.org/10.2514/1.B36611 -
Smith WR, Missen RW (1968) Calculating complex chemical equilibria by an improved reaction-adjustment method. Can J Chem Eng 46(4):269-272. https://doi.org/10.1002/cjce. 5450460411
» https://doi.org/10.1002/cjce. 5450460411 -
Tanaka K (1986) Detonation properties of high explosives calculated by revised Kihara-Hikita equation of state. Paper presented 8th Symposium (International) on Detonation. United States Office of Naval Research; Albuquerque, USA. https://cir.nii.ac.jp/crid/1570291224167737344
» https://cir.nii.ac.jp/crid/1570291224167737344 -
Terzic J, Zecevic B, Catovic A, Serdarevic-Kadic S (2011) Prediction of internal ballistic parameters of solid propellant rocket motors. Probl Mechatron Armament Aviat Saf Eng 2:7-26. https://bibliotekanauki.pl/articles/403510.pdf
» https://bibliotekanauki.pl/articles/403510.pdf -
Tizón Pulido JM, Jenaro de Mencos G (2018) Propulsio´n de misiles ta´cticos. Madrid: Garceta Grupo Editorial. https://www.garceta.es/catalogo/libro.php?ISBN=978-84-1728-925-6
» https://www.garceta.es/catalogo/libro.php?ISBN=978-84-1728-925-6 -
Van Hooser KP (2011) Space shuttle main engine – The relentless pursuit of improvement. AIAA J. https://doi.org/10.2514/6.2011-7159
» https://doi.org/10.2514/6.2011-7159 -
Villars DS (1959) A method of successive approximations for computing combustion equilibria on a high-speed digital computer. J Phys Chem 63(4):521-525. https://doi.org/10.1021/j150574a016
» https://doi.org/10.1021/j150574a016 -
White WB, Johnson SM, Dantzig GB (1958) Chemical equilibrium in complex mixtures. J Chem Phys 28(5):751-755. https://doi.org/10.1063/1.1744264
» https://doi.org/10.1063/1.1744264 - Wieberson W, Zwisler W, Seely L, Brinkley S (1968) TIGER computer program documentation: I. Theoretical and mathematical formulations for the Tiger computer program. Report Z106. Menlo Park: Stanford Research Institute.
-
Wong F, Gottlieb J, Lussier L-S (2007) Chemical equilibrium mixture computations for energetic material combustion in closed vessels, Paper presented 4th Workshop on Pyrotechnic Combustion Mechanisms. International Pyrotechnics Society; Pfinztal, Germany. https://apps.dtic.mil/sti/pdfs/ADA432904.pdf
» https://apps.dtic.mil/sti/pdfs/ADA432904.pdf -
Zeleznik FJ, Gordon S (1960) An analytical investigation of three general methods of calculating chemical-equilibrium compositions. NASA TN-D-473. https://ntrs.nasa.gov/api/citations/19980228202/downloads/19980228202.pdf
» https://ntrs.nasa.gov/api/citations/19980228202/downloads/19980228202.pdf -
Zeleznik FJ, Gordon S (1962a) A general IBM 704 or 7090 computer program for computation of chemical equilibrium compositions, rocket performance, and Chapman-Jouguet detonations. NASA TN-D-1454. https://ntrs.nasa.gov/api/citations/19620007372/downloads/19620007372.pdf
» https://ntrs.nasa.gov/api/citations/19620007372/downloads/19620007372.pdf -
Zeleznik FJ, Gordon S (1962b) Calculation of detonation properties and effect of independent parameters on gaseous detonations. ARS J 32(4). https://doi.org/10.2514/8.6080
» https://doi.org/10.2514/8.6080 -
Zeleznik FJ, Gordon S (1968) Calculation of complex chemical equilibria. Ind Eng Chem 60(6):27-57. https://doi.org/10.1021/ie50702a006
» https://doi.org/10.1021/ie50702a006











Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors.
Source: Elaborated by the authors, using data from 