CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

udf fluent (lookup_thread)

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

LinkBack Thread Tools Display Modes
Old   May 11, 2013, 05:19
Question udf fluent (lookup_thread)
New Member
Join Date: May 2013
Posts: 1
Rep Power: 0
amirhossein.faraji is on a distinguished road

I write a simple udf as below to test the use of lookup_thread macro.
Before I compile my UDF also allocate the one memory location in the User-Defined
panel in FLUENT.
I also get the integer ID of the zone (boundary wall) by visiting the boundary condition
panel. It was 8.
But when i run my program and then go to Disply panel for seeing User Memory 0, all values of that is zero (not 200).

what is the proplem????
please help me.

#include "udf.h"
Domain *d;
Thread *tf;
face_t f;
d = Get_Domain(1);
tf= Lookup_Thread(d,8);


F_UDMI(f,tf,0)= 200.0;

amirhossein.faraji is offline   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
fluent udf, saving data in udf mohsen zendehbad Fluent UDF and Scheme Programming 15 June 13, 2017 23:23
Transient pressure UDF for parallel fluent droberts Fluent UDF and Scheme Programming 5 October 11, 2010 04:13
Using Fluent with a UDF frm a remote m/c aarti FLUENT 2 September 11, 2008 19:53
UDF problem caused by various version of Fluent Yurong FLUENT 3 January 15, 2006 11:57
Can somebody send me a Fluent 6 UDF manual?? KKLAU FLUENT 4 April 14, 2004 16:37

All times are GMT -4. The time now is 11:29.