|
[Sponsors] |
December 12, 2005, 23:17 |
retrieving node coordinates
|
#1 |
Guest
Posts: n/a
|
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) { begin_c_loop(c,tf) { c_node_loop(c,tf,n) { w = C_NODE(c,tf,n); C_UDMI(c,tf,0) = NODE_X (w); C_UDMI(c,tf,1) = NODE_Y (w); } } end_c_loop(c,tf); } 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. Bryan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
how to query node coordinates? | phsieh2005 | OpenFOAM Post-Processing | 3 | November 26, 2018 21:13 |
Export node number and coordinates | kezman | CFX | 2 | November 7, 2015 16:45 |
how to get node coordinates for free surface cells | fred | FLUENT | 1 | August 15, 2014 02:52 |
License server not visible from master node | Charles | FLUENT | 0 | October 30, 2007 18:48 |