1 Installing Cantera 1.6 for Windows S. Browne and J.E. Shepherd Caltech January 2007.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

How to Use Stowe School District
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
IMS Client Installation Procedures 1. Copy the Voic Pro from the shared folder on the Voic Pro server. Go to Start, Run, and \\ or \\
®® Microsoft Windows 7 Windows Tutorial 8 Connecting to Networks with Mobile Computing.
NetAcumen ActiveX Download Instructions
1 Installing Cantera 1.7 for Windows S. Browne and J. E. Shepherd Caltech Revised March 24, 2007.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
®® Microsoft Windows 7 for Power Users Tutorial 10 Backing Up and Restoring Files.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Engineering Document Repository & Electronic Signature (E-Sign) Tutorial 1 DCG- Revision C 7/25/2014.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Cutting-and-Pasting Content Directly Into Blackboard.
Digital Image Processing Lecture3: Introduction to MATLAB.
Visual Basic Chapter 1 Mr. Wangler.
Tutorial 11 Installing, Updating, and Configuring Software
1 Lesson 6 Exploring Microsoft Office 2007 Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Web Technologies Website Development Trade & Industrial Education
IT 211 Project Integration and Deployment Lab #11.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Working with Windows 7 at CERN Michał Budzowski.
ECT 250: Survey of E-Commerce Technology FrontPage Publishing pages Unix.
Introduction to Windows7
1. Chapter 25 Protecting and Preparing Documents.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Sep. 18th 2006 Stefan Koestner Installation Guide ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
®® Microsoft Windows 7 for Power Users Tutorial 3 Managing Folders and Files.
1 Installing Cantera 1.7, Python 2.5, and Python SDToolbox for Windows J. Ziegler, S. Browne, and J. E. Shepherd Caltech Revised August, 2007.
March 7th 2005 Stefan Koestner LHCb week ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing the framework.
 Start Microsoft Word from the icon or shortcut for the application. This is usually accessible from the Start Button. Then go to Programs, then Microsoft.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Running External Applications 1. There are times when you may wish to run an external application from a VB application. 2 External Applications.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
XP Tutorial 3 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Organizing Files with Windows Explorer Tutorial 3.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
HOW TO FIX MSVCR100. DLL IS MISSING ERROR? missing-error.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
Lesson 11 Exploring Microsoft Office 2007
Excel Tutorial 8 Developing an Excel Application
NOODLETOOLS SIGN-IN Student ID #
Development Environment
Objectives Create a folder in Google Drive.
Using the Search History in EBSCO Interfaces
Advantech AE Siebel 8.1 SOP
How to add the packages for printing decision trees
ADE EDIS READ & Optimizer TRAINING Colorado Department of Education
Microsoft Windows XP Inside Out Second Edition
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
How to install the Enterprise Agent using Active Directory
Digital Image Processing
New Perspectives on Windows XP
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Windows Installation Tutorial
Running a Java Program using Blue Jay.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Executive Reports, Instructions and Documentation
Presentation transcript:

1 Installing Cantera 1.6 for Windows S. Browne and J.E. Shepherd Caltech January 2007

2 System Requirements A PC running MS Windows 2000, or Windows XP Python 2.4 Download the Windows installer from and run it Cantera uses Python to process input files, so it is required even if you will use Cantera from Matlab or another environment numarray site-package for Python Only needed if you plan to use Cantera from Python Adds fast array operations to Python Download the Windows installer from and run it The installer file is named numarray win32-py2.4.exe and is located under File Releases > Old Numarray > Optional Matlab 6.5 or higher MS Visual C Compaq Visual Fortran Graphviz (Needed to use reaction networks in MixMaster) –

3 Cantera 1.6 Installation Download the Cantera installer get Cantera160.msi and run it. This will create a folder that looks like the one shown here Run Cantera win32-py2.4.exe This creates the interface between Cantera and Python

4 Add the Python Interpreter to the Path Cantera needs to know where to find the Python interpreter, since it uses Python to process ‘.cti’ input files To edit the system search path, select “System” on the Control Panel to pull up this dialogue box Press the ‘Environment Variables’ button

5 Edit the PATH environment variable Add C:\PYTHON24 to the PATH (user) environment variable Use a semicolon between paths Note: Check your paths Environment Variables are Case Sensitive Some installation locations may be different depending on the user’s choices.

6 Put the Cantera Toolbox on the Matlab path Add ‘Cantera’ folder to the Matlab path Use the “Add with Subfolders” option. More details on next slide

7 Setting the Path in Matlab choose ‘Set Path…’ on the File menu Cantera Toolbox Cantera Demos Cantera Tutorials NOTE: There will be many more directories than those shown in this screen-shot (to the right), but only those shown are necessary – Others may be removed.

8 Cantera Thermo/Reaction Data.cti Format Files – Thermo/Reaction Input Files for Cantera Contain Description of the Mixture Thermodynamic Data Reaction Mechanism (optional) Transport Data (optional) Files included with Cantera Distribution Limited to Low Temperatures (< 3000 K) For Methane and Oxygen. High Temperature (up to 6000 K) Files Available at Creating New/Converting CHEMKIN Style Files Documented at Save all Thermo/Reaction Data Files (.cti or.xml) in C:\Program Files\Common Files\Cantera\data NOTE: There is a link ('data‘) to this directory in your Cantera base directory.

9 Using MixMaster There is an error in the distribution of Cantera – a shortcut to MixMaster does not appear It is convenient to add a shortcut to this application which is located at NOTE: in order to use MixMaster, install graphviz and numarray C:/Python24/Lib/site-packages/MixMaster/main.py

10 Matlab Cantera 1.6 Toolbox Bug The Cantera 1.6 Matlab Toolbox has a bug as well To Fix: Replace with

11 Testing Installation Make sure to restart your computer for the environment variables to take effect. Two Options to Test Installation 1.Open Matlab and try starting the first tutorial ‘tut1.m’ 2.Go to: and follow instructions Notes You must ‘set the current directory’ or ‘add the path’ of any m-file that you want to execute If you added the Cantera directory with the "Add with Subfolders" option (Slide 7) – the demos and tutorials will be in the Matlab path If you have difficulties – READ ON

12 Tips and hints 1. Version Compatibility – Check that Matlab and Cantera Versions are Compatible (i.e. Use Cantera 1.6 with Matlab 6.5 or Matlab 7.1) 2. numarray – Be sure to install numarray NOT numpy or Numeric 3. Python Version – Make sure you have Python 2.4 and numarray (numarray win32-py2.4.exe) 4. Environment Variables a)Case Sensitivity – Make sure that all paths specified truly exist. b)USER Environment Variables NOT SYSTEM Environment Variables c)Cantera – Modified PATH Variable – Check that the directory of Python Interpreter is in the USER PATH Variable – Different for Cantera 1.7.0

13 Tips and hints 5. Test Cantera/Python Interface Run tut1.py (python tutorial file) Located in Cantera\tutorials\Python To Run: Right click on ‘tut1.py’ and left click on ‘Edit with Idle’ In the tut1.py window enter "F5" (shortcut for Run > RunModule) Results Correct – the comments of the tutorial print in the Python Shell window If NOT – Python or Cantera install is incorrect. This must be fixed before even trying Matlab.

14 Tips and hints 6. Persistent Matlab Trouble  Check Matlab Path – Be sure that BOTH Cantera Toolbox & Program you are Running are in the Matlab Path  Check Slide 7 – Does Your Path Match the Blue Box? You should see Cantera Cantera\MATLAB Cantera\MATLAB\toolbox Cantera\MATLAB\toolbox\cantera Cantera\MATLAB\toolbox\cantera\1D Cantera\demos\MATLAB Cantera\tutorials\MATLAB at the top of the path list if you did this properly 7. Data Directory – Are the.cti or.xml files in the data directory (Slide 8)

15 Tips and hints – External Documentation 8. Cantera Documentation  Cantera Web Site (Currently No Windows Documentation) Shock & Detonation Toolbox Site 9. Yahoo Cantera User Forum