


{"id":301876,"date":"2023-08-17T10:11:36","date_gmt":"2023-08-17T10:11:36","guid":{"rendered":"\/forum\/forums\/topic\/workbench-upf-usermat-problems-with-the-linking-process\/"},"modified":"2023-08-17T10:11:36","modified_gmt":"2023-08-17T10:11:36","slug":"workbench-upf-usermat-problems-with-the-linking-process","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/workbench-upf-usermat-problems-with-the-linking-process\/","title":{"rendered":"Workbench UPF\/Usermat problems with the linking process"},"content":{"rendered":"<p>Hey guys,<\/p>\n<p>&nbsp;<\/p>\n<p>I still have problems with the linking of my USERMAT with my workbench file so I&#8217;ll try it with a new separate post. Hopefully anybody can help me.<\/p>\n<p>Firstly I am not entirely new to USERMAT and the linking process with APDL but for my work I need to link the same USERMAT with a Workbench file. I am using Ansys 2022R1 and Windows 10. All intel compilers and visual studio packages are installed and the compilation is working without issues for APDL.<\/p>\n<p>Within Workbench I added the &#8220;\\upf, usermat.f&#8221; APDL command in the solver tree and set two system variables (ANS_USE_UPF = TRUE and ANS_USER_PATH = path to compiled dlls files). All files have been compiled beforhands and reside in the win64 folder of the ansys folder. Whenever I try to run the workbench file the solver prompts the following error:<\/p>\n<p>&rdquo;An error occured while starting the solver module.&rdquo;<\/p>\n<p>When I delete the upf commands everything solves without issues (and without the UPF as expected). I also tried to include the compiled files in the solver files directory (right mouse on the solver tree) but nothing works. I think I am missing a step at some point.<\/p>\n<p>In the solver files directory after the failed solving process a link_error file and a link file appears so it looks like the linking did not work. Is there a way to check whether everything is linked correctly and compiling\/running the usermat when I run\/solve the workbench file? Maybe somebody is familiar with using USERMAT files within the workbench environment.<\/p>\n<p>In addition there is another question. How do I assign material properties when using an UPF in the workbench environment. With APDL you assign them with the TB command and there is nothing assigned beforehand. When using workbench there is always a basic material (Steel or so) assigned beforehand and I cannot delete it. Do I have to assign the material properties for my usermat via an APDL command in the workbench tree and do I have to delete the steel properties somehow? I tried the following APDL command but since the whole process does not work I do not know whether that&#8217;s correct.<\/p>\n<p>&#8220;TB,DELE,ALL&#8221; and afterwards defining the new material &#8220;TB,USER,&#8230;..&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Would be great if somebody could give me a hint.<\/p>\n<p>Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-301876","topic","type-topic","status-closed","hentry","topic-tag-mechanical","topic-tag-upf","topic-tag-usermat","topic-tag-workbench"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["30438","5290"],"_bbp_author_ip":["96.7.218.223"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["2164"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["301876"],"_bbp_forum_id":["27791"],"_bbp_engagement":["5290","30438","262268"],"_bbp_voice_count":["3"],"_bbp_reply_count":["6"],"_bbp_last_reply_id":["320201"],"_bbp_last_active_id":["320201"],"_bbp_last_active_time":["2023-11-30 09:18:42"]},"test":"janot-lubritztu-berlin-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301876","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\/301876\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=301876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}