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

Multi-step combustion mechanism

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2012, 07:00
Default Multi-step combustion mechanism
  #1
Member
 
v
Join Date: Nov 2011
Posts: 33
Rep Power: 15
vahidzanganeh is on a distinguished road
Hi Foamers,
I'm working on a simulation of combustion in porous media with reactingFoam solver.
in example methane one step mechanism is as follows
____
species
(
O2
H2O
CH4
CO2
N2
);

reactions
{
methaneReaction
{
type irreversibleArrheniusReaction;
reaction "CH4 + 2O2 = CO2 + 2H2O";
A 5.2e16;
beta 0;
Ta 14906;
}
}
----
in reactins file in constant folder.
But I want to use methane from a 4-step mechanism.
reactions Ar b Ts
CH4 + 1 O2 → CO + 2H2 7.82 . 1013 0
CH4 + H2 O → CO + 3H2 3.00 · 1011 0
H2 + 1 O2 → H2 O 5.0 · 1020 -1
CO + H2 O ---> CO2 + H2 2.75 · 1012 0
Who knows how to put these reactins?
comment:
i want to use "chemistryReader foamChemistryReader;"in file thermophysicalProperties. and i know to use in chemkin import( "$FOAM_CASE/chemkin/chem.inp") for multi step reaction but i want to use foam chemistry reader.
flowAlways likes this.
vahidzanganeh is offline   Reply With Quote

Old   December 16, 2012, 18:20
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
it is easy, you need to repeat similar structure for multi-step combustion
means
Quote:
reactions
{
Reaction1
{
.....
}
Reaction2
{
......
}
}
wenxu and shuige like this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 5, 2014, 04:02
Default
  #3
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Quote:
Originally Posted by nimasam View Post
it is easy, you need to repeat similar structure for multi-step combustion
means

then i should initialize every speice in the reaction ,such as CO,OH....., if so ,how should i initialize them? Thank you!!

Best regards,
Wen
wenxu is offline   Reply With Quote

Old   November 19, 2014, 15:49
Default GRI: CH4 combustion strange observation
  #4
New Member
 
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 12
flowAlways is on a distinguished road
Quote:
Originally Posted by vahidzanganeh View Post
Hi Foamers,
I'm working on a simulation of combustion in porous media with reactingFoam solver.
in example methane one step mechanism is as follows
____
species
(
O2
H2O
CH4
CO2
N2
);

reactions
{
methaneReaction
{
type irreversibleArrheniusReaction;
reaction "CH4 + 2O2 = CO2 + 2H2O";
A 5.2e16;
beta 0;
Ta 14906;
}
}
----
in reactins file in constant folder.
But I want to use methane from a 4-step mechanism.
reactions Ar b Ts
CH4 + 1 O2 → CO + 2H2 7.82 . 1013 0
CH4 + H2 O → CO + 3H2 3.00 · 1011 0
H2 + 1 O2 → H2 O 5.0 · 1020 -1
CO + H2 O ---> CO2 + H2 2.75 · 1012 0
Who knows how to put these reactins?
comment:
i want to use "chemistryReader foamChemistryReader;"in file thermophysicalProperties. and i know to use in chemkin import( "$FOAM_CASE/chemkin/chem.inp") for multi step reaction but i want to use foam chemistry reader.
Hello Vahid.
Greetings!
I wanted to ask if you were successful in implementing the 4-step methane combustion reaction. It does not work for me. I do not understand how to make it work. Can you please help me.
Also the tutorial on gri: CH4 combustion, 53 species, 325 reactions. I observe a strange behavior. When I start with an initial temperature of 990K, I obtain the final temperature = 1052.78K after 0.07s
However when I start with 991K , I obtain the final temperature =2667.19Kafter 0.07s.
I don't understand this sudden change. Do you have any idea for this behavior ?
Thanks, Ali
__________________
A good solution is one which does justice to the inner nature of the problem- Cornelius Lanczos in a letter to Albert Einstein on March 9, 1947
flowAlways is offline   Reply With Quote

Old   November 20, 2014, 05:40
Default
  #5
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 16
ARTem is on a distinguished road
wenxu, you can copy e.g. 0/O2 file to 0/OH and change initial and boundary values according to your physical model. Or it's possible to just create one file 0/Ydefault for all intermediate and final products of reactions with initialValue uniform 0 and zero values on inlet BCs.

flowAlways, you should have in mind the fact, that Arhenius-type reaction rate has exponent dependence of temperature: if there is enough internal energy in system, reactions will proceed very quickly.
Anyway, hitting in that interval is very funny. But it can be checked: try with T=989..992[K] for example. If a result with T=989[K] is similar to T=990[K] and T=992[K] is similar to T=991[K], it's alright.
wenxu and flowAlways like this.
ARTem is offline   Reply With Quote

Old   November 20, 2014, 06:35
Default
  #6
New Member
 
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 12
flowAlways is on a distinguished road
Thanks Artem,
I tried with the temp range you said. I obtain
989K(initial) - 1024.88K(at t = 0.07s)
990K(initial) - 1052.78K(at t = 0.07s)
991K(initial) - 2667.19K(at t = 0.07s)
992K(initial) - 2658.16K(at t = 0.07s)
1000K(initial) - 2660.57K(at t=0.07s)
What you said makes sense. But I don't understand what is special about 990-991K?
Does it have to do with the species reacting or the reaction mechanism ?
I am a math student and have no good chemistry knowledge. I will try to understand more about the Arrhenius-type reactions.
Thanks!
__________________
A good solution is one which does justice to the inner nature of the problem- Cornelius Lanczos in a letter to Albert Einstein on March 9, 1947
flowAlways is offline   Reply With Quote

Old   November 20, 2014, 07:03
Default
  #7
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 16
ARTem is on a distinguished road
Hello, flowAlways.
From the mathematical point of view, you can consider next system (consider 0-dimension case):
\frac{d \rho C T}{d t} = \rho W Q,
where Q - heat of reaction [J/kg], W - reaction rate [kg/s].
W = A Y_F Y_O \exp \left( - \frac{T_a}{T} \right),
in general case this equation is written in concentrations, but for simplicity it's written in mass fractions (by the way, for some physics in can be used in this form).

So, you can see, the more energy in system (temperature), the faster the reaction goes.
If temperature is low, W (reaction rate) is low, so source \rho W Q is low, so there will be small change in temperature after \delta t time.
And if temperature is high enough, W (reaction rate) is high, so source \rho W Q is high, so there will be huge change in temperature after \delta t time.
ARTem is offline   Reply With Quote

Old   November 20, 2014, 08:25
Default
  #8
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Now, i know how to manipulate multi-step reactions. But as far as i know, there is no multi-step combustion models built in OF.
  1. laminar
  2. PaSR---derived from laminar, can be used in turbulence.
  3. diffusion,FSD,infinitelyFastChemistry, these three all derived from singleStepCombustion
If i want to implement muti-step reaction (combustion model which not only consider chemistry time but also turbulence mixing time), what should i derived the class? That's mean which class should i derived from?
Now i have compiled the EBU model succeed and i design i case to use this model. (i almost substitute the EBU model for the chemistry class. that's means when laminar calss calculate the reaction Rate R(Yi), then it will use the new class EBU to calculate the R(Yi). ) ANY ideas can give me? Thank you!!!!



best Regards,
wen
shuige likes this.
wenxu is offline   Reply With Quote

Old   November 21, 2014, 01:32
Default
  #9
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 16
ARTem is on a distinguished road
Yeeea, combustion is the very tricky thing, especially turbulent one. I don't know much about OpenFOAM standart turbulent combustion models.
There is flamelet approach for turbulent premixed combustion (in some OF-ext project). Don't know what kind of mathematical model is used in dieselFoam, but physics implies that there is turbulent diffusion combustion with multistage reaction mechanism. In the paper [1] authors use W_t = \min[W_{kin}; W_{mix} ] for each reaction of the whole mechanism, but it will be hard to solve ODE system with \min function.

The problem with EBU is that it can't be used properly in many cases without being limited by kinetic reaction rate, because:
1) in low temperature region there is very-very slow reaction (by physics, not enough energy to break molecules), but EBU will predict combustion there;
2) in regions with fast mixing (\epsilon / k) EBU can show very fast reaction rate. But! Fast mixing means that in a cell premixed combustion will occur (all components mixed on molecular level before reacting). And premixed combustion rate is limited by kinetic reaction rate.


1. Fureby C., Lofstrom C. LES of bluff-body stabilized flames // 25th Symposium on combustion, 1994.
ARTem is offline   Reply With Quote

Old   November 21, 2014, 02:00
Default
  #10
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Dear,Artem Shaklein;
Yeah, i do know EBU does not do well, but that's simple in mathematical form, i want to start from here.(i also want to use the flamelet approach and validate it).
Thank you very much, you are so nice and kind. Nice to meet you!

PS: i also want to know how to find the chem.inp and thermo.dat files when we implement multi-step reactions.
Now i use the thermo.dat from this link. http://combustion.berkeley.edu/gri-m...0/thermo30.dat and chem.inp i use the data from other people's thesis searched from web. Do you know any other resources can i get the two files?

PPS: Now i calculate the reactions about CH4 with two steps,the intermediate specie is CO.

Thank you again.

regards,
wen
wenxu is offline   Reply With Quote

Old   November 21, 2014, 03:05
Default
  #11
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 16
ARTem is on a distinguished road
hello, wenxu.

look here
cfd-online.com/Forums/openfoam/84031-about-chemkintofoam-2.html
There is GriMech3 mechanism (for methane combustion) and thermodynamic data.

About EBU implementation - I have to think about it.
ARTem is offline   Reply With Quote

Old   November 21, 2014, 04:19
Default
  #12
Member
 
Likun
Join Date: Feb 2013
Posts: 52
Rep Power: 13
Likun is on a distinguished road
Send a message via Skype™ to Likun
Hello wenxu,

If you want to use flamelet model for combustion, just for your information, there are already some implementations available. Check these links

1) http://www.cfd-online.com/Forums/ope...opensmoke.html.

2) http://www.openfoamwiki.net/index.php/Extend-bazaar/solvers/combustion/flameletFoam.

I have ported the flameletFoam (the second link) form OpenFoam-2.1 to OpenFoam-2.3, you can find the new version here: http://www.cfd-online.com/Forums/ope...m-2-3-0-a.html

Best,
Likun
Likun is offline   Reply With Quote

Old   November 21, 2014, 04:29
Default
  #13
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Thank you,Likun.I will implement theflamelet model next week (then i am thirst for your suggestion probably ), Now the EBU "almost" works for me and there is some problem should be solved. Thank you again,very kind of you!

best,
wen
wenxu is offline   Reply With Quote

Old   November 23, 2014, 22:44
Default
  #14
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
The combustion models(PaSR,diffusion,FSD) built in the OF all derived from singleStepReaction, these models can be used with muti-step combustion?

regards,
wen
wenxu is offline   Reply With Quote

Old   December 5, 2014, 09:43
Default
  #15
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Hello,Likun,
Now i want to implement flamelet model to my case using LES.(mutiphase combustion). Which one of these is better ? And i already install this one and it works for me (Thank you for your work!)http://www.openfoamwiki.net/index.ph.../flameletFoam.
But this first one libOpenSMOKE seems more powerful?(sorry, i did not look into it, so this may not be true.) But i can not download it in china, and i do not know why? I really want to validate this one, and have a compare with the flameletFoam?
Please give me some suggestion?

regards,
wen
wenxu is offline   Reply With Quote

Old   December 5, 2014, 15:19
Default
  #16
Member
 
Likun
Join Date: Feb 2013
Posts: 52
Rep Power: 13
Likun is on a distinguished road
Send a message via Skype™ to Likun
Hi Wen,

Nice to hear that the code is working for you. To be honesty, I have also never really looked into the libOpenSMOKE, so I don't really familiar with it, but the post for libOpenSMOKE have lots of very nice information, it will be definitely very helpful to understand the code. But if you are planing to do LES, then maybe the flameletFoam is a better choice, because it is already capable to do LES simulation. If you need, I can send the libOpenSMOKE code to you.

Best,
Likun
Likun is offline   Reply With Quote

Old   December 7, 2014, 05:58
Default
  #17
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Dear Likun,
Sorry for the late reply.
I really want to have a try of the libOpenSMOKE, it sounds reallly nice. Also the falmeletFOAM is the better choose for me if i do not to add much to the code(I want to use flamelet to simulate coal combusiton). I want to have some opinion of the libOpenSMOKE so if you are free, please send to my Email:981588592@qq.com Thank you very much! The internet speed in china is really slow!!!

regards,
wenxu
wenxu is offline   Reply With Quote

Old   December 7, 2014, 09:41
Default
  #18
Member
 
Likun
Join Date: Feb 2013
Posts: 52
Rep Power: 13
Likun is on a distinguished road
Send a message via Skype™ to Likun
Already sent.
Likun is offline   Reply With Quote

Old   March 18, 2015, 15:51
Smile
  #19
Member
 
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11
Howard is on a distinguished road
Quote:
Originally Posted by wenxu View Post
Hello,Likun,
Now i want to implement flamelet model to my case using LES.(mutiphase combustion). Which one of these is better ? And i already install this one and it works for me (Thank you for your work!)http://www.openfoamwiki.net/index.ph.../flameletFoam.
But this first one libOpenSMOKE seems more powerful?(sorry, i did not look into it, so this may not be true.) But i can not download it in china, and i do not know why? I really want to validate this one, and have a compare with the flameletFoam?
Please give me some suggestion?

regards,
wen
Hello, I'm a new user of OF. I prepared to simulate combustion of gas mixtures with multi-step reaction mechanism. Just add more reaction equations in the 'reactions' as mentioned above seems not to work? I'm not familiar with it. Could give some suggestion of how to do this with the flamelet model you mentioned?
Howard is offline   Reply With Quote

Old   March 18, 2015, 20:54
Default
  #20
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Hi,Howar,

That's not difficult to simulate gas mixture combustion with flameletFoam. If you want use SLF, then you can keep combustion model not changed. Just generate a new flamelet library with your gas mixtures instead of CH4 with the released version. Flamelet equations can be solved with cantera which in the released version or FlameMaster.

regards,
wenxu
wenxu 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
reduced reaction mechanism for methane combustion using FLUENT vnm ANSYS 1 August 9, 2016 10:25
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Time step, Number of time step, Maxximum Iterations per time step sandisk FLUENT 0 July 18, 2011 03:57
Time step for combustion simulation AdidaKK CFX 11 December 3, 2009 12:47
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 17:38.