CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   retrieving node coordinates (

Bryan December 12, 2005 23:17

retrieving node coordinates
I want to retrieve the x and y coordinates for all my nodes in my model so that I can manipulate them later for a dymanic mesh function. My loop to collect them and store them in UDM looks like this:

thread_loop_c(tf, domain)






w = C_NODE(c,tf,n);

C_UDMI(c,tf,0) = NODE_X (w);

C_UDMI(c,tf,1) = NODE_Y (w);





problem is that since it loops over all the cells, i have many repeated values for the nodes where they overlap and share corners with other cells. Is there a way that I can avoid getting these repeated node values? I am new at this so any help would be appreciated.


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