


{"id":460704,"date":"2026-07-03T12:02:11","date_gmt":"2026-07-03T12:02:11","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-evaluate-results-between-load-steps-in-ansys-mechanical\/"},"modified":"2026-07-03T12:02:11","modified_gmt":"2026-07-03T12:02:11","slug":"how-to-evaluate-results-between-load-steps-in-ansys-mechanical","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-evaluate-results-between-load-steps-in-ansys-mechanical\/","title":{"rendered":"How to evaluate results between load steps in Ansys Mechanical?"},"content":{"rendered":"<p>&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;Hi,&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;I have created a code snippet in my static structural analysis, which is executed at every load step. The point is to evaluate the results of the previous load step and change the load for the next load step accordingly (in my case, iteratively determine the load where the first element reaches a Tsai-Wu failure criterion value of 1). To do this, I have to add the commands \/post1 and set,previous to read the results from the previous load step. Now, the problem is that Ansys then gets stuck at this load step and solves the selected load step again instead of the next one, as it should. How can I tell Ansys to procede with the next load step? Or is there a different workaround? Any help weill be appreciated! Here is my code so far&#8230;&nbsp;If it helps, I can share more information. Thanks in advance!&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! Commands inserted into this file will be executed just prior to the ANSYS SOLVE command.&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! These commands may supersede command settings set by Workbench.&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! Active UNIT system in Workbench when this object was created: Metric (mm, kg, N, s, mV, mA)&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! NOTE: Any data that requires units (such as mass) is assumed to be in the consistent solver unit system.&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! See Solving Units in the help system for more information.&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! check the load step&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;*get,load_step,active,,set,lstp&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! start the iteration after the first load step&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;*if,load_step,ge,1,then&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;(&#8230;)&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! start the postprocessor and activate the previous load step&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;\/post1&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;set,previous&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;(&#8230;)&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! get average element stresses&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;etable,sigma_x,s,x&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;etable,sigma_z,s,z&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;etable,tau_xz,s,xz&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! calculate tsai-wu values and the next load&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;(&#8230;)&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! clear element table&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;etable,eras&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! go to the preprocessor to save the loads for the next round&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;\/prep7&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! save the current load (P) and the determined next load (P_nxt)&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! as real constants for the next round&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;r,101,P,P_nxt&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! go to the solution processor&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;\/solu&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! reselect everything&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;allsel&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! scale the load to the new P&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;factor_P = P_nxt \/ 10000&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;sfscale,pres,factor_P,factor_P&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;! activate the next load step &#8230;&#8230;.&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&nbsp;&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;*endif&lt;\/div&gt;&lt;div class=&#8221;nova-legacy-e-text nova-legacy-e-text&#8211;size-m nova-legacy-e-text&#8211;family-sans-serif nova-legacy-e-text&#8211;spacing-s nova-legacy-e-text&#8211;color-inherit redraft-text&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2026\/07\/03-07-2026-1783080109-Screenshot 2026-07-03 104203.png\" alt=\"\" \/>&lt;\/div&gt;&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-460704","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["460704"],"_bbp_author_ip":["2001:4ca0:2fff:2:4:3:1:19"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["460704"],"_bbp_last_active_time":["2026-07-03 12:02:11"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["1"],"_bbp_engagement":["665563"],"_btv_view_count":["9"],"_bbp_topic_status":["unanswered"]},"test":"lucas-bienerttum-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/460704","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\/460704\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=460704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}