Naji,
I also tried to find an answer to this question. There is a sample at 'share/cantera/samples/python/reactors/surf_pfr_sim' that uses a series of Reactor() to model a PFR. The sample is in PYTHON but it can easily be translated to MATLAB scripting language. My concern about this implementation is a lack of steady-state option to simulation.
For while I think our best option should be to implement a PFR by hand using simple mass and energy balances since we can get enthalpy and rate calculations from Cantera. There is a reference for this: Nogare's thesis (
http://paduaresearch.cab.unipd.it/508) in page 41. The MATLAB source code is available in Appendix (page 143).
Rodolfo
On Monday, July 23, 2012 4:15:31 AM UTC-4, Naji wrote:
Hello Cantera group,
After an investigation of the previous posts on this group, I couldn't find a direct answer to this question:
Is there a plug flow reactor model that can be used in cantera for matlab. i.e. other than the " Reactor() " reactor model that models a PSR.
Any help would be well appreciated.
P.s: I am a noob in Cantera
Cheers,