CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   problems with UDF to set contact angle (

poiuy219 April 30, 2009 10:43

problems with UDF to set contact angle
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"
face_t f;


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


All times are GMT -4. The time now is 13:02.