|
[Sponsors] |
September 11, 2006, 12:43 |
Help with UFD
|
#1 |
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 |
|
September 17, 2006, 16:20 |
Re: Help with UFD
|
#2 |
Guest
Posts: n/a
|
maybe some of the variables do not exist when UDF run! try to verify this.
regards |
|
|
|
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 |