|
[Sponsors] |
how to achieve ignition of premixed flame using ReactingFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 12, 2014, 01:10 |
how to achieve ignition of premixed flame using ReactingFoam
|
#1 |
Member
Daniel
Join Date: Jun 2014
Posts: 60
Rep Power: 12 |
Dear all,
I am simulating a piloted premixed flame using reactingFoam (OpenFoam 2.2.0). Below shown is the grid. https://www.dropbox.com/s/hcb7tqhylz...itled.jpg?dl=0 Also attached is the 0, constant and system folder inputs. As shown, the mesh consists of bluff body walls with a coflow and a high temperature hydrogen pilot near the premixed inlet that consists of CH4+O2. I am using the PaSR model of reactingFoam and k-epsilon turbulence model for my simulations. The problem I face is that when I run the simulation with chemistry and reactions on and 1500 K given as boundary condition to the inlet of the pilot, the premixed mixture does not react. When I look at the contour plot, the entire domain is 300 K Is there any artificial technique by which I can model ignition, using a spark or setting a high temperature patch in the computational domain?? Please help me out of this impasse I am facing. Thanks! |
|
March 14, 2015, 12:40 |
how to solve?
|
#2 |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Hi man, I a new user of OpenFoam. I'm now also trying to use reactingFOAM for simulation of premixed combustion. I tried your case but failed. Could give me some suggestion about how to use reactingfoam to simulated premixed combustion? I will appreciate it very much if you could give me help.
|
|
March 15, 2015, 02:39 |
|
#3 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
couldn't open the dropbox link, I wanted to check your reaction file. Anyways, if you want to artificially ignite, you can use a fvOptions file in the /system dir. You could also set a flame front using a setField (try swak4foam if you havn't already). If the reaction is not too complex, you can try another chemistry ODE solver than SIBS. To answer Howard as well, here is a typical methane-air premixed case I work on, using the PitzDaily tut as a base and a simple chemistry. Hope it helps, Remi |
|
March 15, 2015, 06:04 |
|
#4 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
March 15, 2015, 06:58 |
|
#5 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Well, for multistep reactions with premixed-combustion, I think reactingFoam is really the one you want to go with.
For more detailed information, you should be able to find most of them already written in this forum, or on links like this one http://www.openfoam.org/version2.3.0/numerics.php (information about ODE solvers, important when dealing with detailed chem). Good luck ! |
|
March 15, 2015, 16:07 |
|
#6 |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Thank you very much for your case.
|
|
March 15, 2015, 16:09 |
|
#7 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
March 15, 2015, 20:41 |
|
#8 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
about the time step continuity error, is this something that appears only at the begining of the simulation? During the ignition, the temperature may become very high, leading to some unphysical behaviours. You could try and change the value of "h" in /system/fvOptions. Also, my best practise for combustion with more detailed chemistry is to always ignite with a one-step chemistry, much easier and stable. Then a switch to a more complex set of equations. Regarding the equivalence ratio now: In XiFoam, the parameter you change in CombustionProperties does not affect the thermodynamics of your mixture. You can check it by changing the ER from 1 to 0.5, the temperature field should remain approximately the same. The parameter is used for transport properties I think. In reactingFoam, the user must manually calculate the corresponding mass fractions of methane, O2 and N2 and write the values in /0/CH4(O2,N2). You could create a simple program to do it for you, check the theory online. In the file I gave you, the ER should be around 0.8. Good luck, Remi |
|
March 18, 2015, 16:04 |
|
#9 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
Hi, man thank you very much for your case, it could work! now I'm considering to use multi-step mechanism. I read this forum and some mentioned just like below, but it seems not work. What I have try is to write two fuels reaction equations as below, both fuels have more than one reaction steps. Is there something wrong? reactions { Reaction1 { ..... } Reaction2 { ...... } } What's more, your case uses PaSR combustion model, do you kow if I want to change to other like flamelet model, how to manage this? Thank you! |
||
March 18, 2015, 22:33 |
|
#10 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
for your reactions, you'll have to be a little more specific Maybe there is just a unit problem in your coefficients ? Can you post the detailed equations as well as the link to where you found them? There are two ways to write your reactions in OpenFOAM: writing them in chemkin format in chemkin/chem.inp writing them in constant/reaction using OpenFOAM format. To switch from chemkin to OpenFOAM format, you can use: chemkinToFoam chem.inp therm.dat reactions thermo.compresibleGas (note that all files have to be in the same file before you run the program). This will convert your chemkin files (chem.inp and therm.dat) and write the results in reactions and thermo.compressibleGas. Now, about the combustion model, you might want to check this thread: http://www.cfd-online.com/Forums/ope...meletfoam.html |
|
March 19, 2015, 10:06 |
|
#11 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
Now I operate the reactingFoam and XiFoam, but the result seems not the same. I am considering the 'combustion properties' maybe the reason, for your reactingFoam case, the combustionMoel is PaSR_ but XiFoam not. So do you know is there any other combustionMoel available in reactionFoam? or where to find this information. The other thing is in XiFoam 'combustionProperties' has some paramerters like ignitionthickness,ignitionSphereFraction which your reactingFoam case doesn't have. Do you think the sentences of ignition can be added to reactingFoam? |
||
March 20, 2015, 02:30 |
|
#12 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
I don't think reactingFoam has a completely different combustion model available. You could use rhoReactingFoam, but it won't change that much your simulation. For XiFoam's properties in combustionProperties, they are indeed a little tricky to set. I think you could set ignition to off and use the same fvOptions as in reactingFoam to ignite. I don't know if this works, but you can have a try ! I have also read sa while ago that ignition in reactingFoam could be realized in the same fashion as for XiFoam, but I can't put my hands on this thread anymore, sorry. Anyways, best of luck for this, it's not easy to ignite, with both solvers ! |
|
March 23, 2015, 11:14 |
|
#13 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
March 23, 2015, 23:50 |
|
#14 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
OpenFOAM uses activation temperature in K, while chemkin uses activation energy in cal/mol. Hence the need for a converter (chemkinToFoam). FunkySetField is an OpenFOAM application I installed a while ago, that enables the setting of "strange" initial conditions. You don't have to use it. About Turbulent Reaction, I also have little clues about what it does. My guess is that it controls the PaSR model to some extent. I disabled it to test its impact on the simulation, and forgot to put it back on when I created the test case. Good luck ! |
|
March 25, 2015, 07:46 |
about GRIMech of reaction mechanism
|
#15 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
March 25, 2015, 08:22 |
|
#16 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hi,
I am also stuck at trying to figure out how to use these kinds of mechanism directly in OpenFOAM. I think it has not been done yet, or at least not reported in this forum. Regarding the value of h, unfortunately, this is mainly trial and error. From my experience, it can range from 1 to 100, depending on your mesh, flow conditions and mechanism. Finally, OpenFOAM only uses mass fraction ! Let me know if you find how to use this mechanism |
|
March 31, 2015, 13:58 |
|
#17 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
April 1, 2015, 14:07 |
|
#18 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
53 ( OH CN C2H3 . . . does this mean OpenFoam can't deal with these species like HOCO? what can do then? |
||
April 1, 2015, 21:42 |
|
#19 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
Hello,
I think it just means that you forgot to specify the thermodynamic data for this species in particular ! Or maybe the name changed a little after the conversion and you have to find it manually in thermo properties. Hope this solves your problem. ps: thanks for the previous link you mentioned, I'll have a look |
|
April 2, 2015, 07:43 |
|
#20 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calculate flame speed using reactingFoam | IColin | OpenFOAM Running, Solving & CFD | 0 | February 4, 2014 16:14 |
Ignition point in reactingFoam? | lfgmarc | OpenFOAM Programming & Development | 0 | July 11, 2011 19:00 |
Detailed chemistry premixed VS diffusion H2 flame | fireman | FLUENT | 1 | May 27, 2011 09:22 |
ignition of premixed flame | tilman | FLUENT | 6 | June 25, 2009 05:40 |
premixed flame modeling problem | peiyong wang | CFX | 1 | July 18, 2008 13:02 |