We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How to Export displacement of Named Selections using APDL Script in Ansys Workbench ?

    • HarsihilZLHZ
      Subscriber
      In Ansys Workbench I want to export displacement of Named Selections.nDoes anyone Know, how to write apdl script?nI want to export displacement using APDL script only !!!nn
    • Rahul Kumbhar
      Ansys Employee
      You can use the following example as a guide to build your APDL script.n/post1 nset,last cmsel,s, !select Named Selection scoped nodes n*get,nmx,node,,num,max n*dim,ndat,array,nmx,4 n*vget,ndat(1,1),node,1,nsel n*vmask,ndat(1,1) n*vfill,ndat(1,1),ramp,1,1 ! store node number n*vmask,ndat(1,1) n*vget,ndat(1,2),node,1,u,x n*vmask,ndat(1,1) n*vget,ndat(1,3),node,1,u,y n*vmask,ndat(1,1) n*vget,ndat(1,4),node,1,u,z n*vmask,ndat(1,1) n*cfopen,vwr,csv n*vwrite,ndat(1,1),ndat(1,2),ndat(1,3),ndat(1,4) (f8.0,3(',',g16.9)) n*cfclosenn
Viewing 1 reply thread
  • The topic ‘How to Export displacement of Named Selections using APDL Script in Ansys Workbench ?’ is closed to new replies.