CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Help with UFD

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2006, 12:43
Default Help with UFD
  #1
Blas
Guest
 
Posts: n/a
Hi, can anybody help me out with this simple UDF. It compiles and loads fine but I keep getting the ACCESS VIOLATION error.

The UDF is as follows:

#include "udf.h" DEFINE_ADJUST(temp_cell, d) {

Thread *t;

cell_t c;

thread_loop_c(t,d)

{

begin_c_loop(c,t)

{

C_UDMI(c,t,0) = C_T(c,t);

printf("temp pared [C] = %f\n", C_UDMI(c,t,0));

}

end_c_loop(c,t)

} }

Thanks
  Reply With Quote

Old   September 17, 2006, 16:20
Default Re: Help with UFD
  #2
Adriano
Guest
 
Posts: n/a
maybe some of the variables do not exist when UDF run! try to verify this.

regards

  Reply With Quote

Reply


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
Help on UFD Compiling zhangzft FLUENT 0 September 3, 2009 13:58
Hepl!! regarding ufd in fluent sandeep Goel Main CFD Forum 0 June 28, 2007 20:59
UFD writing help Nelly FLUENT 1 January 19, 2007 11:29
problem with very simple ufd Ralf Schmidt FLUENT 4 September 15, 2006 10:38
UFD to report mass fraction at the outlet cells Laura FLUENT 4 June 10, 2005 03:42


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