


{"id":282816,"date":"2023-05-08T12:45:00","date_gmt":"2023-05-08T12:45:00","guid":{"rendered":"\/forum\/?post_type=topic&#038;p=282816"},"modified":"2023-05-08T12:45:00","modified_gmt":"2023-05-08T12:45:00","slug":"how-can-i-extract-remote-connection-rotation-at-each-time-step-via-commands","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-can-i-extract-remote-connection-rotation-at-each-time-step-via-commands\/","title":{"rendered":"How can I extract remote connection rotation at each time step via commands?"},"content":{"rendered":"<p>Hello,<\/p>\n<p>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&#8217;m definitely doing something wrong. Any suggestions?<\/p>\n<div>!Time step config&nbsp;<\/div>\n<div>total_time=1<\/div>\n<div>time_steps=2<\/div>\n<div>time_inc=total_time\/time_steps<\/div>\n<div>&nbsp;<\/div>\n<div>*cfopen,&#8217;E:\\ANSYS MODEL\\results&#8217;,&#8217;txt&#8217;<\/div>\n<div>*do,time,time_inc,total_time,time_inc<\/div>\n<div>&nbsp; &nbsp; SET, time<\/div>\n<div>&nbsp; &nbsp; pinion_rotz = ROTZ(pinion_pilot)<\/div>\n<div>&nbsp; &nbsp; wheel_rotz = ROTZ(wheel_pilot)<\/div>\n<div>&nbsp; &nbsp; pinion_rotz = pinion_rotz*180\/pi<\/div>\n<div>&nbsp; &nbsp; wheel_rotz = wheel_rotz*180\/pi<\/div>\n<div>&nbsp; &nbsp;&nbsp;<\/div>\n<div>&nbsp; &nbsp; *vwrite, time, pinion_rotz, wheel_rotz<\/div>\n<div>&nbsp; &nbsp; (F10.6)<\/div>\n<div>*enddo<\/div>\n<div>*cfclos ! close the output file<\/div>\n<div>&nbsp;<\/div>\n<div>Thanks,<\/div>\n","protected":false},"template":"","class_list":["post-282816","topic","type-topic","status-closed","hentry","topic-tag-command"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["23.44.170.61"],"_bbp_subscription":["22498","88"],"_btv_view_count":["437"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["282816"],"_bbp_forum_id":["27791"],"_bbp_engagement":["88","22498"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["282992"],"_bbp_last_active_id":["282992"],"_bbp_last_active_time":["2023-05-09 10:04:06"]},"test":"firasbejar"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/282816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/282816\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=282816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}