CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

interMixingFoam diverges rapidly

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 7, 2013, 03:26
Default interMixingFoam diverges rapidly
New Member
Join Date: Mar 2013
Posts: 2
Rep Power: 0
jjulien is on a distinguished road
Hello OpenFoam Users,

I am currently dealing with modelling the flow in a water tank, with the solvers interMixingFoam, in order to track the mixing between incoming fresh water and already existing 'aged' water in the tank.
I already run without any problems a similar rectangular case - even though it was very coarse. When it comes to this case, with the finer mesh and a different inlet velocity; interMixinFoam run for few second and aborted (diverges, crashes - whatever it is called). I attached you the case, if anyone have an idea of what could be wrong in my case; I would be very grateful. Because of size restriction, I just attach rough case. Thus one will need to run either ./Allrun or blockMesh - copy each alpha in the 0/ directory - run setFields and finally interMixingFoam

Best regards
Attached Files
File Type: gz cubetest.tar.gz (4.4 KB, 15 views)
jjulien is offline   Reply With Quote

Old   June 18, 2013, 17:11
New Member
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 7
pbarc is on a distinguished road
Hey Julien,

So I ran your input files and got a similar result (OF stopped after 8.881 s). I looked at the log file and it didn't seem to give any reason as to why interMixingFoam stopped. So I just went into the controlDict and changed the start time to the last written time step (8.8 s for me) and restarted OF. The simulation seems to have restarted fine and is still running (currently at 10.5 s).

Were you getting any error messages in your log file as to why OF stopped?

Hope this helps.

pbarc is offline   Reply With Quote

Old   June 26, 2013, 05:34
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 215
Rep Power: 10
vonboett is on a distinguished road
Hello Julien and Paul,

I think about interMixingFoam aswell and have some doubts. So I changed it from solving for a liquid and the air to solving for the two liquids, which I think is much more accurate if you are interested mainly in the mixing and less in the surface. I included eddy diffusion aswell, the modified alphaEqns and createFields.H are here

Hope this helps. Anyone knows a test case?
vonboett is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poisson eq w setReference works serial diverges in parallel tehache OpenFOAM Running, Solving & CFD 5 August 29, 2012 09:41
Help on a case of a Submarine which diverges thibautsimon1 OpenFOAM Running, Solving & CFD 2 February 15, 2012 21:07
simple 3D pipe flow diverges with icoFoam Rol OpenFOAM 5 June 27, 2011 17:02
InterMixingFoam - Gravity Currents (bug?) msabger OpenFOAM Bugs 6 April 4, 2011 02:59
InterMixingFoam - Gravity Currents (not working) msabger OpenFOAM Running, Solving & CFD 1 September 29, 2010 12:05

All times are GMT -4. The time now is 22:33.