|
[Sponsors] |
April 30, 2009, 10:43 |
problems with UDF to set contact angle
|
#1 |
New Member
weizhehan
Join Date: Apr 2009
Posts: 1
Rep Power: 0 |
Hi,
I am using Fluent to simulate a water droplet flowing down a vertical surface. so it's a multiphase flow and I try to use UDF to define the droplet contact angle as follows: #include "udf.h" DEFINE_PROFILE(CA_profile,t,i) { face_t f; begin_f_loop_all(f,t) { ........... F_PROFILE(f,t,i)=........; } end_f_loop_all(f,t) } but it didn't seem to be working properly. my question is will the thread pointer in DEFINE_PROFILE be automatically assigned to the bounday face (between water and air) after hooking UDF to contact angle in GUI? or do i need to specify the boundary face thread pointer before looping? thank you han |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Contact angle UDF | shephali shrimali | FLUENT | 0 | May 10, 2007 07:52 |
About the Contact Angle | Flora | FLUENT | 2 | March 8, 2007 02:07 |
How i can set slip velocity by udf | cxzhao | FLUENT | 0 | June 9, 2005 21:34 |
Cannot set correct inlet velocity by UDF?!? | Bob | FLUENT | 5 | March 27, 2003 03:17 |
Some problems about UDF in fluent5.4 | Mark | FLUENT | 2 | August 14, 2001 08:03 |