


{"id":49292,"date":"2020-10-25T10:19:02","date_gmt":"2020-10-25T10:19:02","guid":{"rendered":"\/forum\/forums\/topic\/accessing-nodal-displacement-information-of-previous-sub-steps-in-mechanical-using-apdl-snippets\/"},"modified":"2020-10-25T10:19:02","modified_gmt":"2020-10-25T10:19:02","slug":"accessing-nodal-displacement-information-of-previous-sub-steps-in-mechanical-using-apdl-snippets","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/accessing-nodal-displacement-information-of-previous-sub-steps-in-mechanical-using-apdl-snippets\/","title":{"rendered":"Accessing nodal displacement information of previous sub-steps in Mechanical using APDL snippets."},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hello,<\/p>\n<p>i am working on a transient cutting simulation of a tooltip of a where the cutting force is input as a function using APDL command block. My current transient simulation setting are as follows: <\/p>\n<ol>\n<li>Total number of loadsteps = 3<\/li>\n<li>Time at the end of load step = 1s<\/li>\n<li>time step = 0.1 s<\/li>\n<li>Total number of substeps for each load steps = 10<\/li>\n<\/ol>\n<p>Now, the issue I have here is that, I have a condition where a constant load is applied for the first 3 substeps of the simulation and I am plotting the nodal displacements at the named -selection &#039;cutting point&#039; as my solution results. And for the subsequent application of force from substep number 4, I have to use the solved nodal displacements of those previous 3 substeps. Below are the following commands I have used to call and store the nodal displacement of the previous substeps. However, with these set of commands, the first load step is being solved properly, but for the calculation of the subsequent load steps are not happening. The solver is going back to load step 1 and starting the solution again.<\/p>\n<p><\/p>\n<\/p>\n<p>Commands used.<\/p>\n<p>{<\/p>\n<p>*GET,cut_deformation,node,226,U,Y ! get node displacement &#8211; Calling and storing the nodal displacement of the current substep<\/p>\n<p>*GET,timeident,active,0,set,time ! get solution time <\/p>\n<p>*Get,time_step,active,0,solu,dtime ! get time step size<\/p>\n<p>\/Post1<\/p>\n<p> !!! To retrieve nodal displacement of the substep n-1<\/p>\n<p>SET,,,,,timeident-time_step<\/p>\n<p>*GET,cutdeform1,node,226,U,Y <\/p>\n<p>!!! To retrieve nodal displacement of the substep n-2<\/p>\n<p>SET,,,,,timeident-(2*time_step)<\/p>\n<p>*GET,cutdeform2,node,226,U,Y<\/p>\n<p>!!! To retrieve nodal displacement of the substep n-3<\/p>\n<p>SET,,,,,timeident-(3*time_step)<\/p>\n<p>*GET,cutdeform3,node,226,U,Y<\/p>\n<p>}<\/p>\n<p>Is the above usage of SET command right? And I also would like to know if using \/POST26 instead of \/POST1 will be helpful in this situation.<\/p>\n<p>Below are some images for model, analysis settings and solution information data for reference.<\/p>\n<div class=\"embedExternal embedImage\">\n<div class=\"embedExternal-content\">\n<a class=\"embedImage-link\" href=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/5XMRHE1HTITX\/image.png\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" class=\"embedImage-img\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/5XMRHE1HTITX\/image.png\" alt=\"image.png\" \/><br \/>\n<\/a><\/p>\n","protected":false},"template":"","class_list":["post-49292","topic","type-topic","status-closed","hentry","topic-tag-mechanical-apdl","topic-tag-post-processing"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["21525"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":["*\u0002?\u000b???\u0000??]?u??Z"],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["2108"],"_bbp_subscription":["242732"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["49292"],"_bbp_forum_id":["27791"],"_bbp_engagement":["6","168285"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["131620"],"_bbp_last_active_id":["131620"],"_bbp_last_active_time":["2020-10-29 16:19:20"]},"test":"kishenharidas"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/49292","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\/49292\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=49292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}