Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including the solution of liquid phase kinetics in Cantera #2

Closed
GoogleCodeExporter opened this issue Mar 26, 2015 · 7 comments
Closed
Labels
feature-request New feature request

Comments

@GoogleCodeExporter
Copy link

Cantera is a software for solving detailed gas phase kinetics. It also has a 
good framework to implement solution of reactor networks. This specific 
application of cantera would be useful in chemical reactor modeling if it were 
possible in cantera to include liquid phase reactions. 

Thanks,
Ajinkya

Original issue reported on code.google.com by ajinkya....@gmail.com on 12 Nov 2012 at 10:22

@GoogleCodeExporter
Copy link
Author

Issue 200 has been merged into this issue.

Original comment by yarmond on 15 Jan 2014 at 1:36

  • Added labels: ****
  • Removed labels: ****

@speth speth transferred this issue from Cantera/cantera Dec 2, 2019
@speth speth added the feature-request New feature request label Dec 6, 2019
@speth
Copy link
Member

speth commented Jun 13, 2024

As of Cantera 3.0, the BulkKinetics class can represent reactions in any gas, liquid, or solid phase. And with the introduction of the ExtensibleRate class (also in Cantera 3.0), reaction rate parameterizations relevant to liquids can be implemented as needed. So fundamentally, I think this feature now exists. Future enhancements would be implementations of additional thermodynamic models relevant to particular types of liquids, besides the ones already available.

@speth speth closed this as completed Jun 13, 2024
@BoyangMichael
Copy link

Thanks for the good work! It just remind me of another question. Sorry for using this place to post it... In the ExtensibleRate class, is it possible to define a rate expression depending on an "external" variable (not just on T,P)? For example, k = x A exp(-Ea/RT)? Where x is a variable not in the mechanism, but rather a physical variable to model. Thank you very much in advance!

@speth
Copy link
Member

speth commented Jun 13, 2024

Generally no, that's not currently possible. I think that would be a different enhancement proposal (which you're welcome to open). Having some concrete use cases would help think through the interface and how it would have to interact with other classes like ThermoPhase and Reactor.

@ischoegl
Copy link
Member

ischoegl commented Jun 14, 2024

I believe you can implement k = x A \exp(-Ea/RT) with a CustomRate, see https://cantera.org/dev/python/kinetics.html#customrate

It is not as formalized as ExtensibleRate, but may just work (the lambda function takes T as an argument, but can depend on other parameters that are in scope; at least if I recall correctly)

@BoyangMichael
Copy link

Thank you both very much for your help! I will try CustomRate.

@speth
Copy link
Member

speth commented Jun 14, 2024

I'd like to shift this discussion to #204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request
Projects
None yet
Development

No branches or pull requests

4 participants