CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2007, 08:29
Default Urgent, Urgent, a UDF problem, PLEASE HELP!!!
  #1
Max
Guest
 
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,

Max
  Reply With Quote

Old   September 24, 2010, 21:30
Default F = f;is error
  #2
New Member
 
wanghongtao
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

Reply

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 15:40
Pressure profile UDF for unsteady-state problem? Mohsen Keshavarzian FLUENT 2 August 20, 2008 05:22
parallel UDF problem kerem FLUENT 2 June 20, 2006 07:56
Switch problem! using 2 custom udf laws at the same time HP FLUENT 0 September 15, 2004 10:48
UDF variables F1, y / problem with UDF Fabian FLUENT 6 June 2, 2003 11:22


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