CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF for dynamic contact angle

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

LinkBack Thread Tools 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
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 On
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 14:58
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
UDF for varying contact angle (wettability gradient)) aviitkgp1 FLUENT 1 March 10, 2010 15: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 15:48.