CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

user defined functions

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2009, 18:37
Question user defined functions
New Member
Join Date: Mar 2009
Posts: 3
Rep Power: 14
avion is on a distinguished road
im trying to create a velocity function that is dependent on time and also the inlet diameter of a tube....creating in fluent

i have no clue how to implement the diameter as a function and also how to make velocity a function of two variables...

can some one please help me out


avion is offline   Reply With Quote

Old   March 17, 2009, 18:51
Default Udf
New Member
Prakash Ayappan
Join Date: Mar 2009
Posts: 25
Rep Power: 14
technocrat.prakash is on a distinguished road
You can do it. Its 2D or 3D.

I have explained it for 2D.

First for time, you can get the value from *time definition.

Second for knowing the diameter, just loop over the inlet wall (the diameter) cells. For each cell try to find the length of the cell and sum it to find the dia.

All the best!
technocrat.prakash is offline   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
User defined functions??? student CFX 0 March 26, 2008 07:54
use of user defined functions (UDF) Vedavyasa M FLUENT 0 June 27, 2007 07:21
user defined functions (udf) Sundar FLUENT 1 September 1, 2004 02:59
user defined functions sivakumar FLUENT 0 April 8, 2001 02:44
User defined functions Tuomas Koiranen FLUENT 2 December 29, 1999 08:41

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