


{"id":381420,"date":"2024-09-03T10:16:45","date_gmt":"2024-09-03T10:16:45","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-command-prnsol-2\/"},"modified":"2024-09-04T09:17:01","modified_gmt":"2024-09-04T09:17:01","slug":"apdl-command-prnsol-2","status":"answered","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-command-prnsol-2\/","title":{"rendered":"APDL command PRNSOL"},"content":{"rendered":"<p>&lt;p&gt;Hi!&lt;\/p&gt;&lt;p&gt;I am using following APDL command to print stresses in a text file:&lt;\/p&gt;&lt;p&gt;\/OUTPUT,Shaft,txt,,APPEND &nbsp;! switch output to file &#8216;Shaft.txt'&lt;br&gt;PRNSOL,S,COMP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ! print all stress components&lt;br&gt;\/OUTPUT&lt;\/p&gt;&lt;p&gt;With the above command the x,y,z,xy,xz,yz the component stresses are ploted in the text file.&lt;\/p&gt;&lt;p&gt;With the following comand the principal stresses are printed in the txt file.&lt;\/p&gt;&lt;p&gt;PRNSOL,S,PRIN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ! print all stress components&lt;\/p&gt;&lt;p&gt;However I would like to print both component and principal stresses to a file. The result should look like this (see picture below).&nbsp;&lt;\/p&gt;&lt;p&gt;How can I combine PRNSOL,S,PRIN and PRNSOL,S,COMP that all stresses are written to the file (using both commands sequentially is not the desired solution)&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/03-09-2024-1725357919-mceclip2.png\" \/>&lt;\/p&gt;&lt;p&gt;Thanks&lt;\/p&gt;&lt;p&gt;Wolke&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-381420","topic","type-topic","status-answered","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["86234","13386"],"_bbp_author_ip":["194.39.218.17"],"_btv_view_count":["545"],"_bbp_topic_status":["answered"],"_bbp_status":["publish"],"_bbp_topic_id":["381420"],"_bbp_forum_id":["27791"],"_bbp_engagement":["13386"],"_bbp_voice_count":["1"],"_bbp_last_reply_id":["381435"],"_bbp_last_active_id":["381435"],"_bbp_last_active_time":["2024-09-03 11:10:52"]},"test":"maja-wolkensteinde-bosch-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/381420","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/381420\/revisions"}],"predecessor-version":[{"id":381502,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/381420\/revisions\/381502"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=381420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}