|May 15, 2012, 06:39||
I have a circle. I meshed it as a whole domain.
I need to give some level of water at the bottom.
I know the value of upper Y co-ordinate of the interface and the lower Y co-ordinate at the bottom of the circle.
Can anyone help me out how to patch those elements as water ?
Thanks in advance !!
|May 15, 2012, 14:22||
Join Date: Apr 2012
Posts: 35Rep Power: 6
I understand that do you want do a cylinder of water. Following have you a UDF for initialization of volume fraction in 3D.
#define Xc 0.0
#define Yc 0.0
#define Zmax 0.02
#define Zmin 0.0
#define r 0.01
if (DOMAIN_ID(sd) == 3)
if (X<=Zmax && sqrt((pow(X-Xc,2) + pow(X-Yc,2)))<r)
In this case, ID=3 is the secondary phase. ID=2 is for first phase.
|Thread||Thread Starter||Forum||Replies||Last Post|
|the initialization of the coupled level set method and vof model in FLUENT 13.0||dutliang||FLUENT||3||December 13, 2011 22:28|
|Initialization - VOF||moas||FLUENT||4||February 19, 2008 23:35|
|Domain Initialization in 2 phase flow using VOF||moas||CFX||3||February 17, 2008 06:19|
|HELP! adding a mass source to VOF eqn. by UDF???||ROOZBEH||FLUENT||4||May 29, 2003 09:54|
|Initialization of VOF||Jennie||Main CFD Forum||4||November 18, 1999 17:41|