|
[Sponsors] |
April 6, 2015, 06:58 |
reactingFoam, strange behavior, bug ?
|
#1 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Dear All,
I encountered, a very strange behavior, which I hope could be explained with help of other Foamers. I am running calculations using reactingFoam, but without reactions and combustions. I am interested in passive gas mixing. The problem is: I run the same calculations (exacly the same set-up, mesh, etc.) with two different max Courant Number: 1. maxCo = 2 and 2. maxCo = 0.25 I would expect that calculations with maxCo = 0.25 should be more numerically stable and give more presice results, because dt is smaller. BUT -results for maxCo = 0.25 are numerically unstable, they blew up after some time, - results for maxCo = 2 are stable and gives nice smooth results... Attached are results, which show O2 content in few points of the domain. They are compared with some experimental results. Why for maxCo = 0.25 results are so different and so "bad", and why does it blew up ? here results with maxCo = 2 Here results with MaxCo = 0.25 Thanks, ZMM |
|
April 7, 2015, 05:39 |
|
#2 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi,
it has been a long time since I have bee using reactingFoam. I guess that there is a problem with the chemical time scales and or the ODE-Solver. Might be that the reactions have not really started and after each time step they are averaged. Which ODE-Solver are you using? Maybe you can check your mechanism in chemfoam? Regards, Markus. |
|
April 7, 2015, 07:53 |
|
#3 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Hi Markus,
Thank you for your interest ! In my case I do NOT use chemical reactions, just passive mixing. But in the chemistryProperties I have: chemistrySolver ode; but later: chemistry off; Regards, ZMM |
|
April 8, 2015, 07:59 |
|
#4 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi,
I remember that there was an issue with the diffusion terms even leading to wrong temperature. But as mentioned above I haven' t used the solver for a long time. Maybe that helps: http://www.cfd-online.com/Forums/ope...-update-2.html Good luck. Markus |
|
Tags |
bug?, courant number, reactingfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to switch off combustion and reaction in reactingFoam | shenzhou1987 | OpenFOAM Running, Solving & CFD | 16 | October 26, 2017 16:31 |
calculate flame speed using reactingFoam | IColin | OpenFOAM Running, Solving & CFD | 0 | February 4, 2014 16:14 |
reactingFoam wedge handling wrong U | dhondupant | OpenFOAM Bugs | 1 | December 9, 2010 08:34 |
reactingFoam - turbulent reacting flow | hamburgFoam | OpenFOAM | 0 | December 7, 2009 13:57 |
Strange incorrect inlet behavior for reactingFoam | mrangitschdowcom | OpenFOAM Running, Solving & CFD | 4 | August 29, 2007 16:55 |