General Mechanical

General Mechanical

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
  • You must be logged in to reply to this topic.