CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Define initial liquid level for VOF model (http://www.cfd-online.com/Forums/cfx/23959-define-initial-liquid-level-vof-model.html)

Gab May 9, 2007 11:02

Define initial liquid level for VOF model
 
Hi All,

Can someone please suggest how to define an initial liquid level for a vof model? In Fluent, there is a function 'patch' to do this. I am not sure if CFX also has a similar tool.

Thanks,

Gab


Gert-Jan May 9, 2007 14:30

Re: Define initial liquid level for VOF model
 
You can use a step function with a coordinate. For everything above x=0 to be gas use:

VfGasIni=0.999*step[x/1[m]]

VfLiquidIni=1-VfGas

Remember to provide a decent pressure distribution as well. This is very well documented in the help. Please read it good.

Another good advice is to use a minimum fraction of 1e-5. Do not use 0 as this will lead to problems.....

Gert-Jan

www.bunova.nl

Gab May 9, 2007 23:42

Re: Define initial liquid level for VOF model
 
Thanks a lot!


All times are GMT -4. The time now is 03:52.