CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF for dynamic contact angle (

Aireen August 11, 2006 11:08

UDF for dynamic contact angle
Can somebody help me. I wrote a simple udf to specify dynamic contact angle in VOF model. When I hook it up, it didn't report any error. But the result from the simulation was not what I expected. This is my code:

DEFINE_PROFILE(contact_angle,c, mixture_thread) { real theta; real current_time = CURRENT_TIME;

if (current_time <= 0.003)

theta = 140;


theta = 14;


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