|
[Sponsors] |
![]() |
![]() |
#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.
|
|
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Thanks CDE. That seems to help.
|
|
![]() |
![]() |
![]() |
#4 | |
New Member
|
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#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 ![]() |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems initializing a turbulence model | srinath | OpenFOAM Running, Solving & CFD | 3 | November 27, 2008 10: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 15:17 |
UDF for initializing VOF | Ray | Main CFD Forum | 0 | November 11, 1999 11:29 |