From charlesreid1

No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|border="1" cellpadding="10" cellspacing="0"
Cantera is a library for performing thermodynamics and chemical kinetics calculations. It implements much of the bookkeeping functionality that makes solving kinetics problems so tedious, and does so with rigor.
|align="center" |[[File:Wrench.gif|frameless|100px]]


|[[Installing Cantera]]
Cantera is a moving target. Since I began making notes on Cantera, it has gone through at least four different build systems, each completely different (autoconf, pybombs, scons, and now spack, with a fork that used cmake). The dependencies have likewise expanded to include boost, eigen, scons, fmt, cython, and numpy. This greatly increases the number of libraries that can potentially break Cantera (see e.g. https://github.com/Cantera/cantera/issues/470).
* [[Installing Cantera#Leopard|Mac OS X 10.5 (Leopard)]]
* [[Installing Cantera#Snow Leopard|Mac OS X 10.6 (Snow Leopard)]]
* [[Installing Cantera#Windows XP|Windows XP]]
* [[Installing Cantera#Windows 7|Windows 7]]


|-
All of this means that Cantera is as frustrating as ever to build, and it also means that many pages of notes on this wiki covering Cantera are now obsolete.
|align="center" |[[Image:Code.jpg|frameless|150px]]


|[[Using Cantera]]
Good luck.
* [[Using Cantera#Matlab|Matlab]]
* [[Using Cantera#Python|Python]]
* [[Using Cantera#C++|C++]]


|-
'''Old info:'''
|align="center" |[[Image:Blackboard.jpg|frameless|150px]]


|[[Cantera Lecture]]
<s>The pages linked to on this page contain a lot of assorted notes about Cantera. The current version of Cantera, 2.1, broke backwards compatibility, so some of the notes you see will no longer work because they were written for Cantera 2.0. More recently I have made it a point to specify which version of Cantera my notes refer to, so if you don't see any information, you can assume it is for version 2.0.</s>


|-
[[Category:Combustion]]
|align="center" |[[Image:Script.gif|frameless|100px]]
 
|<u>'''Cantera Files and Scripts'''</u>
 
'''Cantera Preconfig'''
 
* Preconfig file for [[Cantera_Preconfig/Leopard_Preconfig|Mac OS X 10.5 (Leopard)]]
* Preconfig file for [[Cantera_Preconfig/Snow_Leopard_Preconfig|Mac OS X 10.6 (Snow Leopard)]]
 
'''Cantera Examples'''
 
The following files give examples of how to use Cantera using the Matlab and Python interfaces.
 
* Constant volume batch reactor (Matlab):
** http://files.charlesmartinreid.com/CanteraLecture_Batch.m
* Constant pressure batch reactor (Matlab)
** http://files.charlesmartinreid.com/CanteraLecture_BatchConstP.m
* Continuously stirred combustor (Matlab)
** http://files.charlesmartinreid.com/CanteraLecture_CSTR.m
* Adiabatic flame temperature (Python)
** http://files.charlesmartinreid.com/CanteraLecture_Adiabatic.py
 
'''Cantera Lecture Screencast'''
 
This video is a screencast of a lecture I gave as a TA for a combustion course at the University of Utah in Fall 2010.  It covers installation of Cantera, as well as basic Cantera concepts and usage.
 
* http://files.charlesmartinreid.com/CanteraScreencast.mov
 
|}

Latest revision as of 00:56, 14 August 2017

Cantera is a library for performing thermodynamics and chemical kinetics calculations. It implements much of the bookkeeping functionality that makes solving kinetics problems so tedious, and does so with rigor.

Cantera is a moving target. Since I began making notes on Cantera, it has gone through at least four different build systems, each completely different (autoconf, pybombs, scons, and now spack, with a fork that used cmake). The dependencies have likewise expanded to include boost, eigen, scons, fmt, cython, and numpy. This greatly increases the number of libraries that can potentially break Cantera (see e.g. https://github.com/Cantera/cantera/issues/470).

All of this means that Cantera is as frustrating as ever to build, and it also means that many pages of notes on this wiki covering Cantera are now obsolete.

Good luck.

Old info:

The pages linked to on this page contain a lot of assorted notes about Cantera. The current version of Cantera, 2.1, broke backwards compatibility, so some of the notes you see will no longer work because they were written for Cantera 2.0. More recently I have made it a point to specify which version of Cantera my notes refer to, so if you don't see any information, you can assume it is for version 2.0.

Pages in category "Cantera"

The following 58 pages are in this category, out of 58 total.