the short answer seems to be: You can't specify the units for the pre-exponential factor.
In general, the syntax for specifying units in Cantera is:
variable = (value, 'units')
e.g.
density = (534, 'kg/m3') # Lithium
Since the pre-exponential factor can take quite strange units (moles and meters with fractional exponents) they are not specified explicitly, but assumed to be:
kmol/m^2/s * (m^3/kmol)^n1 * (m^3/kmol)^n2 * ...
where n1, n2, ... are the stoichiometric coefficients of species 1, 2, ... in the reacation.
Note that species in a "metal" phase do not contribute to the rate equation and hence do not affect the units of the pre-exponential factor.
I'm not entirely sure this is 100% correct, but I have been using these assumptions for several months now and Cantera does what I expect it to do :-)
Best regards,
David
-----Ursprüngliche Nachricht-----
Von: canter...@googlegroups.com im Auftrag von Jon Tegner
Gesendet: Montag, 7. November 2011 11:55
An: canter...@googlegroups.com; teg...@renget.se
Betreff: [cantera-users] Units of pre-exponential factor
David, thanks a lot!I've been playing around with a small example, calculating flame speed. If I useunits(quantity = 'kmol', length = 'm', act_energy = 'K', mass = 'kg', time = 's', energy = 'J')reaction( 'C3H8 + 5 O2 => 3 CO2 + 4 H2O', [2.19e8, 0.0, 10072.0], order="C3H8:1.0 O2:0.5")I get the same results as if i useunits(quantity = 'mol', length = 'cm', act_energy = 'cal/mol', mass = 'kg', time = 's', energy = 'J')reaction( 'C3H8 + 5 O2 => 3 CO2 + 4 H2O', [(2.19e8, 'm/kmol/s'), 0.0, (10072.0, 'K')], order="C3H8:1.0 O2:0That is, in the second case I have changed kmol to mol, m to cm and K to cal/mol in units and it seems Cantera is smart enough to give the pre-exponential factor its correct unit (based on the fact that it should be based on kmol, m and s). Or could there be some problems with this assumption?Regards, and thanks again,/jon
--
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.