Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
Sep 7, 2024
1
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