Example Input Files#
The following example input files, demonstrate how some of the features of Cantera’s YAML format can be used to define phases, species, and reactions. These files are a subset of the input files included with Cantera.
h2o2.yamlA basic gas phase reaction mechanism. Demonstrates multiple phase definitions using the same set of species, specification of transport properties, and parameters for the Redlich-Kwong equation of state.
diamond.yamlA heterogenous reaction mechanism. Demonstrates defining surfaces and adjacent bulk phases and reading species definitions from other input files. This input file is used in the example
diamond_cvd.py.lithium_ion_battery.yamlAn input file for an LCO/graphite lithium-ion battery. Demonstrates multiple surface phase definitions, input for the
binary-solution-tabulatedthermo model, and electrochemical reactions. This input file is used in the examplelithium_ion_battery.py.covdepsurf.yamlAn input file for a surface phase where the non-ideal interactions between species are accounted for in the calculation of the enthalpy and entropy. Demonstrates the
coverage-dependent-surfacemodel and the correspondingcoverage-dependenciesfield of thespeciesentry. This input file is used in the examplecoverage_dependent_surf.py.oxygen-plasma-itikawa.yamlAn input file representing some plasma interactions. Demonstrates the setup of a
plasmaphase, reactions parameterized using thetwo-temperature-plasmaandelectron-collision-plasmarate types, and the use of multiplereactionssections.