CFD Online Logo CFD Online URL
Home > Forums > FLUENT

retrieving node coordinates

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 12, 2005, 23:17
Default retrieving node coordinates
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)






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.

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
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 01:52
how to query node coordinates? phsieh2005 OpenFOAM Post-Processing 2 August 16, 2013 01:48
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
License server not visible from master node Charles FLUENT 0 October 30, 2007 18:48

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