|
[Sponsors] |
October 30, 2008, 14:55 |
Initializing fluid level on VOF model
|
#1 |
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.
|
|
October 30, 2008, 16:27 |
Re: Initializing fluid level on VOF model
|
#2 |
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
|
|
November 4, 2008, 18:20 |
Re: Initializing fluid level on VOF model
|
#3 |
Guest
Posts: n/a
|
Thanks CDE. That seems to help.
|
|
July 3, 2009, 03:05 |
|
#4 | |
New Member
|
Quote:
|
||
July 3, 2009, 04:04 |
|
#5 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
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 |
|
|
|
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 10, 2007 00:42 |
book on Level Set, focus on fluid flow | phsieh2005 | Main CFD Forum | 3 | October 11, 2006 17: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 |