


{"id":371829,"date":"2024-07-14T23:21:50","date_gmt":"2024-07-14T23:21:50","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/"},"modified":"2024-07-15T12:18:52","modified_gmt":"2024-07-15T12:18:52","slug":"incremental-static-analysis-in-ansys-mechanical-apdl","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/","title":{"rendered":"Incremental static analysis in ANSYS Mechanical APDL"},"content":{"rendered":"<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">Hi ANSYS community,<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using &ldquo;*do&rdquo;). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to review the stresses and strains in the model and use the ekill command if the threshold is exceeded.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">A short example of my script is below. I like to apply a displacement of 20mm to the selected nodes in 100 steps. However, in my current code, in the first load step the 20mm is applied, rather than 20\/100 = 0.2mm.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">Could someone please advise how I can correct my script?<\/span><\/p>\n<p class=\"MsoNormal\">&nbsp;<\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">Many thanks,<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\">Anita<\/span><\/p>\n<p class=\"MsoNormal\">&nbsp;<\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 14pt\"><span style=\"line-height: 110%;font-family: 'Open Sans', sans-serif;color: black\">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Apply load on selected nodes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<\/span><span style=\"line-height: 110%;font-family: 'Open Sans', sans-serif;color: black\"><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">NSLA, R,1<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">NSEL,R,LOC,X,-100, 100<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">NSEL,R,LOC,Y,300<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">NSEL,R,LOC,Z,27<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">CM, n0, NODES<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">D,n0,UY,20, , , , , , , , ,&nbsp;<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">ALLSEL,ALL<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">!*<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Define Solution Controls !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">\/SOLU<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">!total number of steps for solve<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; &nbsp; steps=100<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; &nbsp; TIME_END=1<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; &nbsp; timeinc=TIME_END\/steps<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; &nbsp; time,timeinc<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; &nbsp; solve<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">*do,ICOUNT,1,steps-1<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; \/solu<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; allsel,all<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; time,timeinc*ICOUNT+timeinc<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; solve<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">&nbsp; finish<\/span><\/span><br \/><span style=\"background: #FBFBFB\"><span style=\"float: none\">*enddo<\/span><\/span><\/span><\/span><\/p>\n","protected":false},"template":"","class_list":["post-371829","topic","type-topic","status-closed","hentry","topic-tag-apdl"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-07-14T23:21:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-07-15T12:18:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/apdl\\\/#listItem\",\"name\":\"apdl\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/apdl\\\/#listItem\",\"position\":3,\"name\":\"apdl\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/apdl\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/#listItem\",\"name\":\"Incremental static analysis in ANSYS Mechanical APDL\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/#listItem\",\"position\":4,\"name\":\"Incremental static analysis in ANSYS Mechanical APDL\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/apdl\\\/#listItem\",\"name\":\"apdl\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/\",\"name\":\"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum\",\"description\":\"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \\u201c*do\\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/incremental-static-analysis-in-ansys-mechanical-apdl\\\/#breadcrumblist\"},\"datePublished\":\"2024-07-14T23:21:50+00:00\",\"dateModified\":\"2024-07-15T12:18:52+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum","description":"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/#listItem","name":"apdl"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/#listItem","position":3,"name":"apdl","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/#listItem","name":"Incremental static analysis in ANSYS Mechanical APDL"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/#listItem","position":4,"name":"Incremental static analysis in ANSYS Mechanical APDL","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/#listItem","name":"apdl"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/","name":"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum","description":"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/#breadcrumblist"},"datePublished":"2024-07-14T23:21:50+00:00","dateModified":"2024-07-15T12:18:52+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum","og:description":"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/","article:published_time":"2024-07-14T23:21:50+00:00","article:modified_time":"2024-07-15T12:18:52+00:00","twitter:card":"summary_large_image","twitter:title":"Incremental static analysis in ANSYS Mechanical APDL | Ansys Learning Forum","twitter:description":"Hi ANSYS community,I am trying to run incremental static analysis in ANSYS Mechanical APDL. I am not sure how to write the code using a loop command (using \u201c*do\u201d). I need to write a loop command (rather than directly solving by defining the number of subsets etc) because after each solved step, I need to"},"aioseo_meta_data":{"post_id":"371829","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:37:41","updated":"2024-10-28 16:37:41","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/\" title=\"apdl\">apdl<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tIncremental static analysis in ANSYS Mechanical APDL\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"apdl","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/apdl\/"},{"label":"Incremental static analysis in ANSYS Mechanical APDL","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/incremental-static-analysis-in-ansys-mechanical-apdl\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["431947","88"],"_bbp_author_ip":["124.150.63.91"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["273"],"_bbp_topic_status":["unanswered"],"_edit_lock":["1721045904:15140"],"_bbp_topic_id":["371829"],"_bbp_forum_id":["27791"],"_bbp_engagement":["88","431947"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["372045"],"_bbp_last_active_id":["372045"],"_bbp_last_active_time":["2024-07-16 07:03:46"]},"test":"aamirsardariswin-edu-au"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/371829","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\/371829\/revisions"}],"predecessor-version":[{"id":371907,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/371829\/revisions\/371907"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=371829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}