CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF for dynamic contact angle

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2006, 11:08
Default UDF for dynamic contact angle
Posts: n/a
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;


  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
help with UDF for contact angle based on contact line velocity gandesk Fluent UDF and Scheme Programming 14 October 29, 2012 13:58
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
UDF for varying contact angle (wettability gradient)) aviitkgp1 FLUENT 1 March 10, 2010 14:37
problems with UDF to set contact angle poiuy219 Main CFD Forum 0 April 30, 2009 10:43
Contact angle UDF shephali shrimali FLUENT 0 May 10, 2007 07:52

All times are GMT -4. The time now is 03:22.