CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   interFoam, problems with volume fraction conservation (http://www.cfd-online.com/Forums/openfoam/69089-interfoam-problems-volume-fraction-conservation.html)

jorgehegar October 12, 2009 03:58

interFoam, problems with volume fraction conservation
 
Hello everybody!
I´m having problems with interFoam solver used in the new OpenFoam version 1.6.
From the first time step the liquid volum fraction starts to decrease, and that shouldn´t happen in my problem, until the water reachs the Outlet (that happens after 3-4 seconds of simulation).
With the same boundary conditions I obtained no problem with version 1.5. The liquid volume fraction was constant till the liquid come to the Outlet.
It seems like if there is somewhere some type of numeric problem.

My problem is a U-pipe that has enough water to full fill the horizontal part of the pipe.

Can someone help me with this tema? Do anyone know if they have change something by the numeric procedure of the new version?

Thank you very much for your help and time.

jploz October 12, 2009 07:32

Hi,

I do not understand your setup exactly. Could you provide some additional information about the case? Maybe a picture of the domain? I guess the amount of water remains equal while it moves towards to outlet?

Regards. Jean-Peer

jorgehegar October 12, 2009 07:51

1 Attachment(s)
Attachment 1233Hi,
hear I attach a picture with the geometry boundaries of the problem.
Thanks.

ngj October 13, 2009 04:18

Hi

I have read somewhere on the Forum that chaging from pd -> p makes the zeroGradient on p at walls erroneous, as you have a hydrostatic component, i.e. dp/dn differs from zero.
I am currently working in 1.6, hence could you see, if you can compute the hydrostatic pressure with no inflow in your setup without loosing any fluid?

Hope it helps,

Niels

harald.swi October 15, 2009 06:53

interFoam no volume conservation in 1.6
 
Hello,

With Version 1.6 I observed also, that the volume fraction of liquid drops if I calculate a half filled bending over a longer time (4-10 s) until the liquid dissapeared completely. At the open ends of the bending I set u=0 m/s and P = 10e5 Pa respectively (-> zero flow). The hydrostatic pressure seems to be o.k.. The violation of the volume conservation does not appear if I use version 1.5 ! I would be glad, if someone knows what has been changed in the underlying solver or equations since 1.5.


All times are GMT -4. The time now is 01:37.