-
-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
.TH "yaml2ck" 1 "12 Aug 2022" "yaml2ck" \" -*- nroff -*- | ||
.ad l | ||
.nh | ||
.SH NAME | ||
yaml2ck \- convert Cantera YAML input files to Chemkin-format mechanisms | ||
|
||
.SH SYNOPSIS | ||
.B yaml2ck [\fIOPTIONS\fR] \fIINPUT\fR | ||
|
||
.SH DESCRIPTION | ||
|
||
.I yaml2ck | ||
converts a Cantera YAML input file to Chemkin-format reaction mechanism. | ||
|
||
The parameters are as follows: | ||
.TP | ||
.B \fIINPUT\fR | ||
Cantera YAML input file to be converted. This file contains the declarations | ||
of the elements and species, thermodynamic data, as well as the reactions | ||
and transport data (if any). | ||
.TP | ||
.B --phase-name=\fIPHASE\fR | ||
Name of the phase to load from the input. If unspecified, the first phase | ||
listed in the input file will be loaded. | ||
.TP | ||
.B --mechanism=\fIMECH\fR | ||
The path to the output mechanism file. Optional. If not provided, the name | ||
of the input file will be used, with the extension replaced by '.ck'. If | ||
the path specified here is an existing directory, the output file(s) will | ||
be placed in that directory. | ||
.TP | ||
.B --thermo=\fITHERM\fR | ||
The path to the output thermodynamics database file. Optional. If not | ||
provided, the thermodynamic data will be included in the mechanism file. | ||
.TP | ||
.B --transport=\fITRAN\fR | ||
The path to the output transport database file. Optional. If not provided, | ||
transport data will be included in the mechanism file. | ||
.TP | ||
.B --sort-elements=\fIOPTION\fR | ||
Sort elements in source order (None, default), alphabetically (alphabetical), | ||
or from lowest to highest atomic mass (molar-mass). | ||
.TP | ||
.B --sort-species=\fIOPTION\fR | ||
Sort species in source order (None, default), alphabetically (alphabetical), | ||
or from lowest to highest atomic mass (molar-mass). | ||
.TP | ||
.B --overwrite, --no-overwrite | ||
If set, overwrite existing output files. (default: False) | ||
.TP | ||
.B --validate, --no-validate | ||
Check that the mechanism can be loaded back into Cantera. (default: True) | ||
.TP | ||
.B -h | --help | ||
Show the help message and exit. | ||
|
||
.SH EXAMPLE | ||
yaml2ck --mechanism=chem.inp --thermo=therm.dat chem.yaml |