CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Initializing fluid level on VOF model

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 30, 2008, 14:55
Default Initializing fluid level on VOF model
  #1
Daniel
Guest
 
Posts: n/a
I'm trying to model the flow through a trough distributor, with both the top and bottom open to atmosphere. Liquid enters through a downspout. I know the theoretical average surface height, and I would like to use this as an ititial condition. If I try to break the fluid domain into 2 zones (1 for liquid, 1 for air with the interface at the expected surface level) the solver fails with Error: Floating point error: invalid number. This happens regardless of whether i'm using the VOF model or a single phase. Do you have any recommendations for initializing the domain, or a way around this error? Thanks.
  Reply With Quote

Old   October 30, 2008, 16:27
Default Re: Initializing fluid level on VOF model
  #2
CDE
Guest
 
Posts: n/a
You can do this in 3 steps: 1) Initialise the domain with VOF = 0 for liquid. 2) Go to Adapt->Region and mark the region that is full of liquids using coordinates. 2) Go to Solve->Initialise->Patch and patch the region you marked in step 2 with liquid VOF = 1
  Reply With Quote

Old   November 4, 2008, 18:20
Default Re: Initializing fluid level on VOF model
  #3
Daniel
Guest
 
Posts: n/a
Thanks CDE. That seems to help.
  Reply With Quote

Old   July 3, 2009, 02:05
Default
  #4
New Member
 
alven
Join Date: Mar 2009
Location: Malaysia
Posts: 25
Blog Entries: 1
Rep Power: 8
alven299 is on a distinguished road
Quote:
Originally Posted by CDE
;154423
You can do this in 3 steps: 1) Initialise the domain with VOF = 0 for liquid. 2) Go to Adapt->Region and mark the region that is full of liquids using coordinates. 2) Go to Solve->Initialise->Patch and patch the region you marked in step 2 with liquid VOF = 1
Hi CDE, how do you check whether the VOF=0 for liquid upon initializing? Thank you.
alven299 is offline   Reply With Quote

Old   July 3, 2009, 03:04
Default
  #5
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
you can check your initialization by displaying the contour of vof before starting to iterate
It should match the value you gave in solve/initialize
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   July 3, 2009, 03:45
Default
  #6
New Member
 
alven
Join Date: Mar 2009
Location: Malaysia
Posts: 25
Blog Entries: 1
Rep Power: 8
alven299 is on a distinguished road
thank you very much, at least I have a bit of idea on wat is going on in VOF now
alven299 is offline   Reply With Quote

Reply

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
Problems initializing a turbulence model srinath OpenFOAM Running, Solving & CFD 3 November 27, 2008 11:06
Define initial liquid level for VOF model Gab CFX 2 May 9, 2007 23:42
book on Level Set, focus on fluid flow phsieh2005 Main CFD Forum 3 October 11, 2006 16:17
Volume of Fluid and Level Set Huckleberry Finn Main CFD Forum 2 November 29, 1999 16:17
UDF for initializing VOF Ray Main CFD Forum 0 November 11, 1999 12:29


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