Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Mechanical, beam elements

Status
Not open for further replies.

EvgeniiStudent

Student
Joined
Sep 7, 2024
Messages
1
Location
IL
Hello,

I am trying to output the Y coordinates of beam elements in Workbench Mechanical by inserting APDL code. The code is as follows:
“/POST1
*CFOPEN, Yposition, txt, 'path', append

nelems = 100
*DO, j, 1, nelems
*get,elemYposition,ELEM,j,cent,y
*VWRITE,elemYposition.
%G
*ENDDO

*CFCLOS”

Only zeros are written to the file.
How to get coordinates of beam elements center correctly?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top