1ck2yaml(1)                  General Commands Manual                 ck2yaml(1)
2
3
4

NAME

6       ck2yaml - convert Chemkin-II-format mechanisms to Cantera YAML input
7       files
8
9

SYNOPSIS

11       ck2yaml [--input=<filename>] [--thermo=<filename>]
12       [--transport=<filename>] [--surface=<filename>] [--name=<name>]
13       [--extra=<filename>] [--output=<filename>] [--permissive] [--quiet]
14       [--no-validate] [-d | --debug]
15
16

DESCRIPTION

18       ck2yaml converts a Chemkin-II-format reaction mechanism file to Cantera
19       input format.  The resulting Cantera input file contains phase
20       definitions, species definitions, and reaction definitions, depending
21       on the inputs provided. The Cantera-format mechanism is written to the
22       file named by output.
23
24       The parameters are as follows:
25
26       --input=filename
27              Chemkin-II gas-phase reaction mechanism file to be converted.
28              This file contains the declarations of the elements and species,
29              as well as the reactions (if any). It may also contain the
30              thermodynamic and transport data.
31
32       --thermo=filename
33              Thermodynamic property database. If the input file does not have
34              a THERMO section, or does not have entries for one or more
35              species, this file will be searched for the required thermo
36              data. A YAML file containing only species definitions (which can
37              be referenced from phase definitions in other input files) can
38              be created by specifying a thermo file with no input file.
39
40       --transport=filename
41              Transport property database. If this file name is supplied,
42              transport property parameters will be taken from this file and
43              included in the output Cantera-format file. If this parameter is
44              omitted, and no TRANSPORT section was included in the main input
45              file, no transport property parameters will be included in the
46              output.
47
48       --surface=filename
49              Surface phase definition. If this file name is supplied, an
50              additional phase entry for a surface phase will be read from
51              this file, and a reactions section will be created for any
52              surface reactions defined in this file.
53
54       --name=name
55              Optional identification string, used to set the name of the
56              ideal-gas phase in the Cantera-format output. If this parameter
57              is omitted, it will be set to gas.
58
59       --extra=filename
60              This option takes a YAML file as input. It can be used to add to
61              the file description, or to define custom fields that are
62              included in the YAML output.
63
64       --output=filename
65              If the output file name is not given, an output file will be
66              created with the same name as the input file, with the extension
67              changed to .yaml.
68
69       --permissive
70              Allows certain recoverable parsing errors (such as duplicate
71              transport data) to be ignored.
72
73       --quiet
74              Disables all non-error output, for use in batch processing.
75
76       --no-validate
77              Disables validation of the converted mechanism by importing it
78              from the Cantera Python module.
79
80       -d | --debug
81              Enables additional debugging output.
82
83

EXAMPLE

85       ck2yaml --input=chem.inp --thermo=therm.dat --transport=tran.dat
86
87
88
89ck2yaml                           6 Feb 2021                        ck2yaml(1)
Impressum