CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   InterMixingFoam - Gravity Currents (not working) (http://www.cfd-online.com/Forums/openfoam-solving/79703-intermixingfoam-gravity-currents-not-working.html)

msabger August 31, 2010 23:42

InterMixingFoam - Gravity Currents (not working)
 
1 Attachment(s)
Hi

I'm trying to test the interMixingFoam solver when studing gravity currents. So I took the tutorial example but changing the initial alpha fields. The initial condition is a horizontal free surface, and two separated phases, with different densities (I attach the whole example).

I was expecting to see the gravity currents due the difference in density, but both liquid phases behave as they have the same properties.

What could it be wrong?

Thanks!

Martin

nbadano September 29, 2010 12:05

Bug-fix
 
Dear Martin,

There's indeed a bug in interMixingFoam. The solvers incorrectly assigns the properties of phase 2 to phase 3, so both are identical, preventing the development of any density current.

I've posted the bug-fix in this thread:

http://www.cfd-online.com/Forums/ope...rents-bug.html

Best regards!

Nicolas


All times are GMT -4. The time now is 13:49.