Professional Documents
Culture Documents
Equil O&B
Equil O&B
750468
MANY MODELS FOR ENGINE COMBUSTION PROBLEMS use are given by References 6-9. The NASA-Lewis
the First Law of Thermodynamics as applied to program (9) is very extensive and includes ther
either the entire cylinder contents or to sub modynamic data for hundreds of species.
systems. Examples include models for spark ig The purpose of the present program is very
nition engines (1)*, diesel engines (2) and narrow by comparison to the NASA program. Its
stratified charge engines (3). Typically the purpose is to specifically deal only with the
major species of the products of combustion may gas phase products of combustion of hydrocarbon
be assumed to follow a shifting equilibrium fuels (containing, C, H, O, N atoms) and air.
process for thermodynamic purposes. For pur The program is however extended to calculate the
poses of chemical kinetics calculations, many partial derivatives of internal energy and molec
of the major species may also be assumed to be ular weight which are helpful when numerically
at the equilibrium concentration (4). Because solving the first law as a differential equation
of this wide spread use it is important to have in time using the method of Reference 10. Most
a rapid means of calculating the equilibrium in importantly, the program is to provide a rapid
ternal energy, molecular weight and species mole means of calculation comparable to the use of
fractions of the products of hydrocarbon-air com the regression analysis equations given in Ref
bustion. erence 11.
Calculation of the equilibrium composition
and internal energy of combustion products for ENERGY EQUATION FORMULATION
engine cycles goes back to the early work of
Tizard and Pye (5) and has been the subject of In order to treat the cylinder gas system
numerous computer studies, a sampling of which thermodynamically the system may be divided into
cells such that the composition and temperature
*Numbers in parentheses designate References at of each cell is uniform. This implies that the
end of paper molar average temperature of the cell may be
ABSTRACT
bon fuel and air is described. A subroutine is
A computer program which rapidly calculates also given which calculates the gas constant,
the equilibrium mole fractions and the partial enthalpy, internal energy and the partial deriv
derivatives of the mole fractions with respect atives of these with respect to temperature,
to temperature, pressure and equivalence ratio pressure and equivalence ratio. Some examples
for the products of combustion of any hydrocar of the uses of the programs are also given.
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
2
used to obtain the internal energy of the cell. necessarily be true for the reactants (12).
As an example, some models used for the spark The specific gas constant, where M is
ignition engine products divide the products in the mean molecular weight, is a function of p, T,
to subsystems (1) but assume the same pressure F. The derivatives dp/dt in Equation 2 may be
for each subsystem while others (11) assign one obtained by differentiation of the ideal gas law
temperature for the entire product mass. The and substitution of:
first law for each system of products is
3
The left side of the equation may be written
as
Atom balances for the various elements give REDUCTION IN NUMBER OF EQUATIONS
Equation (8-1) gives
Equation (8-5) gives
These are now used to eliminate X12 and
x13 in Equations 8 and 9.
4
can then be expanded around the known vector as Substituting for x6, x9 and X10, rearranging
a Taylor's series. terms and dividing through by x13,
5
The computation of the equilibrium mole
fractions and partial derivatives ofthe mole
fractions with respect to T, p, F iscarried
out by a FORTRAN coded program EQMD.A guide
for users is given in Appendix D anda program
listing is given in Appendix E.
ENTHALPY
AND ENERGY
INTERNAL
The partial derivatives are also easily computed. Using Newton's method
For example,
6
Total mass of gas inside the system is
0.001244 lbm and there is no flow in or out of
the system. The fuel is C8H16 and equivalence
ratio F is 1.2. Initial conditions are T =
5600°R and p = 533 psi at ? = 20°. The expan
sion is assumed to follow shifting equilibrium.
Improved Euler method is used for solving the
differential equations. The steps taken at each
interval are listed below.
Let the temperature Tn and pressure Pn be
known at time tn where the derivative, dT/dt,
is calculated using Eq. 4.
7
size of 1° crank angle: "Engine Simulation Studies Conducted at the Uni
versity of Wisconsin." Tech. Report No. 11398,
U.S. Army Tank Automotive Command, March 1972.
3.L.W. Evers, P.S. Myers, and O.A. Uyehara,
"A Search For a Low Nitric Oxide Engine." Cen
tral States Combustion Institute Meeting,
Madison, Wisconsin, Spring 1974.
4.H.K. Newhall, "Kinetics of Engine-Generated
ACKNOWLEDGMENT Nitric Oxides and Carbon Monoxide." Twelfth
Symposium (International) on Combustion, 1969.
This report was submitted in partial ful 5.Tizard and Pye, "Empire Motor Fuels Commit
fillment of Grant Number R-802589-01-0 by the tee Report." Proc. Inst. of Automotive Engrs.,
University of Wisconsin-Madison under the partial Vol. 18, No. 1, 1923.
sponsorship of the Environmental Protection 6.H.N. Powell, A. Schaffer and S.N. Suciu,
Agency. Work was completed as of July 1, 1974. "Thermodynamic Properties--Properties of Combus
tion Gases, System: CnH2n-Air." General Elec
NOMENCLATURE tric Co., Cincinnati, Ohio, 1955.
7.H.K. Newhall and E.S. Starkman, "Thermody
Aij afi/axj
-
8
APPENDIX A
CURVE FITTING OF EQUILIBRIUM CONSTANTS where T is the absolute temperature and A, B, C,
D, E are constants.
This model was used to fit the tabulated
The equilibrium constants data was taken
from JANAF Thermochemical Tables (14), where data by means of a least squares fitting program.
A trade-off between the conflicting interests of
lNew
og10Kp Text
(formation) for all species are tabulated obtaining either high accuracy in a narrow range
as functions of the absolute temperature (°K). of temperature or lower accuracy in a wider range
Equilibrium constants for the reactions consid led to choosing 600 to 4000°K (1080 to 7200°R) as
ered in the equilibrium thermodynamics were cal
culated using the relation the range most relevant to the study of combus
tion phenomena in engines.
The log Kp predicted by the equations were
compared with the original data and the devia
tions were less than 0.0009. (The original data
is tabulated only to the third decimal place and
so there is an inherent uncertainty of 0.0005.
Hence the deviations were not considered signi
ficant.)
Theoretical studies (16) suggest a function A transformed temperature TA defined as
relationship of the type 0.005 T/9 where T is in °R was used for fitting.
The constants A, B, C, D and E are listed in
Table A-1.
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
9
APPENDIX B
MOLE FRACTION COMPUTATION EQUATIONS
In the specific problem under consideration,
we define for convenience, the following partial
derivatives
10
APPENDIX C
PARTIAL DERIVATIVE COMPUTATIONEQUATIONS
Define
Define
From Equations 11
11
CALCULATION OF PARTIAL DERIVATIVES of R, h and u
From Equations 19 to 22
For partial derivatives with respect to F, Note that the specific heats of the
species at constant pressure.
substitute zero where ?Ci/?T appears and ?/?F For partial derivatives with respect to p
elsewhere.
Example:
and F, replace ?/T with ?/?p and ?/?F respec
tively. The exceptions are
Exception:
APPENDIX D
GUIPE TO USING SUBROUTINES EQMD AND PER (where AN, AM, AL are the number of C, H and O
atoms in fuel molecules) free carbon will defi
PURPOSE OF THE SUBROUTINES - Subroutine EQMD nitely be formed. For C8H16, this maximum F is
can calculate the mole fractions xi of the prod 3.
ucts of combustion of any hydrocarbon fuel and The products of combustion are assumed to
air, at equilibrium under specified conditions of be ideal gases. This assumption is not valid at
temperature T, pressure p and equivalence ratio extremely high pressures (12).
F. It can also optionally calculate the partial HOW TO ACCESS THE SUBROUTINES - Transfer of
derivatives of the xi with respect to T, p and F. information between the calling program and the
Subroutine PER can calculate the average subroutines are through labelled COMMON areas
molecular weight M, gas constant R, enthalphy h and hence every program that calls the subrou
and internal energy u of the equilibrium products tines must contain
of combustion. It can also optionally calculate
the partial derivatives of R, h and u with re
spect to t, p and F.
In addition to carbon and hydrogen, the fuel
may or may not contain oxygen and nitrogen atoms.
The product species considered are H, O, N, H2,
OH, CO, NO, O2, H2O, CO2, N2 and Ar in gas phase.
LIMITATIONS OF THE SUBROUTINE - The equilib
rium constants used in the subroutines were
fitted as a function of temperature in the range
1080°R to 7200°R. The subroutines cannot be used
outside this range.
The subroutine cannot handle the formation
of free carbon. It can be shown that for equiva
lence ratio,
The above variables are input to the subroutine
and should be defined at the time of calling.
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
12
The following are output variables. tered during calculation of
IERR - Error code with meaning as specified partial derivatives of mole
later. fractions.
XEQ(12) - Mole fractions of the product species. Immediately after every call to the subrou
XPA - The numbering code is given later. tine, the value of TERR must be checked. It
A parameter used in the subroutine. should be zero. If it is not, the numbers
It represents the modes of fuel that stored in the other output variable locations
will give one mole of products. are meaningless and should not be used. Prefer
rably print out the value of IERR and also the
condition (AN,AM,AL,AK,F,T,P,KLO)at which the
failure occurred.
AVM - Average molecular weight of products
of combustion
R - Gas constant BTU °R-1
H - Enthalpy BTU
U - Internal energy BTU
13
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
14
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
15
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
16
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
17
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
18
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
19
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
20
Downloaded from SAE International by Indian Institute of Technology - Chennai, Wednesday, January 23, 2019
21