CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for C_UDMI(c,t,0)=T(i,j,k)-T(i+10,j,k) (https://www.cfd-online.com/Forums/fluent/97158-udf-c_udmi-c-t-0-t-i-j-k-t-i-10-j-k.html)

yc9316 February 10, 2012 03:57

UDF for C_UDMI(c,t,0)=T(i,j,k)-T(i+10,j,k)
 
Hi, I am working with Ansys/Fluent 12.1, I am going to define a UDF as shown above, but the data of Fluent is define as T(c,t), I don't know how to bring T(c,t) from different postion in to one cell. Although I can modify the T(i+10,j,k) by loop macros, how can I take it into C_UDMI(c,t,0) without changing it cell c and thread t into the data of T(i,j,k). Look forward to your attention and Thanks a lot.

Regards
Chao


All times are GMT -4. The time now is 17:43.