TAGGED: command
-
-
May 8, 2023 at 12:45 pmFirasBejarSubscriber
Hello,
I applied the follwoing code to get the rotation of a remote point for every time step. I get the same values for both steps which correspond to the final step. I'm definitely doing something wrong. Any suggestions?
!Time step configÂtotal_time=1time_steps=2time_inc=total_time/time_stepsÂ*cfopen,'E:\ANSYS MODEL\results','txt'*do,time,time_inc,total_time,time_inc  SET, time  pinion_rotz = ROTZ(pinion_pilot)  wheel_rotz = ROTZ(wheel_pilot)  pinion_rotz = pinion_rotz*180/pi  wheel_rotz = wheel_rotz*180/pi  Â  *vwrite, time, pinion_rotz, wheel_rotz  (F10.6)*enddo*cfclos ! close the output fileÂThanks, -
May 9, 2023 at 10:04 amAshish KhemkaForum Moderator
Hi,
Please see if the following posts help:
Harmonic Response Analysis & Face Rotation | Ansys Workbench (simutechgroup.com)
Measuring Face Translation and Rotation | Ansys Mechanical WB (simutechgroup.com)
Regards,
Ashish Khemka
-
Viewing 1 reply thread
- The topic ‘How can I extract remote connection rotation at each time step via commands?’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- Image to file in Mechanical is bugged and does not show text
- Timestep range set for animation export
- Frictional No separation contact
- Script Error Code:800a000d
- Elastic limit load, Elastic-plastic limit load
Top Contributors
-
1341
-
594
-
591
-
530
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.