Re: Plug flow reactor in Cantera for Matlab

1,300 views
Skip to first unread message

Rodolfo

unread,
Jul 23, 2012, 11:02:21 AM7/23/12
to canter...@googlegroups.com

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,

Naji

unread,
Jul 24, 2012, 2:55:35 AM7/24/12
to canter...@googlegroups.com
Many Thanks Rodolofo,

Its a shame though, this Software could've been almost a complete replacement to Chemkin ( which I originally used, but now i dont have access to cz money matters !!). You seem like you're well rounded so i'll bug you with another question:

Frankly, i installed cantera for matlab and started running tutorials, but truthfully, I am not quite sure about how matlab interacts with cantera/python or C++ to carry out my calculations ( so i am using it in a black box fashion). Any clarification on how they are all linked up would be splendid.

Again, Your support is appreciated.
NA-G (that's how its pronounced) !

Rodolfo Rodrigues

unread,
Jul 24, 2012, 9:48:41 AM7/24/12
to canter...@googlegroups.com
Naji,

Did you check the online documentation of Cantera 2.0?

I think you'll be able to find an answer for your issue there. 

I've been a Cantera user since 2009 but I still consider myself as a noob. Since we don't have a complete documentation we always have new things to learn about Cantera.

Regards,
Rodolfo
Reply all
Reply to author
Forward
0 new messages