CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

retrieving node coordinates

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2005, 23:17
Default retrieving node coordinates
  #1
Bryan
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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