Cantera
Cantera
DavidGoodwin,OriginalDeveloperofCantera
1957 2012
Instalacin
http://sourceforge.net/projects/cantera/files/cantera/2.1.2/
http://sourceforge.net/projects/cantera/files/cantera/2.1.2/
http://www.et.byu.edu/~tom/classes/641/Cantera/liquidvapor.pdf
FluidObjects
FluidObjects
FluidObjects
Help!
dir(h2o)
['HP', 'HPX', 'HPY', 'ID', 'P', 'PX', 'P_sat', 'SP', 'SPX', 'SPY',
'SV', 'SVX', 'SVY', 'T', 'TD', 'TDX', 'TDY', 'TP', 'TPX', 'TPY', 'TX',
'T_sat', 'UV', 'UVX', 'UVY', 'X', 'Y', '__call__', '__class__',
' delattr ',
' ' doc ',
' ' format ',
' ' getattribute ',
'
'__getitem__', '__hash__', '__init__', '__new__', '__pyx_vtable__',
'__reduce__', '__reduce_ex__', '__repr__', '__setattr__',
'__sizeof__', '__str__', '__subclasshook__', 'atomic_weight',
'atomic
atomic weights
weights', 'basis'
basis , 'chemical
chemical potentials
potentials', 'concentrations'
concentrations ,
'cp', 'cp_mass', 'cp_mole', 'critical_density', 'critical_pressure',
'critical_temperature', 'cv', 'cv_mass', 'cv_mole', 'density',
'density_mass', 'density_mole', 'electric_potential',
'electrochemical
electrochemical potentials
potentials', 'element
element index
index', 'element
element name
name',
'element_names', 'element_potentials', 'enthalpy_mass',
'enthalpy_mole', 'entropy_mass', 'entropy_mole', 'equilibrate', 'g',
'gibbs_mass', 'gibbs_mole', 'h', 'int_energy_mass', 'int_energy_mole',
'isothermal
isothermal compressibility
compressibility', 'max
max temp
temp', 'mean
mean molecular weight
weight',
'min_temp', 'molecular_weights', 'n_atoms', 'n_elements', 'n_species',
'name', 'partial_molar_cp', 'partial_molar_enthalpies',
'partial_molar_entropies', 'partial_molar_int_energies',
'partial
partial molar volumes
volumes', 'reference
reference pressure
pressure', 'report'
report , 's'
s ,
'selected_species', 'species_index', 'species_name', 'species_names',
'standard_cp_R', 'standard_enthalpies_RT', 'standard_entropies_R',
'standard_gibbs_RT', 'standard_int_energies_RT',
'thermal
thermal expansion coeff
coeff', 'u'
u , 'v'
v , 'volume
volume mass
mass', 'volume
volume mole
mole']
]
FluidObjects
Thesethreeobjectsareallindependent,andmayeachbesettoadifferent
state:
Objectsrepresentingtheotherfluidsmaybecreatedbycallingthe
appropriatefunction:
Compresinisentrpica!
Units
Cantera alwaysusesSIunits,withquantityexpressedinkmol.
Saturation Properties
The Saturation Pressure
T<TC
The Saturation Temperature
P PC
P<P
VaporFraction