|
[Sponsors] | |||||
|
|
|
#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 |
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 6 | April 17, 2010 23:40 |
| Export node number and coordinates | kezman | CFX | 1 | November 4, 2009 19:30 |
| how to query node coordinates? | phsieh2005 | OpenFOAM Post-Processing | 1 | September 27, 2009 11:10 |
| License server not visible from master node | Charles | FLUENT | 0 | October 30, 2007 18:48 |
| how to get node coordinates for free surface cells | fred | FLUENT | 0 | March 21, 2005 07:08 |