CanteraPFR
Plug-flow reactor implemented with Cantera
Install / Use
/learn @wallytutor/CanteraPFRREADME
CanteraPFR
Provides several variations of a plug-flow reactor (PFR) model constructed over Cantera framework of chemical kinetics. These models range from isothermal to predefined wall profiles variations of PFR.
Installation
For detailed instructions, read INSTALL_.
.. _INSTALL: https://github.com/waltermateriais/CanteraPFR/blob/master/INSTALL.rst
Linux
Tested on Ubuntu 18.04.
- Install
libopenblas-dev,libboost-dev(or equivalent) with your package manager. - Install
sconswithpip,condaor your package manager. - Run
./get_cantera.shand wait for completion. - Run
makeand wait for completion.
Cygwin (Windows)
Tested on Windows 10.
- Double-click
get_cygwin.batand wait for completion. - Double-click
cygwin\\Cygwin.batto open a terminal. - In terminal, move to this directory with
cd. - Run
makeand wait for completion.
Documentation
Only after building the project, otherwise Sphinx will not be able to import!
In order to generate the documentation, go to directory CanteraPFR/doc/ and
run make. This will provide a list of types you can compile the documentation.
The default format is make html and this is already compiled with library is
built. Documentation will be generated under CanteraPFR/doc/build/<type>.
Contribute
Please do not hesitate to contact me if you have suggestions or wish to request new functionalities. I still have a lot of materials from my PhD to organize and make available here. This will comprise, depending on my free time, a PFR with imposed wall temperature, an adiabatic PFR (adapted from here_), and an automatic skeletal mechanism generation with DRG method.
.. _here: https://github.com/Cantera/cantera-jupyter/blob/master/reactors/1D_pfr_surfchem.ipynb
Email: waltermateriais@gmail.com
Limitations
- Cantera shared library failed on Cygwin!
- For some weird reason Sundials 3.1.0 does not work with Cython modules (although binaries compiled with it run just fine).
