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

retrieving node coordinates

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2005, 22: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

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
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
Export node number and coordinates kezman CFX 1 November 4, 2009 19:30
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


All times are GMT -4. The time now is 04:41.