1yaml2ck(1) General Commands Manual yaml2ck(1)
2
3
4
6 yaml2ck - convert Cantera YAML input files to Chemkin-format mechanisms
7
8
10 yaml2ck [OPTIONS] INPUT
11
12
14 yaml2ck converts a Cantera YAML input file to Chemkin-format reaction
15 mechanism.
16
17 The parameters are as follows:
18
19 INPUT Cantera YAML input file to be converted. This file contains the
20 declarations of the elements and species, thermodynamic data, as
21 well as the reactions and transport data (if any).
22
23 --phase-name=PHASE
24 Name of the phase to load from the input. If unspecified, the
25 first phase listed in the input file will be loaded.
26
27 --mechanism=MECH
28 The path to the output mechanism file. Optional. If not
29 provided, the name of the input file will be used, with the
30 extension replaced by '.ck'. If the path specified here is an
31 existing directory, the output file(s) will be placed in that
32 directory.
33
34 --thermo=THERM
35 The path to the output thermodynamics database file. Optional.
36 If not provided, the thermodynamic data will be included in the
37 mechanism file.
38
39 --transport=TRAN
40 The path to the output transport database file. Optional. If not
41 provided, transport data will be included in the mechanism file.
42
43 --sort-elements=OPTION
44 Sort elements in source order (None, default), alphabetically
45 (alphabetical), or from lowest to highest atomic mass (molar-
46 mass).
47
48 --sort-species=OPTION
49 Sort species in source order (None, default), alphabetically
50 (alphabetical), or from lowest to highest atomic mass (molar-
51 mass).
52
53 --overwrite, --no-overwrite
54 If set, overwrite existing output files. (default: False)
55
56 --validate, --no-validate
57 Check that the mechanism can be loaded back into Cantera.
58 (default: True)
59
60 -h | --help
61 Show the help message and exit.
62
63
65 yaml2ck --mechanism=chem.inp --thermo=therm.dat chem.yaml
66
67
68
69yaml2ck 12 Aug 2022 yaml2ck(1)