This is indeed possible. If you are coding in python, Cantera has a function to calculate the dusty gas model diffusion coefficients to describe the fluid flow through porous media.
I imagine this function must also be available if you're programming in C++, just not in Matlab (last time I checked). That said, it is not too terribly complicated to implement the DGM yourself. This might even be preferable, given the range of ways people have approached incorporating the tortuosity factor.
The surface chemistry should be handled as in the example you cite below. The mechanism file does not change - it only tells Cantera how the reactions proceed for a given state of the gas and surface. The modifications for your specific example are geometric, and should be incorporated as scaling factors to convert the net chemical rates (given per area of surface per second) to volumetric production rates for your porous media.
Regards,
Steven
> --
> You received this message because you are subscribed to the Google Groups "Cantera User's Group" group.
> To post to this group, send email to canter...@googlegroups.com.
> To unsubscribe from this group, send email to cantera-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cantera-users?hl=en.
>
Hi,
As part of a push into the battery modeling area that I’m taking Cantera, I’ve created a series of objects that models electrodes. For the purpose of this discussion, an electrode, at least in terms of models championed by White and Newman, can be thought of as a “porous catalytic medium” with a bunch of extra electrochemistry terms thrown in. This includes modeling particles as a diffusion reaction domain which is discretized in the radial domain, which may include tracking regions where there are internal solid phase changes as well.
This work involves initializing ThermoPhase objects involving surface phases and their associated volume ThermoPhase objects (actually potentially multiple surface phases if there are internal phase boundaries in the solid particle). I’ve done this in general in Cantera’s application environment and I’d like to share it eventually via a different module or project. Right now the work is being held up from being disseminated while we work though some export control concerns.
However, in general surface phases produce reaction rates that are kmol / m2 / s, while volume phase produce reaction rates that are in kmol /m3/s. Note Cantera can also model edge phases, which would have reaction rates that are in kmol / m / s.
Best wishes,
Harry
---------------------
From: canter...@googlegroups.com [mailto:canter...@googlegroups.com]
On Behalf Of Nik
Sent: Wednesday, December 05, 2012 9:53 AM
To: canter...@googlegroups.com
Subject: [EXTERNAL] [cantera-users] Re: Heterogeneous reaction in porous media
Hi Cantera users,
sorry for the intrusion but I have some similar doubts:
I agree that the netProdRates(surf) unit is Kmol/m3/s but...if the file.cti of the reaction mechanism is written with these units: cm, s, mol J/mol, is the netProdRates's unit in kmol/m2/s again?
Many thanks in advance
Nik
--
You received this message because you are subscribed to the Google Groups "Cantera User's Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cantera-users/-/qxYha1bshsoJ.