Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

*get

Status
Not open for further replies.

maxibonne

Mechanical
Oct 5, 2008
29
MT
Hello everyone

Is it possible to select a number of nodes, and then use *get, to obtain the respective node numbers? I have trouble finding this in the Help for *get. I then want to use another *get to get the UY disp of each node.

Thanks
maxibonne
 
Replies continue below

Recommended for you

Read through the APDL section of the help. To make a long story short you will need to use *do, nmin(), ndnext(), and *get for what you desire. You may also consider checkout out the *vget command!
 
*get,nnn,node,0,nxth
*dowhile,nnn
*get,uydisp,node,nnn,u,y
*get,nnn,node,0,nxth
[...] ! do whatever you need to do with nnn and uydisp
*enddo

or without the gets:

nnn=ndnext(0)
*dowhile,nnn
uydisp=uy(nnn)
nnn=ndnext(nnn)
[...] ! do whatever you need to do with nnn and uydisp
*enddo

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top