CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   cell_t and thread *t for cells (https://www.cfd-online.com/Forums/fluent-udf/138479-cell_t-thread-t-cells.html)

garvitgoel July 4, 2014 12:02

cell_t and thread *t for cells
 
Lets say I first loop over the entire domain and store cell_t c and thread *t for every cell.
Can I later access a cell using these c and t?
For eg
i store cell_t c and thread *t of some cell in global variables c_global and t_global.
Then in some other function I do C_CENTROID ( xc , c_global, t_global );
Will xc hold the centroid of that original cell?
Thanks a lot
garvit goel
Imperial college


All times are GMT -4. The time now is 06:28.