You are on page 1of 11

InstaIIing Cantera 1.7.

1
in Windows XP
Li-Chun (Ricky) Chien
ME140 Combustion Processes FaII'07
Course website:
http://www.me.berkeIey.edu/ME140/F07
E-maiI: Icchien@berkeIey.edu
Something you shouId know .
Download homework problems from course website
(go to Homework Assignments and Sol)
Download lab demonstration handouts from course website
(go to Lab Demonstrations)
The due date of each homework can be found on course
website (go to Homework Assignments and Sol)
No discussion session, replaced by lab demonstrations
Check course website frequently for up-to-date information
Feel free to e-mail TA if you have any question
Let's have fun and learn a lot from ME140 together!!
InstaIIation
Download the Python windows program installer
(python-2.5.1.msi) from http://www.python.org/download
Run the python-2.5.1.msi windows program installer
Download the Cantera windows program installer
(Cantera-1.7.1.msi ) from http://sourceforge.net/projects/cantera
Run the Cantera-1.7.1.msi windows program installer
NOTE: f you are using MATLAB 7.1 or order version, you might need to use
Python 2.4.4 and Cantera 1.6.0r3.
InstaIIing Cantera-Python package
Execute application file: Cantera-1.7.0.win32-py2.5.exe
Execute this appIication fiIe
If python is correctIy instaIIed..
Add Python Interpreter to the Path
Cantera needs to know where
to find the python interpreter
since Cantera uses python to
process '.cti' files
To edit system search path,
select 'system' on the Control
Panel
Press 'Environment Variables'
button
Edit the PATH
of Environment VariabIes
Add C:\Python25 (or Python24 if you installed python-2.4.4) to
the PATH environment variable (user variable)
Use a semicolon between paths
Add PYTHONPATH to
Environment VariabIes
Add Cantera TooIbox
on the MatIab Path
Add this folder to the Matlab path:
c:\Program Files\cantera\MATLAB\toolbox\cantera
(Assume you install cantera under 'Program Files' in c drive)
Set the Path in MatIab
Choose 'Set Path..' on the File Menu Add this
Cantera foIder
It's done!!
f you install everything correctly, you should
already get Cantera worked
Run the demo or tutorials in Matlab to test your
installation

You might also like