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.

ck2cti

(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 function should be used the following :

ck2cti –-input=scheme.inp –-thermo=thermo.dat –-transport=tran.dat

 

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 event has been found

No event has been found

Tout afficher