


{"id":246431,"date":"2023-01-13T08:58:06","date_gmt":"2023-01-13T08:58:06","guid":{"rendered":"\/forum\/forums\/topic\/comand-estif-to-insert-in-script\/"},"modified":"2023-01-13T08:58:06","modified_gmt":"2023-01-13T08:58:06","slug":"comand-estif-to-insert-in-script","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/comand-estif-to-insert-in-script\/","title":{"rendered":"Comand ESTIF to insert in script"},"content":{"rendered":"<p>I&#8217;m using this EKILL script to kill the stiffness of elements that reach a certain threshold, but I don&#8217;t want this to go to 0 but to decrease by 0.7, I saw that the ESTIF command exists, but I don&#8217;t know where to insert it. Help? this is for a compression test<\/p>\n<p>&nbsp;<\/p>\n<p>total_steps=10<br \/>subst_int=10<br \/>subst_max=20<br \/>subst_min=10<\/p>\n<p>&nbsp;<\/p>\n<p>*do,i,1,total_steps<br \/>&nbsp; \/gopr<br \/>&nbsp; time_step=i\/total_steps<br \/>&nbsp; time,time_step<br \/>&nbsp; nsubst,subst_int,subst_max,subst_min<br \/>&nbsp; outres,all,all<br \/>&nbsp; esel,all<br \/>&nbsp; solve<br \/>&nbsp; finish<\/p>\n<p>&nbsp; \/post1<br \/>&nbsp; &nbsp; set,last<br \/>&nbsp; &nbsp;&nbsp;<br \/>! &nbsp; &nbsp;esel,s,live<br \/>! &nbsp; &nbsp;*get,live_count%i%,elem,0,count<br \/>! &nbsp; &nbsp;esel,inve,live<br \/>! &nbsp; &nbsp;*get,dead_count%i%,elem,0,count<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; esel,all<br \/>&nbsp; &nbsp; etable,stress,s,eqv<br \/>&nbsp; &nbsp; esel,s,etab,stress,ARG1<br \/>! &nbsp; &nbsp;*get,stress_ecount%i%,elem,0,count<br \/>&nbsp; &nbsp; cm,kill_stress%i%,elem<br \/>&nbsp; &nbsp; cmsel,s,kill_stress%i%,elem<br \/>! &nbsp; &nbsp;*get,stress_ecount%i%,elem,0,count<\/p>\n<p>&nbsp; &nbsp; esel,all<br \/>&nbsp; &nbsp; etable,strain,epto,eqv<br \/>&nbsp; &nbsp; esel,s,etab,strain,ARG2<br \/>! &nbsp; &nbsp;*get,strain_ecount%i%,elem,0,count<br \/>&nbsp; &nbsp; cm,kill_strain%i%,elem<br \/>&nbsp; &nbsp; cmsel,s,kill_strain%i%,elem<br \/>! &nbsp; &nbsp;*get,strain_ecount%i%,elem,0,count<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; allsel<br \/>&nbsp; &nbsp; cmwrite,kill_list,cm<br \/>&nbsp; &nbsp; parsav,all<br \/>&nbsp; finish<br \/>&nbsp;&nbsp;<br \/>&nbsp; \/solu<br \/>&nbsp; &nbsp; antype,,restart<br \/>&nbsp; &nbsp; parres<br \/>! &nbsp; &nbsp;*status &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; \/input,kill_list,cm<br \/>&nbsp; &nbsp; *do,k,1,i<br \/>&nbsp; &nbsp; &nbsp; ekill,kill_stress%k%<br \/>&nbsp; &nbsp; &nbsp; ekill,kill_strain%k%<br \/>! &nbsp; &nbsp; &nbsp;*status<br \/>&nbsp; &nbsp; *enddo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>*enddo<\/p>\n<p>finish<\/p>\n","protected":false},"template":"","class_list":["post-246431","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["268698","58821","272807"],"_bbp_author_ip":["23.192.164.18"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["469"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["246431"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","268698","272807"],"_bbp_voice_count":["3"],"_bbp_reply_count":["10"],"_bbp_last_reply_id":["246790"],"_bbp_last_active_id":["246790"],"_bbp_last_active_time":["2023-01-17 18:31:00"]},"test":"r-petrelli92gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/246431","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\/246431\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=246431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}