CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

problems with UDF to set contact angle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2009, 11:43
Default problems with UDF to set contact angle
  #1
New Member
 
weizhehan
Join Date: Apr 2009
Posts: 1
Rep Power: 0
poiuy219 is on a distinguished road
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
poiuy219 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact angle UDF shephali shrimali FLUENT 0 May 10, 2007 08:52
About the Contact Angle Flora FLUENT 2 March 8, 2007 03:07
How i can set slip velocity by udf cxzhao FLUENT 0 June 9, 2005 22:34
Cannot set correct inlet velocity by UDF?!? Bob FLUENT 5 March 27, 2003 04:17
Some problems about UDF in fluent5.4 Mark FLUENT 2 August 14, 2001 09:03


All times are GMT -4. The time now is 05:20.