Cantera

Previous topic

Physical Constants

Next topic

Convenience Functions

This Page

Warning

This documentation is for an old version of Cantera. You can find docs for newer versions here.

Miscellaneous Utilities

Cantera.addDirectory(dir)

Add a directory to search for Cantera data files.

Cantera.reset()

Release all cached Cantera data. Equivalent to starting a fresh session.

Cantera.writeCSV(f, lst)

Write list items to file f in comma-separated-value format. Strings will be written as-is, and other types of objects will be converted to strings and then written. Each call to writeCSV writes one line of the file.

Cantera.writeLogFile(file)