CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   If I know one cell in the fluent ,how to find some other neigbor cell of it . (https://www.cfd-online.com/Forums/fluent/86472-if-i-know-one-cell-fluent-how-find-some-other-neigbor-cell.html)

wwt650420 March 23, 2011 11:12

If I know one cell in the fluent ,how to find some other neigbor cell of it .
 
In Fluent I write the UDF of the energy function,I Have the problem below:
1) I want to iterate the temperature ,so the temperature need to change with the new one in every cell , if I set the cell the temperature want to renew , I must know the temperature of neighber cell , so my problem is how to find the neighber cell through the function .
2) I write a steady energy funtion and have no source, now I have write the convection term and diffusion term and how to use it to complete the function, the gird is unstruction so I write it use the common function.


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