CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

vof + hydrostatic pressure

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2009, 10:57
Default vof + hydrostatic pressure
Rosario Russo
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 56
Rep Power: 17
ariorus is on a distinguished road
I hope this is not a Faq, I tried to search in the forum for a similar problem but I didn't find anything that helps me.

I'd like to model a free surface flow, basically a channel with a body inside (at this stage the body is kept fixed).

I set up a velocity inlet and a pressure outlet while the other BC are walls (or symmetry I don't think this is important now).
I used udf to proper set up the input and the output for Vof.

I set up the primary phase as air and the secondary phase as water. I left spatial discretization as default (Least square for gradients, PRESTO! for pressure First Order Upwind both for Momentum and VoF).

I'm interested in a steady simulation so I have chosen the steady solver.
If I don't consider gravity I am able to reach a converged solution (even if, pretty strange, it is better not to initialize the VOF but to start with the Vof set to the same value in the whole domain).
Since the density of water is constant I know that this solution would be still valid if gravity was present; the difference would be to consider p as p - rho_H20 g (H_0-y).

I tried afterward to switch on the gravity and set up air as reference density.
This should allow me to get rid of the hydrostatic contribution of the air. I changed the outlet pressure bc in order to account for the hydrostatic pressure by a proper udf that adds the water hydrostatic contribution.
In this way the computation blows up. I have a lot of reversed flow from outlet also. I tried to initialize properly via udf also the Vof and the pressure (I checked that the fields are correctly initialized) but nothing helps.
I guess the tricky point is to initialize properly the pressure but I'm not sure how to do this.

Am I misunderstood something? Does anybody have any suggestion? I searched for a tutorial that addresses a similar problem but was not able to find anything...

Thank you.
ariorus is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent VOF Steve FLUENT 8 September 23, 2016 12:40
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
Pressure Rise Error emueller CFX 0 May 5, 2009 11:08
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
VOF (hydrostatic pressure for water) esteban FLUENT 2 December 16, 2003 08:37

All times are GMT -4. The time now is 14:29.