General Mechanical

General Mechanical

Measuring rotation in multiple places

    • Vanderbezi
      Subscriber

      Hello,


      i have been using the *get command to measure the rotation of an external point:



      • (my_pilot=_npilot)

      • *get,my_ux,node,my_pilot,u,x

      • pi=acos(-1)
        my_rotx=my_rotx*180/pi


      how do you use this commands to measure the rotation of simultaneously two or more external points. (and have multiple results and not combined results for the rotations)


      regards,


      Vanderbezi

    • Rohith Patchigolla
      Ansys Employee

      Hello Vanderbezi, 


      Rotation of an external point (or remote point) can be accessed directly by RMB on Solution --> Insert --> Probe --> Flexible Rotation.


      Then you can scope this remote point and get the rotation result. 


      You can do this for multiple remote points. 


      If you want to use commands for multiple remote points, you can extend the script as shown below. 


      Below commands under remote points.


       


      1st remote point --> my_pilot1 = _npilot


      2nd remote point --> my_pilot2 = _npilot


       


      Below commands under Solution.


      *get,my_rotx1,node,my_pilot1,rot,x


      *get,my_rotx2,node,my_pilot2,rot,x


      pi=acos(-1)


      my_rotx1=my_rotx1*180/pi


      my_rotx2=my_rotx2*180/pi


      Hope this helps. 


      Best regards,


      Rohith


       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.