ck2cti(1)

NAME
ck2cti - convert a Chemkin-II-format reaction mechanism file to Cantera input format.

SYNOPSIS
ck2cti -i input [-t thermo] [-tr transport] [-id idtag]

DESCRIPTION
ck2cti converts a Chemkin-II-format reaction mechanism file to Cantera input format. The resulting Cantera input file contains a definition of one ideal_gas entry that represents an ideal gas mixture corresponding to the Chemkin-II reaction mechanism. The file also contains Cantera-format definitions for each species and each reaction in the input reaction mechanism file. The Cantera-format text is written to the standard output. The parameters are as follows:

input
    Chemkin-II reaction mechanism file to be converted. Required.

thermo
    Thermodynamic property database. If the THERMO section of the input file is missing or does not have entries for one or more species, this file will be searched for the required thermo data. This file may be another reaction mechanism file containing a THERMO section, or a Chemkin-II-compatible thermodynamic database file.

transport
    Transport property database. If this file name is supplied, transport property parameters will be taken from this file and included in the output Cantera-format file. If this parameter is omitted, no transport property parameters will be included in the output.

id  Identification string. The ideal_gas entry in the Cantera-format output has name id. If this parameter is omitted, it will be set to the input file name without the extension. Since only one phase definition is present in the ck2cti output, this parameter is not required.

EXAMPLES
Create a Cantera input file from a self-contained Chemkin-format file without transport parameters:

ck2cti -i mech.inp > mech.cti

Create a Cantera input file from a Chemkin-format file that requires a
    separate thermodynamic database without transport parameters:

ck2cti -i mech.inp -t therm.dat > mech.cti

Create a Cantera input file from a Chemkin-format file that requires a
    separate thermodynamic database and include transport parameters:

ck2cti -i mech.inp -t therm.dat -tr tran.dat > mech.cti