Professional Documents
Culture Documents
2/7/2017
CEAM Quick Start Guide
• The units of energy and mass must be separated by a division sign (/)
• The value of enthalpy must immediately follow the enthalpy keyword.
• Only a single value is allowed per reactant.
• The value of enthalpy must be the total enthalpy
• For example: …’h,calories/mole’,-2152,… is an acceptable input
• The units of mass and volume must be separated by a division sign (/)
• The value of density must immediately follow the density keyword. Only a single
value is allowed per reactant.
19 CEAM Quick Start Guide
CEAM Quick Start Guide
Reactant Dataset - Continued
• Examples
• 'reactants','fuel','H2(L)','H',2,'wt%',100,'h,BTU/lbm',-1920.7,'t,r’,30.31,...
'oxid','O2(L)','O',2,'wt%',100,'h,Btu/Lbm',-174.263,'t,r',162.324,
• 'reac','oxid','Air','N',1.5617,'O',0.41959,'AR',0.00937,'C',0.00032,...
'wtfrac',1,'h,J/mol',12077.218,'t,k',700,'fuel','C7H8(L)','C',7,'H',8,...
'h,J/mol',12180,'wtfrac',0.4,'t,k',298.15,'fuel','C8H18(L)','C',8,'H',18,...
'h,J/mol',-250260,'wtfrac',0.6,'t,k',298.15,
• 'reactants','fuel','H2(G)','H',2,'wt%',100,'h,cal/mol','t:k',298,...
'oxid','O2(G)','O',2,'wt%',100,'h,cal/mol','t:k',298,
• 'reac','fuel','H2','H',2,'moles',1,'oxid','Air','N',1.5617,'O',0.41959,'AR',0.
00937,'C',0.00032,'moles',1,
• 'reactants','name','HEHN','wt',44.500,'C',2,'H',9,'N',3,'O',4,'h,...
kcal/mol',-98.000,'rho,g/cc',1.428,'name','HAN','wt',41.830,'H',4,'N',2,...
'O',4,'h,kcal/mol',-95.300,'rho,g/cc',1.090,'name','AN','wt',02.225,'H',4,...
'N',2,'O',3,'h,kcal/mol',-87.380,'rho,g/cc',1.725, 'name','DIPY','wt',...
0.445,'C',10,'H',8,'N',2,'h,kcal/mol',44.478,'rho,g/cc',1.326,'name',...
'Water', 'wt',11.000,'H',2,'O',1,'h,kcal/mol',-68.313,'rho,g/cc',1.000,
Problem Dataset
• Mandatory Inputs
– Keyword
• The keyword is ‘prob'. The keyword
is not case sensitive, and must be the
first word in the dataset.
– Problem Type Assigned Variables Keywords
• The problem type identifies the state Temperature and Pressure TP, PT
variables that will be used to solve the Enthalpy and Pressure HP, PH
combustion problem Entropy and Pressure SP, PS
• The problem type can be entered Temperature and Volume(Density) TV, VT
anywhere in the problem dataset Energy and Volume(Density) UV, VU
• State variable problem types are Entropy and Volume(Density) SV, VS
reversible. For example: ‘HP’, and ‘PH’ Rocket RKT, or RO
represent the same problem type Shock SH
• The keywords for shock, detonation, and Chapman-Jouget Detonation DET
rocket are order sensitive. For example:
‘DET’ is recognized, but ‘TED’ is not
recognized
• The problem type is not case sensitive
– The value(s) of pressure can be input as arrays, variables, and numerical values
Temperature Keyword
Kelvin K
Celsius C
Rankine R
Fahrenheit F
– The units of energy and mass must be separated by a division sign (/)
– The value of entropy must immediately follow the entropy keyword.
– For example: …’s,J/kg-K’,… is an acceptable input
– An alternative is units of s/R (kg-mole/kg-mixture)
27 CEAM Quick Start Guide
CEAM Quick Start Guide
Problem Dataset
• Mandatory Inputs-Continued
– Problem Type Inputs
• Specific Volume – Density
– Specific Volume or density are required for TV, UV, and SV problems
– Specific Volume or density must be entered in the problem dataset
– The keyword for specific volume is exactly ‘v‘ and it is not case sensitive
– The keyword for density is exactly ‘rho‘ and it is not case sensitive
– The units of specific volume are volume per mass
– The units of density are mass per volume
Volume Keyword(s) Mass Keyword(s)
Cubic centimeter cc Gram g
Cubic meter m^3 Kilogram Kilog, kg
Cubic foot ft^3 Pound Mass Lbm
• More than one mixture ratio can be defined, but only one type of mixture ratio can be
used for a single problem.
• The value(s) of mixture ratio can be input as arrays, variables, and numerical values
• Optional – Case Name
– The case name is a file name printed in the output. The name is a
string that follows the keyword ‘case‘.
– For example: ‘case’,’Example for class’,
29 CEAM Quick Start Guide
CEAM Quick Start Guide
• Rocket Problem
Problem Dataset
– Rocket problems are basically an HP problem or TP problem with
additional inputs to address the nozzle, chamber, and flow type
• If temperature is not provided in the problem dataset, then the rocket problem will be
treated as am HP problem. This is the typical approach.
• If temperature is provided in the problem dataset, then the rocket problem will be
treated like a TP problem. This is not the typical approach, but it can be useful for low
combustion temperature problems
– Basic assumptions
• Infinite Chamber
– CEAM assumes and infinite chamber (i.e. Mach=0). CEAM will assume isentropic flow
through the throat and nozzle. A finite area chamber is available and will account for the
losses associated with a non-zero Mach number. Input for a finite chamber will be described
in a later section.
• No Nozzle
– CEAM assumes that there is no nozzle, but only a throat. The reason for this assumption is
the throat can always be mathematically determined, but the nozzle must be defined by the
user. Defining a nozzle will be described in a later section.
• Equilibrium
– CEAM assumes equilibrium flow. This means that the product composition is allowed to
change such that the Gibbs free energy is minimized at every nozzle station. The flow can
be defined as frozen flow which means the composition is not allow to change. The user can
also decide at which station the flow is to be considered to be frozen. Defining frozen flow
30 will be described in a later section. CEAM Quick Start Guide
CEAM Quick Start Guide
• Rocket Problem Problem Dataset
• Finite Chamber
– A finite chamber option is available to better estimate performance loss associated
with chamber velocity.
– The finite chamber is always analyzed with equilibrium flow solutions in the
subsonic flow areas
– The keyword for the finite chamber option is ’fac’ ,and is not case sensitive.
– Once the finite chamber option is declared, one type of finite chamber must be
declared.
– Contraction Ratio
» Contraction ratio is one option of defining a finite area chamber
» The contraction ratio option assumes a cylindrical chamber
» The keyword for the contraction ratio option is ’ac’
» The value of the contraction ratio follows the acat declaration
» The value can be a single value or a variable
» The units of the contraction ratio are dimensionless
» For example: ’fac’,’acat’,2.5
• P=CEA('problem','tp','equilibrium','o/f',GG_MR,'p,psi',FTIp,...
't,R',FTIt,'reactants','fuel','H2(L)','H',2,'wt%',100.,'h,btu/lbm',...
GG_Hf,'oxid','O2(L)','O',2,'wt%',100.,'h,btu/lbm',GG_Ho,'output',...
'short','eng','end');
SummarySheet(i,FTI_Cp_cn)=P.output.cp;
SummarySheet(i,FTI_enthalpy_cn)=P.output.enthalpy;
SummarySheet(i,FTI_entropy_cn)=P.output.entropy;
SummarySheet(i,FTI_gamma_cn)=P.output.gamma;
SummarySheet(i,FTI_mw_cn)=P.output.wm;
SummarySheet(i,FTI_r_cn)=P.output.cp-P.output.cp/P.output.gamma;
sr_FTI(i)=P.output.entropy;
‘ox’,’O2(L)’,’O’,2,’h,btu/lbm’,-50.4,’t(r)’,170,’end’);
4 5
• HP problems require, at a minimum, that:
– 1) HP be declared
– 2) At least one chamber pressure defined in the problem dataset
– 3) At least one mixture ratio type and value defined in the problem
dataset or moles defined in the reactant dataset
– 4) Enthalpy defined either as a bulk property in the problem dataset, or
enthalpy defined for every reactant
– 5) A temperature defined for every reactant
’reac’,’fu’,’H2’,’H’,2,‘ox’,’O2(L)’,’O’,2,’end’);
’reac’,’fu’,’H2’,’H’,2,‘ox’,’O2(L)’,’O’,2,’end’);
reac’,’fu’,’H2’,’H’,2,‘ox’,’O2(L)’,’O’,2,’end’);
-2000,’reac’,’fu’,’H2’,’H’,2,‘ox’,’O2(L)’,’O’,2,’end’);