--
You received this message because you are subscribed to the Google Groups "Cantera Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cantera-user...@googlegroups.com.
To post to this group, send email to canter...@googlegroups.com.
Visit this group at https://groups.google.com/group/cantera-users.
For more options, visit https://groups.google.com/d/optout.
Hi Xiaolei,
First, welcome to Cantera!
As for your particular application, I am skeptical that one of the pre-built cantera reactors will be suitable for it. I don’t exactly which phenomena you are trying to model, but a few questions/problems come to mind, in terms of a standard reactor:
1. Fluid dynamics: how will you model the movement of the gas through the liquid? If you’re hoping to capture this, I would guess that a customized model would be required.
2. The equation of state. Obviously, an ideal gas reactor is going to pose problems, here. There are non-ideal reactors, though, which you can use. One example is here, in the cantera repository of Jupyter notebook examples: https://github.com/Cantera/cantera-jupyter/blob/master/reactors/NonIdealShockTube.ipynb
As you have found, finding the right equation of state might be a challenge. It looks like you want reactions, so one of the pure-fluid substance models won’t be very suitable for you. I can’t tell whether this is overkill, but I wonder if the multicomponent Redlich-Kwong EoS might work for you?
3. The last item I’m not sure about: the liquid-gas interface. If I understand correctly, you’ll want reactions between the two phases, which will require an interface phase. If you’re interested in the actual rates (it sounds like you are), then you’ll want a way to track the interface area between the two, because the total rate of all reactions will scale with the interface area.
I’m afraid I’ve given more questions than answers, but hopefully these will spur some productive thoughts on how to get started, here.
Best,Steven
——————————————————————————————————Steven DeCaluwe, PhDAssistant Professor of Mechanical EngineeringColorado School of MinesBrown Building W410BGolden, CO 80401
phone: (303) 273-3666Twitter: @DeCaluweGroup
Hi,
Cantera’s reactor network model is really built around the concept of each reactor having a bulk phase (gas or liquid, in principle) that may be in contact with a chemically active surface (either catalytically or with bulk deposition / etching-like behavior). There is not currently a way to model mass transfer between two bulk phases, such as a liquid and a gas.
To model a problem like what you describe, I think Cantera’s phase and reaction models can be useful, but you will want to write down the specific governing equations for your system, use Cantera to evaluate properties and rates while solving them with an integrator such as scipy.integrate. A simple example of this is given in custom.py.
Regards,
Ray