Windows installation(has done in windows 7 and 8 machines)
1. Download Python from python.org
2. Choose python-2.7.9
3. Install it.
4. Download numpy-1.9.2-win32-superpack-python2.7 from website http://sourceforge.net/projects/numpy/files.
5. Make sure that you select .exe file. Somehow I do not like whl file.
6. Install it and make sure it is installed in the previous python home directory.
7. Download (32bit, not 64bit, somehow I have problems for 64bit versions. The good news is that both windows 7 and 8 are compatible for 32bit versions) Cantera-2.1.2-x86.msi and Cantera-Python-2.1.2-x86-py2.7.msi files.
8. Install it. Make sure you SHOULD install Cantera-Python-2.1.2-x86-py2.7.msi into the previous python home directory.
9. Now open python command line or shell GUI interface. Input following commands.
import cantera gas = cantera.Solution('gri30.cti') h2o = cantera.PureFluid('liquidvapor.cti', 'water')
If everything is fine and you are lucky, you should successfully install the
cantera in your windows machine.
Linux/Unix installation: not completed and tested yet
1. go to website: http://sourceforge.net/projects/cantera/
2. download the file cantera-2.1.2.tar.gz
3. tar xzvf cantera-2.1.2.tar.gz
4. go to website http://sourceforge.net/projects/numpy/
5. download file numpy-1.9.2.tar.gz\
6. tax xzvf numpy-1.9.2.tar.gz
7. cd numpy-1.9.2
8. python setup.py install --home=$HOME/python_modules
The “ignition delay time” can be considered the time at which the reaction “takes off”. For our purposes, this can be considered the time at which the temperature rise corresponds to approximately 50% of the final value.
No comments:
Post a Comment