


{"id":169519,"date":"2022-05-17T16:12:01","date_gmt":"2022-05-17T16:12:01","guid":{"rendered":"\/forum\/forums\/topic\/compiling-usermat-subroutines\/"},"modified":"2022-05-23T09:39:28","modified_gmt":"2022-05-23T09:39:28","slug":"compiling-usermat-subroutines","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/compiling-usermat-subroutines\/","title":{"rendered":"Compiling USERMAT subroutines"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hi,<\/p>\n<p>I developed a USERMAT subroutine to define a new material model in ANSYS Mechanical. The code works perfectly on my laptop, but it gives some warning messages like the one below on our lab&#039;s PC and then stops the simulation with no error message.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>*** WARNING ***&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CP =&nbsp;&nbsp;&nbsp;&nbsp;1.859&nbsp;&nbsp;TIME= 11:36:26<\/p>\n<p>&nbsp;The user material routine for element 240 has set the bisection key in&nbsp;the initial assembly.&nbsp;Check your usermat coding.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>I would REALLY appreciate it if anyone could help me with this issue.<\/p>\n<p>Here is some information regarding this problem:<\/p>\n<ul>\n<li>The same simulation setup and USERMAT code are used on both PCs.<\/li>\n<li>The same version of ANSYS is installed on both PCs (my laptop and the lab&#039;s PC)<\/li>\n<li>I installed the same versions of the required software to compile such subroutines in ANSYS, but this didn&#039;t work.<\/li>\n<li>I reinstalled the operating system (Win 10) on the PC and installed all required software, including the ANSYS itself, but the problem persists.<\/li>\n<li>I attached the log files of the simulations that were performed on my laptop and the lab&#039;s PC to this post.<\/li>\n<\/ul>\n<p>Thank you in advance.<\/p>\n<div data-embedjson=\"{&quot;url&quot;:&quot;\/forum\/wp-content\/uploads\/forum-uploads\/509\/KLOBQDE1IARH.7z&quot;,&quot;name&quot;:&quot;New folder (4).7z&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:10216,&quot;embedType&quot;:&quot;file&quot;}\">\n<a href=\"\/forum\/wp-content\/uploads\/forum-uploads\/509\/KLOBQDE1IARH.7z\" download aria-label=\"New folder (4).7z\"><br \/>\nNew folder (4).7z<br \/>\n<\/a><\/p>\n","protected":false},"template":"","class_list":["post-169519","topic","type-topic","status-closed","hentry","topic-tag-compiler-2","topic-tag-usermat","topic-tag-windows-10"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_btv_view_count":["2889"],"_bbp_likes_count":["0"],"_bbp_subscription":["256018","296494"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["169519"],"_bbp_forum_id":["27791"],"_bbp_engagement":["256018","256656","296494"],"_bbp_voice_count":["3"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["314890"],"_bbp_last_active_id":["314890"],"_bbp_last_active_time":["2023-11-04 14:31:22"]},"test":"mrich1712gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/169519","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\/169519\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=169519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}