get a certain node’s coordinate

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
yuanshuipi
Posts: 12
Joined: Wed May 11, 2005 3:16 am

get a certain node’s coordinate

Post by yuanshuipi » Tue May 24, 2005 6:01 am

Hi, ALL

I need write a function by tcl to find all nodes within a certain scale, which was defined by a center node and 3 distance in 3 direction respectively.

My problem is how to looking for the node number from global coordinate and how to get a certain node’s coordinate in tcl file.

I'm familar with FORTRAN. I'm begining to study C++ language recently. Before get help here, I'll try to read the source code. It'll take me a long time.

Thanks a lot

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk » Wed May 25, 2005 11:04 am

there is an undocumented command: nodeCoord nodeTag? dirn? .. where
nodeTag? is the tag of the node and dirn? is either X,Y,or Z (1,2, or 3) also works.

silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia » Wed May 25, 2005 11:52 am

this command deserves to be documented, i think!!!!

it might be helpful to write a post-processing script!!!
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104

Post Reply