Warning

This documentation is for an old version of Cantera. You can find docs for newer versions here.

Built-In Thermochemical Data

Data

Air()

Create an object representing air.

Air is modeled as an ideal gas mixture. The specification is taken from file air.xml. Several reactions among oxygen and nitrogen are defined.

Returns:Instance of class Solution()
constants()

Get the values of important constants.

Deprecated. To be removed after Cantera 2.3. Use oneatm() and gasconstant() instead.

Returns:If one output argument is given, returns one atmosphere in Pascals. If two output arguments are given, returns one atmosphere in Pascals and the universal gas constant in J/kmol-K.
gasconstant()

Get the universal gas constant in J/kmol-K.

Returns:The universal gas constant in J/kmol-K.
GRI30(tr)

Create an object with the GRI-Mech 3.0 reaction mechanism.

Create a Solution instance representing reaction mechanism GRI-Mech 3.0.

GRI-Mech 3.0 is a widely-used reaction mechanism for natural gas combustion. It contains 53 species composed of the elements H, C, O, N, and/or Ar, and 325 reactions, most of which are reversible. GRI-Mech 3.0, like most combustion mechanisms, is designed for use at pressures where the ideal gas law holds. GRI-Mech 3.0 is available from http://www.me.berkeley.edu/gri_mech/

Function GRI30() creates the solution according to the specifications in file gri30.cti. The ideal gas equation of state is used. Transport property evaluation is disabled by default. To enable transport properties, supply the name of the transport model to use.

g1 = GRI30           % no transport properties
g2 = GRI30('Mix')    % mixture-averaged transport properties
g3 = GRI30('Multi')  % miulticomponent transport properties
Parameters:tr – Transport modeling, ‘Mix’ or ‘Multi’
Returns:Instance of class Solution()
Hydrogen()

Return an object representing hydrogen.

The object returned by this method implements an accurate equation of state for hydrogen that can be used in the liquid, vapor, saturated liquid/vapor, and supercritical regions of the phase diagram. The equation of state is taken from

Reynolds, W. C. Thermodynamic Properties in SI: graphs, tables, and computational equations for forty substances Stanford: Stanford University, 1979. Print.

For more details, see classes Cantera::PureFluid and tpx::hydrogen in the Cantera C++ source code documentation.

Returns:Instance of class Solution()
Methane()

Return an object representing methane.

The object returned by this method implements an accurate equation of state for methane that can be used in the liquid, vapor, saturated liquid/vapor, and supercritical regions of the phase diagram. The equation of state is taken from

Reynolds, W. C. Thermodynamic Properties in SI: graphs, tables, and computational equations for forty substances Stanford: Stanford University, 1979. Print.

Returns:Instance of class Solution()
Nitrogen()

Return an object representing nitrogen.

The object returned by this method implements an accurate equation of state for nitrogen that can be used in the liquid, vapor, saturated liquid/vapor, and supercritical regions of the phase diagram. The equation of state is taken from

Reynolds, W. C. Thermodynamic Properties in SI: graphs, tables, and computational equations for forty substances Stanford: Stanford University, 1979. Print.

Returns:Instance of class Solution()
oneatm()

Get one atmosphere in Pa.

Returns:One atmosphere in Pascals.
Oxygen()

Return an object representing oxygen.

The object returned by this method implements an accurate equation of state for oxygen that can be used in the liquid, vapor, saturated liquid/vapor, and supercritical regions of the phase diagram. The equation of state is taken from

Reynolds, W. C. Thermodynamic Properties in SI: graphs, tables, and computational equations for forty substances Stanford: Stanford University, 1979. Print.

Returns:Instance of class Solution()
Water()

Return an object representing water.

The object returned by this method implements an accurate equation of state for water that can be used in the liquid, vapor, saturated liquid/vapor, and supercritical regions of the phase diagram. The equation of state is taken from

Reynolds, W. C. Thermodynamic Properties in SI: graphs, tables, and computational equations for forty substances. Stanford: Stanford University, 1979. Print.

For more details, see classes Cantera::PureFluid and tpx::water in the Cantera C++ source code documentation.

Returns:Instance of class Solution()