


{"id":430948,"date":"2025-05-07T07:51:44","date_gmt":"2025-05-07T07:51:44","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/mapdl-help-with-outputting-stress-on-path\/"},"modified":"2025-05-07T07:51:44","modified_gmt":"2025-05-07T07:51:44","slug":"mapdl-help-with-outputting-stress-on-path","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/mapdl-help-with-outputting-stress-on-path\/","title":{"rendered":"MAPDL Help with Outputting Stress on Path"},"content":{"rendered":"<p>&lt;p&gt;Hi all,&lt;br&gt;&lt;br&gt;I was trying to do a simple 2D axisymmetric model simulating the load transfer between two cylinders (in 2D case, two rectangles) under press-fit condition. I would like to extract the normal stresses and shear stresses distribution on the contact interface, where a path was constructed.&lt;br&gt;&lt;br&gt;But when I was trying to use PASAVE command to output the stress-distance to an external file, it kept output unreadable gibberish files either saving it in .txt or .csv format. I also tried different encoding in Notepad but none has succeeded. What could go wrong in my case? Is there another way to output the stresses on path to an external file?&lt;br&gt;&lt;br&gt;APDL coding:&lt;\/p&gt;&lt;p&gt;\/POST1&lt;br&gt;.&lt;br&gt;.&lt;br&gt;.&lt;br&gt;<em>lsel,s,,,9<\/em>&lt;br&gt;<em>ksll<\/em>&lt;br&gt;<em>ksel,s,,,3,7,4<\/em>&lt;br&gt;<em>nslk<\/em>&lt;br&gt;<em>nnn1=ndnext(1)<\/em>&lt;br&gt;<em>nnn2=ndnext(nnn1)<\/em>&lt;br&gt;<em>alls<\/em>&lt;br&gt;<em>FLST,2,2,1<\/em>&lt;br&gt;<em>FITEM,2,nnn1<\/em>&lt;br&gt;<em>FITEM,2,nnn2<\/em>&lt;br&gt;<em>PATH,path,2,30,40,<\/em>&lt;br&gt;<em>PPATH,P51X,1<\/em>&lt;br&gt;<em>PDEF, ,S,y,AVG<\/em>&lt;br&gt;<em>PLPATH,Sy<\/em>&lt;br&gt;<em>PASAVE,S,Normal_%j%,csv,<\/em>&lt;br&gt;.&lt;br&gt;.&lt;br&gt;.&lt;br&gt;&lt;br&gt;Thanks in advance&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-430948","topic","type-topic","status-publish","hentry","topic-tag-post1-1","topic-tag-apdl","topic-tag-mechanical"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["430948"],"_bbp_author_ip":["2001:388:608c:4c40:28cf:f77e:43fb:f16a"],"_bbp_last_reply_id":["431081"],"_bbp_last_active_id":["431081"],"_bbp_last_active_time":["2025-05-08 13:17:58"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["548785","20905"],"_btv_view_count":["160"],"_bbp_topic_status":["unanswered"],"_bbp_likes_count":["1"],"_bbp_subscription":["20905"]},"test":"shuangkai-zhumonash-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/430948","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\/430948\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=430948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}