


{"id":288951,"date":"2023-06-15T14:33:08","date_gmt":"2023-06-15T14:33:08","guid":{"rendered":"\/forum\/forums\/topic\/accessing-node-temperatures-in-user-programmable-feature-during-solution\/"},"modified":"2023-07-03T09:17:21","modified_gmt":"2023-07-03T09:17:21","slug":"accessing-node-temperatures-in-user-programmable-feature-during-solution","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/accessing-node-temperatures-in-user-programmable-feature-during-solution\/","title":{"rendered":"Accessing node temperatures in User Programmable Feature during solution"},"content":{"rendered":"<p>Hi!<\/p>\n<p>I want to simulate heating of the concrete slab during its hardening using some custom heat generation. Desirable heatgen has dependence on special time variable which is calculated from the beginning of the simulation for each node of the model and changes at each substep using temperature values of structure in current zone (node), time steps and time values, calculated in previous substeps.<\/p>\n<p>I was able to implement it in ABAQUS software using subroutine HETVAL, however I wish to implement it in ANSYS software and similar subroutine in ANSYS (currently im trying to do it using usrefl.F) doesn&#8217;t have (in contrast to subroutines such as usermat.F) user state variables (ustatev) nor temperature data (Temp), which are crucial for my problem.<\/p>\n<p>I have successfully used this subroutine in WB project (it writes some date to output and I can see desirable strings in output file). Currently I&#8217;m trying to implement all in it however I have good grasp of the APDL and it&#8217;s not a problem to do it in mapdl. Also, Ive successfuly implemented some creep law just to test things and can say VS and Fortran compiler works within my system. I link them using \/UPF command.<\/p>\n<p>So, the question is &#8211; <strong>How to access nodal temperature and time step data (some user state variables are also desirable) within upf subroutines which don&#8217;t have them as input arguments<\/strong>?<\/p>\n","protected":false},"template":"","class_list":["post-288951","topic","type-topic","status-closed","hentry","topic-tag-fortran-1","topic-tag-upf","topic-tag-user-defined-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["524"],"_bbp_subscription":["157520"],"_bbp_status":["publish"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["288951"],"_bbp_forum_id":["27791"],"_bbp_engagement":["157520","262268"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["291112"],"_bbp_last_active_id":["291112"],"_bbp_last_active_time":["2023-06-30 17:44:41"]},"test":"user-deleted"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/288951","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\/288951\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=288951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}