From charlesreid1

(Redirected page to Category:Cantera)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
Cantera is a C++ package that provides objects for solving chemical kinetics, thermodynamics, and transport problems.  The core of Cantera is written in C++, but it provides interfaces for using Cantera through [[Matlab]] (via a Matlab toolbox), [[Python]], or Fortran.
#REDIRECT [[:Category:Cantera]]
 
 
= Installation =
 
== Mac ==
 
If you're installing Cantera on a Mac, you have to [[Compiling Software|build it from source]].
 
Start by downloading the Cantera 1.7 or 1.8 source code, and unzip it.  Go to this directory, and edit the <code>preconfig</code> file.  This is a wrapper for configure (so when you are ready to configure, you don't run <code>./configure</code>, you run <code>./preconfig</code>).  Preconfig contains many options that are laid out very clearly, so go through the file and set values appropriate to your system.
 
 
 
=== Dependencies ===
 
If you wish to use Cantera from [[Python]], you have two options:
 
* Use version 1.8.0 and install Numpy
* Use version 1.7.x and install Numarray
 
I highly recommend using version 1.8.0 and Numpy, as Numarray is no longer supported.
 
Anther package that is not required by Cantera, but that is useful, is [https://computation.llnl.gov/casc/sundials/main.html sundials], a suite of nonlinear and differential equation solvers.
 
 
 
=== Building ===
 
Your next steps are obvious:
 
<syntaxhighlight lang="bash">
$ ./preconfig
$ make
$ make install
</syntaxhighlight>
 
= Resources =
 
Cantera Google Groups Page - https://code.google.com/p/cantera/
 
* Download Cantera 1.8.0 (beta), source code ONLY
* Check out a copy of the subversion repository
*
 
Cantera (Google) Users Group Page - https://groups.google.com/group/cantera-users?pli=1
 
* Download Cantera documentation
* Use the discussion board
 
Cantera SourceForge Page - http://sourceforge.net/projects/cantera/files/
 
* Download Cantera 1.7.1, source code or (Windows) binaries
* Download (more) Cantera documentation
 
 
 
[[Category:Computers]]
[[Category:Programs]]

Latest revision as of 09:45, 12 May 2011

Redirect to: