VlachosGroup / openmkm

Opensource software to model heterogeneous catalytic reactions. Based on Cantera
MIT License
14 stars 12 forks source link

Formula used to calculate Kc #30

Closed wittregr closed 2 years ago

wittregr commented 4 years ago

Please provide the formula used to calculate Kc under the kc.out documentation and and include the units Kc will have for each formula.

wittregr commented 4 years ago

Kc should be calculated from Kp with a unit adjustment (1/RT) for the difference in gas moles on the two sides of the equation. Kp should be calculated from Standard Gibb's free energy. That is at 1 bar. NASA polynomials are at 1 bar and provide the standard Gibb's/RT so they can be used without adding any pressure dependence. In Sform you show a pressure dependence. Did you then use that Sform to calculate Srxn and subsequently Grxn. Then did you use that Grxn (at system pressure) or the standard Grxn (at 1 bar) to calculate Kp?

image

image

jonlym commented 4 years ago

Not meant as a reply to Gerhard. Just referencing previous discussions. Previously established that Hform and Sform were calculated at the inlet pressure in issue #18

MaxRCohen commented 4 years ago

Hi @mbkumar, looks like we still need this information. I know the pressure dependence of Kc is something currently being reviewed, so it makes sense this is not updated yet. Just a note for when the review is complete: could you please the formulas for Kc where the documentation says "1. Adsorption reaction:" and "2. Surface reaction:"?

mbkumar commented 4 years ago

Sure will do. I need to make sure I get things right on this.

skasiraj commented 3 years ago

In the file kc.out, OpenMKM prints "concentration units" equilibrium constants i.e., Kc for all reactions at reference pressure (depends on the reference pressure set in the thermo.xml file, typically 1 bar).

Summary: Kc calculations are done in Cantera. In Cantera Kp and there Kc are obtained from the reference state chemical-potentials. Since we are using ideal gas assumption (for gas phase) and ideal solution assumption (for surface phases), the reference state chemical potentials are equivalent and can be directly obtained from pure species enthalpy and entropy and is independent of pressure. @MaxRCohen and @wittregr if this explanation is good enough, we could perhaps update the documentation and close this issue.

Details

image

image