


{"id":307093,"date":"2023-09-17T06:32:27","date_gmt":"2023-09-17T06:32:27","guid":{"rendered":"\/forum\/forums\/topic\/upf-linking-and-invoke-subroutine\/"},"modified":"2023-09-17T07:37:08","modified_gmt":"2023-09-17T07:37:08","slug":"upf-linking-and-invoke-subroutine","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/upf-linking-and-invoke-subroutine\/","title":{"rendered":"UPF linking and invoke subroutine"},"content":{"rendered":"<p>Hello friends<br \/>This is the first time I want to link and work with UPF and I have encountered a problem. I use Ansys 19.0 and I linked Visual Studio 14 (2015) and Fortran 17 with it, and apparently the link has been established. Because when I click on Chek UPF Setup, everything is ok, and also after solving, subroutine reading messages are given in the Solution Information section.<br \/>But I have a problem when solving the problem<br \/>I wrote a very simple tbelastic subroutine, I defined only two properties of Young&#8217;s modulus and Poisson&#8217;s ratio with a constant value and gave it to mechanical workbench. command is also written correctly:<\/p>\n<p>*tbdele, all<br \/>*tb, elastic, 1,, 2, user<\/p>\n<p>&nbsp; But when I solve the simple problem, it is clear from the results that it was not read from my code&#8230; the strange thing is that by changing the properties of the material in the code and engineering data, the results do not change. Apparently, the software reads the mechanical properties from another place and probably from another code that I don&#8217;t know where!!!<\/p>\n<p>Does anyone know where the problem comes from? And sometimes, even though I have given him the subroutine in another folder, why and where does he read subroutine?<\/p>\n<p>note1: When I change the value of 1 to two or more in the command, the software reads the properties from the engineering data!<br \/>*tb, elastic, 2,, 2, user<\/p>\n<p>note2: This is how I did the linking process<br \/>Step 1- Visual installation<br \/>Step 2- Installing Fortran<br \/>Step 3- Install Ansys<br \/>Step 4- New definition in environment variables<br \/>*ans_use_upf<br \/>*ans_user_path<br \/>Step 5- Download and install ACT UPF4<\/p>\n<p>note3: This problem also exists for me in version 18.2<\/p>\n","protected":false},"template":"","class_list":["post-307093","topic","type-topic","status-closed","hentry","topic-tag-ansysworkbench-ansys-staticstructural","topic-tag-coding-1","topic-tag-link-2","topic-tag-subroutine","topic-tag-upf","topic-tag-usermat"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["293650","157520","294283"],"_bbp_author_ip":["96.7.74.191"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1547"],"_edit_lock":["1694936079:231477"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["307093"],"_bbp_forum_id":["27791"],"_bbp_engagement":["157520","293650"],"_bbp_voice_count":["2"],"_bbp_reply_count":["6"],"_bbp_reply_count_hidden":["1"],"_bbp_last_reply_id":["310486"],"_bbp_last_active_id":["310486"],"_bbp_last_active_time":["2023-10-07 07:56:26"]},"test":"sorena-shahbazi96gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/307093","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\/307093\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=307093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}