ASALI is an open-source code for solving gas thermodynamic and transport properties, catalytic reactors and chemical equilibrium calculations. ASALI is based on CANTERA open-source suite, EIGEN libraries, GTKMM libraries and GNUPLOT. CANTERA estimates the thermodynamic and transport properties based on the kinetic gas theory and NASA database, EIGEN libraries manage the complex numerical part of ASALI and GTKMM libraries handles the graphical interface. Moreover the plots are generated by using GNUPLOT.
1. Ubuntu Version
The installation of ASALI requires to install CANTERA and GNUPLOT. It also requires EIGEN and GTKMM libraries.
1.1 How to install CANTERA
CANTERA can be installed with the following commands:
sudo apt-get install python-software-propertiessudo apt-add-repository ppa:speth/canterasudo aptitude updatesudo aptitude install cantera-python cantera-python3 cantera-dev
More details can be found at: http://www.cantera.org/docs/sphinx/html/install.html
1.2 How to install EIGEN libraries
EIGEN libraries can be downloaded from: http://eigen.tuxfamily.org
1.3 How to install GTKMM libraries
GTKMM libraries can be downloaded with the following command:
sudo apt-get install libgtkmm-3.0-dev
More details can be found at: https://www.gtkmm.org/en/
1.4 How to install GNUPLOT
GNUPLOT can be installed with the following command:
sudo apt-get install gnuplot
Details can be found at: http://gnuplot.info/
1.5 How to install ASALI
To install ASALI modify the make file as follow:
- change the environmental variable CANTERA with the path of you CANTERA installation.
- E.g.
export CANTERA=/my/cantera/installation
- E.g.
- change the environmental variable EIGEN with the path of your EIGEN libraries.
- E.g.
export EIGEN=/my/eigen/libraries
- E.g.
Once you have changed the environmental variables, run the following commands:
./make.sh
sudo ln -s $HOME/your/asali/folder/Asali /usr/bin/Asali
To run ASALI:
Asali
2. Windows Version
To install ASALI on Windows just double click on Asali-Setup and follow the instructions.
3. Matlab/Octave Version
The Matlab/Octave version of ASALI is totally self-coded, so it is not based on CANTERA, EIGEN libraries and GTKMM libraries. To use ASALI in MATLAB/Octave download Asali.exe and Asali.m and save them in your working folder.