CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Units for Arrhenius preexponential factor

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 1 Post By Gerry Kan
  • 3 Post By sqek
  • 3 Post By Marpole

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2020, 15:06
Default Units for Arrhenius preexponential factor
  #1
Senior Member
 
Gerry Kan's Avatar
 
Gerry Kan
Join Date: May 2016
Posts: 348
Rep Power: 10
Gerry Kan is on a distinguished road
Howdy Foamers:

From the OpenFOAM on-line documentation, the basic units are [ kg, m, s, K, mol, A, cd ].

However, according to page 27 of this document, chemical reactions are supposed to be in the units of [ m, s, kmol ].

So the question is, what unit should I be using for the Arrhenius preexponential factor, [ cu m / kmol / s ] or [ cu m / mol / s ]?

Thanks in advance, Gerry.
ajithnair likes this.

Last edited by Gerry Kan; October 13, 2020 at 02:27.
Gerry Kan is offline   Reply With Quote

Old   October 12, 2020, 18:04
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
I've looked into this before -- a long time ago so my memory is a bit fuzzy but I might be able to point to some helpful files. I think at one point I wanted to figure out why a mech in openFoam format (after running chemkinToFoam), was different than the chemkin format. Looking into related files (e.g., https://github.com/OpenFOAM/OpenFOAM...hemkinReader.C) we see a comment about converting from mol/cm^3 to kmol/m^3. I might have stopped there after seeing that this conversion factor matched the observed difference. You could probably also find relevant information in the reaction rate source code.

Caelan
clapointe is offline   Reply With Quote

Old   October 13, 2020, 02:52
Default
  #3
Senior Member
 
Gerry Kan's Avatar
 
Gerry Kan
Join Date: May 2016
Posts: 348
Rep Power: 10
Gerry Kan is on a distinguished road
Dear Caelan:

Thanks for the link. This is also in line with what I read. Also, looking through some of the chemistry tutorials it does seem to confirm that the units for the A factors are indeed in kmol.

I am asking because, for my very simple mechanism, I have converted the reaction constants from [ cm, molecule, s ] to [ m, kmol, s ] and their magnitude seem a bit different from what I expect (about 3 orders of magnitude "smaller"), and the overall reaction also seem to be about 1000 times "slower" compared to measurement data. However I double checked my arithmetic and they are, for the most part, correct.

I will dig through the reaction code to see if I can see anything insightful.

Sincerely, Gerry.
Gerry Kan is offline   Reply With Quote

Old   November 16, 2020, 00:23
Default
  #4
Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 38
Rep Power: 13
schuyler is on a distinguished road
Hi Gerry,


Did you have any luck with this? I too am a bit confused on this front.
__________________
Schuyler
schuyler is offline   Reply With Quote

Old   March 29, 2021, 12:05
Default
  #5
Member
 
Join Date: May 2017
Posts: 31
Rep Power: 8
sqek is on a distinguished road
Hello
I'm almost certain it should be kmol (at least in the latest version):
In StandardChemistryModel::calculate the concentrations are got by dividing the species density by its molecular weight
Code:
c_[i] = rhoi*Yi/specieThermos_[i].W();
and from specie::W, W is in kg/kmol
the c_[i] from the chemistry model is passed on to the omega/omegaI functions in the chemistry model, and then into reaction which also has omega/omegaI functions.
These call IrreversibleReaction::kf (or reversible reaction, or kb, as needed)
Which eventually works its way down to something like ArrheniusReactionRate:: operator()
There don't seem to be any unit conversions between any of these, so the Arrhenius rate must be in kmol, M^3, s
sqek is offline   Reply With Quote

Old   December 31, 2021, 19:51
Default
  #6
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
I would like to echo this. Yes, OpenFOAM uses SI system [kg, m, s, K, mol, A, cd]. But OpenFOAM chemical reaction part uses [m, s, kmol]. This is very confusing.

In the same document, that Gerry referred to, https://openfoamwiki.net/images/8/8a...FW6_slides.pdf , on page 27, the chemkin pre-exponential factor is 3e13. After conversion with chemkinToFoam, the pre-exponential factor becomes 9.48e11.

There is one thing missing in the above discussion that the conversion is not from mol/cm^3 to kmol/m^3. It acutally is (mol/cm^3)^{1-n} to (kmol/m^3)^{1-n}, where n is the total reactor order. In the example case, n=0.7+0.8 = 1.5.

The conversion factor is then (mol/cm^3)^{1-n}=((10^{-3}kmol)/(10^{-6}m^3))^{1-1.5}=(kmol/m^3)^{1-n} \times 10^{-1.5}

The conversion factor is 10^{-1.5}=0.316.

In the slide, the chemkin pre-exponential facor is 3e13. We can do conversion, 0.316 \times 3e13 = 9.486e11. This matches the OpenFoam pre-exponential factor in the slide.
jherb, alainislas and ajithnair like this.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 16, 2022, 10:42
Default pre-exponential factor
  #7
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
Quote:
Originally Posted by Marpole View Post
I would like to echo this. Yes, OpenFOAM uses SI system [kg, m, s, K, mol, A, cd]. But OpenFOAM chemical reaction part uses [m, s, kmol]. This is very confusing.

In the same document, that Gerry referred to, https://openfoamwiki.net/images/8/8a...FW6_slides.pdf , on page 27, the chemkin pre-exponential factor is 3e13. After conversion with chemkinToFoam, the pre-exponential factor becomes 9.48e11.

There is one thing missing in the above discussion that the conversion is not from mol/cm^3 to kmol/m^3. It acutally is (mol/cm^3)^{1-n} to (kmol/m^3)^{1-n}, where n is the total reactor order. In the example case, n=0.7+0.8 = 1.5.

The conversion factor is then (mol/cm^3)^{1-n}=((10^{-3}kmol)/(10^{-6}m^3))^{1-1.5}=(kmol/m^3)^{1-n} \times 10^{-1.5}

The conversion factor is 10^{-1.5}=0.316.

In the slide, the chemkin pre-exponential facor is 3e13. We can do conversion, 0.316 \times 3e13 = 9.486e11. This matches the OpenFoam pre-exponential factor in the slide.
Hello bro,
I have the same problem I use chimken reduced reaction mechanism and when I import it in fluent I found the pre-exponential factor and activation energy units are changed I try to find a solution to convert it to SI units but I stuk in it, can you help me please?
khaledhmz is offline   Reply With Quote

Old   June 16, 2022, 12:19
Default
  #8
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
Sure. What's the exact problem you have experienced?
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 16, 2022, 12:28
Default
  #9
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
Thank you bro for the reply,

the problem is I use reduced mechanism of propane-air and in the article the author gave the pre-exponential factor units as cm3-mol-s and activation energy as j/mol and when I import the chemkin file to Ansys-fluent I found the value of A and Ea is changed, now Im trying to convert them to SI units as fluent reaquire but still have problem with them,
without the correct value of A and Ea the simulation will be wrong, so any suugestion about this or you can help directly because Im confused a lot....
khaledhmz is offline   Reply With Quote

Old   June 16, 2022, 12:31
Default
  #10
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
I heard your frustration and confusion. But I don't know your problem.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 16, 2022, 14:01
Default
  #11
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
the problem is how to convert from cm3-mol-s to kg/m3-s and for activation energy from j/kgmol to cal/mol...
khaledhmz is offline   Reply With Quote

Old   June 16, 2022, 14:23
Default
  #12
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
still not sure what's your problem.

For cm3-mol-s to kg/m3-s, can you do conversion: cm3 -> m^3, mol->kg, and s->s? For mol->kg, you need to use molecular weight.

Activation energy unit is J/kg. Can you do J->cal, kg->mol (same as above)? I'm not sure J/kgmol in your message.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 16, 2022, 16:50
Default
  #13
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
Quote:
Originally Posted by Marpole View Post
still not sure what's your problem.

For cm3-mol-s to kg/m3-s, can you do conversion: cm3 -> m^3, mol->kg, and s->s? For mol->kg, you need to use molecular weight.

Activation energy unit is J/kg. Can you do J->cal, kg->mol (same as above)? I'm not sure J/kgmol in your message.
bro can you explain more about the pre-exponential factor; how can I use molecular weight?
- for the activation energy this is what fluent required
khaledhmz is offline   Reply With Quote

Old   June 16, 2022, 19:17
Default
  #14
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
Starting from simple, for activation energy, please check out this link.

problem with activation energy in fluent

For pre-exponential factor, we can get it from the following example. Assuming you have a reaction,

aA + bB \rightarrow cC

The reaction rate is, for elementary reaction,
r = k[A]^a[B]^b
The pre-exponetial factor has the same unit of reaction rate constant k.

The rate of reaction (r) has a unit of mole/cm^3/s. So the unit of k should be,
mole/cm^3/s (mole/cm^3)^{-(a+b)}

So you have to do unit conversion one by one. It would be easier to do it with an excel spreadsheet as you may have many reactions.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 17, 2022, 06:24
Default
  #15
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
so what I understand for activation enrgy to convert from j/mol to cal/ kmol, I can just divided by 4.184 j to convert from joules to cal and then devide by 10E-3 to convert from mol to kmol, then fluent adjust it to j/kgmol (see attached picture)


and for pre-exponential factor, to convert from (mol/cm3/s)/(mol/cm3)-(a+b) to (kmol/m3/k)/(kmol/m3)-(a+b)
where a and b is reaction order.
I do the following, (10E-3 *mol/10E-6*cm3/s)/(10E-3*mol/10E-6*cm3)-(a+b)
is this correct?
khaledhmz is offline   Reply With Quote

Old   June 20, 2022, 12:32
Default
  #16
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9
Marpole is on a distinguished road
Please pay attention to the formula. The reaction order -(a+b) should be exponent: (mol/cm3/s)*(mol/cm3)^[-(a+b)] or (mol/cm3)^(1-a-b)/s.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   June 22, 2022, 09:39
Default
  #17
Member
 
abdo
Join Date: Apr 2018
Posts: 42
Rep Power: 7
khaledhmz is an unknown quantity at this point
Thank you very much Bro
khaledhmz is offline   Reply With Quote

Old   November 25, 2022, 04:17
Default
  #18
New Member
 
Join Date: Feb 2016
Posts: 20
Rep Power: 10
DaveD! is on a distinguished road
Quote:
Originally Posted by khaledhmz View Post
so what I understand for activation enrgy to convert from j/mol to cal/ kmol, I can just divided by 4.184 j to convert from joules to cal and then devide by 10E-3 to convert from mol to kmol, then fluent adjust it to j/kgmol (see attached picture)


and for pre-exponential factor, to convert from (mol/cm3/s)/(mol/cm3)-(a+b) to (kmol/m3/k)/(kmol/m3)-(a+b)
where a and b is reaction order.
I do the following, (10E-3 *mol/10E-6*cm3/s)/(10E-3*mol/10E-6*cm3)-(a+b)
is this correct?
Dear Khaled,

the kgmol in the Fluent reaction dialogue is a very ancient unit, meaning 1000 mol or 1 kmol:

https://www.aqua-calc.com/what-is/am.../kilogram-mole

So basically, we can consider kgmol to be kmol. I think they should change it to avoid further confusion!


Regards, DaveD
DaveD! is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Units of pre-exponential factor in Chemkin manikghosh ANSYS 1 May 25, 2019 16:02
Long output in terminal. ssa_cfd OpenFOAM Running, Solving & CFD 1 March 18, 2019 05:25
Fluent Pre exponential factor units Ed_PA FLUENT 3 March 7, 2018 11:24
from sticking coefficient to preexponential factor Bache COMSOL 0 September 18, 2008 08:05
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 23:54.