


{"id":355172,"date":"2024-03-04T14:07:35","date_gmt":"2024-03-04T14:07:35","guid":{"rendered":"\/forum\/forums\/topic\/query-regarding-initial-internal-energy-calculation-in-autodyn-subroutine\/"},"modified":"2024-03-07T03:55:40","modified_gmt":"2024-03-07T03:55:40","slug":"query-regarding-initial-internal-energy-calculation-in-autodyn-subroutine","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/query-regarding-initial-internal-energy-calculation-in-autodyn-subroutine\/","title":{"rendered":"Query Regarding Initial Internal Energy Calculation in Autodyn Subroutine"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I&#8217;m currently in the process of implementing an ideal gas equation of state (EOS) using an Autodyn subroutine. During this process, I encountered a question regarding the initialization of internal energy.<\/p>\n<p>I&#8217;ve noticed that for existing EOS models in Autodyn (excluding the ideal gas EOS), when I input the parameters of the equation of state, the initial specific internal energy of the material is automatically calculated based on certain criteria.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"display: block;margin-left: auto;margin-right: auto\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709560896-mceclip0.png\" width=\"844\" height=\"509\"><\/p>\n<p>I wanted to achieve similar functionality when implementing the ideal gas EOS using a subroutine. Specifically, I aimed to input a &#8216;Reference Pressure&#8217; and have the initial specific internal energy automatically calculated according to the formula below, so that it would be incorporated into the initial conditions.<\/p>\n<p>Unfortunately, I&#8217;m currently unsure about the method to accomplish this.&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"display: block;margin-left: auto;margin-right: auto\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709561069-mceclip1.png\" width=\"485\" height=\"499\"><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"display: block;margin-left: auto;margin-right: auto\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709561094-mceclip2.png\" width=\"276\" height=\"86\"><\/p>\n<p>Below is the code snippet I&#8217;ve written.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709561159-mceclip3.png\" width=\"673\" height=\"410\"><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709561171-mceclip4.png\" width=\"629\" height=\"109\"><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/03\/04-03-2024-1709561177-mceclip5.png\" width=\"642\" height=\"126\"><\/p>\n<p>I would greatly appreciate any advice or guidance on how to achieve automatic calculation and input of initial specific internal energy based on a reference pressure when implementing the ideal gas EOS using a subroutine.<\/p>\n<p>Thank you for your assistance.<\/p>\n<p>Best regards<\/p>\n<p>Geonhwi Lee<\/p>\n","protected":false},"template":"","class_list":["post-355172","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["285842","83"],"_bbp_author_ip":["23.52.43.81"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["802"],"_bbp_topic_status":["answered"],"_bbp_topic_id":["355172"],"_bbp_forum_id":["27814"],"_bbp_engagement":["83","285842"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["355431"],"_bbp_last_active_id":["355431"],"_bbp_last_active_time":["2024-03-05 16:36:16"]},"test":"leegh663cau-ac-kr"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/355172","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\/355172\/revisions"}],"predecessor-version":[{"id":355805,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/355172\/revisions\/355805"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=355172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}