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

Urgent, Urgent, a UDF problem, PLEASE HELP!!!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2007, 07:29
Default Urgent, Urgent, a UDF problem, PLEASE HELP!!!
Posts: n/a
Hi all,

I have worked with UDFs for some months. I passed a lot of problem in dealing with UDFs, but I encounter with a problem that it makes me realy confused. My simplified UDF is as follows:

DEFINE_PROFILE(film_temperature, t, i) {

int F;

real T;

face_t f;

begin_f_loop(f, t)


F = f;

F_PROFILE(f, t, i) = 100 + F;

Message0("F:%d\n", F);

T = F_T(f,t);

Message0("face Temp: %f\n", T);


end_f_loop(f, t) }

I hook this UDF on a wall as a temperature B.C., but it doesn't work fine. Could anyone tell me how can I correct it?

Thanks in advance,

  Reply With Quote

Old   September 24, 2010, 20:30
Default F = f;is error
New Member
Join Date: Sep 2010
Posts: 2
Rep Power: 0
W7032654 is on a distinguished road
F = f;is error ,you can F_CENTROID(x,t) ; F=x[ ]
W7032654 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
UDF Problem ozgur Fluent UDF and Scheme Programming 18 January 17, 2016 14:40
Pressure profile UDF for unsteady-state problem? Mohsen Keshavarzian FLUENT 2 August 20, 2008 04:22
parallel UDF problem kerem FLUENT 2 June 20, 2006 06:56
Switch problem! using 2 custom udf laws at the same time HP FLUENT 0 September 15, 2004 09:48
UDF variables F1, y / problem with UDF Fabian FLUENT 6 June 2, 2003 10:22

All times are GMT -4. The time now is 14:25.