CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF in Parallel (http://www.cfd-online.com/Forums/fluent/50229-udf-parallel.html)

wangrensong January 7, 2009 09:25

UDF in Parallel
 
This is my udf:

#include "udf.h"

DEFINE_ADJUST(aaa,d)

{

Thread *t=Lookup_Thread(d,10);

#if RP_NODE

Message("C_T=%f\n",C_T(16,t));

#endif

}

And this is my output:

C_T=1738.386353

C_T=1765.570190

C_T=1814.231445

C_T=1807.597046

Why temperture on a same cell differs on each compute node?


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