CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   User_Defined_Memory (http://www.cfd-online.com/Forums/fluent/41324-user_defined_memory.html)

jim June 9, 2006 04:20

User_Defined_Memory
 
hi

I want to see the contour of accumulated data in fluet

Using C_UDMI, I want to compute the accumulated temperature.

Could you give me the problem of my UDF?

<< #include "udf.h"

#include "dpm.h"

DEFINE_PROPERTY(c,t)

{

real temp;

Thread *t;

cell_t c;

begin_c_loop(c,t)

{

temp=C_T(c,t);

C_UDMI(c,t,1)+=temp;

}

end_c_loop(c,t)

}

>>

Before I interperte UDF, I allocate memory location in the UDM-panel

thank's for your attention


All times are GMT -4. The time now is 18:10.