CERFACS Chemistry Sharing knowledge for CFD chemical kinetics

Cantera tools

In this section, a list of the tools usable in Cantera is provided to the user.

ck2yaml

(CHEMKIN format to CANTERA format)

From CHEMKIN files, this will create the corresponding CANTERA format. CHEMKIN format is usually made of three different files :

  • a “.inp” file, which is the mechanism itself.
  • a thermo file, which relates the thermodynamic data.
  • a tran file, which relates the transport data.

The option –-permissive is often useful to convert the files when duplicate thermo and transport properties exist in the chemkin file.

The function should be used the following :

ck2yaml –-input=scheme.inp –-thermo=thermo.dat –-transport=tran.dat --permissive

ctml_writer

(cti format to xml format)

This function can be found directly in the distribution of CANTERA. This allows you to change the format of the CANTERA file.

The function should be used the following :

ctml_writer scheme.cti

xml2ck

(CANTERA format to CHEMKIN format)

This is the reverse of ck2cti : from a .xml file, it will create the corresponding CHEMKIN files.

The function should be used the following :

python xml2ck.py scheme.xml

No content defined in the sidebar.