The CHEMKIN system is supplied by Sandia National Laboratories
and is described by Kee et al (1993a). CHEMKIN consists of:
Associated with CHEMKIN, and also supplied by Sandia National
Labs, is a further system that supplies transport data; this is
described by Kee et al (1993b). The transport properties system
consists of:-
The PHOENICS CHEMKIN Interface provides a range of facilities,
from which the user may choose those that he requires. The
facilities provided are:
The interface to the CHEMKIN and TRANLIB routines takes the form
of a single large subroutine GXCHKI which is called from a number
of points in GREX3, from GXPRPS (for physical properties), and
from GXRHO and GXENUL.
The subroutine is not entirely straightforward because the CHEMKIN and TRANLIB routines
calculate properties, or reaction rates, for all species in a cell
simultaneously, whereas PHOENICS EARTH requires the properties for
a single species for all cells in a slab at each call.
The differences in the order of data access are resolved by making the
calls to the CHEMKIN and TRANLIB routines when the first species
is accessed; the properties are then stored in dedicated F-array
segments, created using GXMAKE calls, which have NX*NY*K elements.
Note that K is the number of species specified in the CHEMKIN input
file.
The primary data input to PHOENICS is, as usual, through
the Q1 file and it is the Q1 file that controls the options
in the CHEMKIN interface. However, if the CHEMKIN SATLIT
programme CHEMST is run, the SATELLITE will read the CKLINK
file and make settings on the basis of its contents.
However, in addition to the EARDAT file generated by the
SATELLITE from the Q1 file, the user must supply the
following CHEMKIN file:
If variable CSG4 is set in the Q1 file, then the non-blank
characters of CSG4 are used to construct a file-name for
the CKLINK and TPLINK files. For example, if the setting
After a successful read will report the files used in the RESULT
file and in the screen output. The user may change the
directories searched by modifying the appropriate lines of the
EARCON file. The same procedure is followed by the SATELLITE when
the CHEMST coding is activated (see below for further details).
a) The CHEMKIN System
(b)The PHOENICS CHEMKIN Interface
The thermodynamic properties and the reaction rates are obtained
by making calls to routines in the CHEMKIN Library, and the
transport properties are obtained by making calls to the Sandia
National Lab.s Multi-component Transport Library (TRANLIB). In
addition the two-point boundary problem solver TWOPNT may be used
to solve the difference equations when the reaction rates are
known to be large.
1.1 Organisation and Data
CKLINK - the CHEMKIN link file generated by the user from
and if the Sandia Transport Library is used to supply the
transport properties;
the mechanism file xxxx.CKM by running the
CKINTERP program
TPLINK - the Transport Properties link file generated by
The data-flow may be visualised thus:
the user from the CKLINK file by running the
TRANFIT program
-------- -------
--------- / / -------- / /
|xxxx.CKM|-->| CKINTERP |---->|CKLINK|--->| TRANFIT |
--------- / / -------- / /
-------- | -------
/ / |
/ / --------
/ / |TPLINK|
/ / --------
/ / |
/ / |
/ / |
V V V
--------- -------
------ / / / /
| Q1 |--->| SATELLITE |--------------->| EARTH |
------ / / / /
--------- -------
CSG4 = 'ho11'
is made, the CKLINK data will be read from the file
ho11ckln
and the TPLINK data will be read from the file
ho11mcln
The PHOENICS-EARTH code will attempt to read the CKLINK and
TPLINK files from the users private directory, however, if
one of the files is not found, then an attempt will be made
read the file from the directory;
PHOENICS/d_earth/d_spefor/d_chmkin
1.2 Basics of the Model