


{"id":359617,"date":"2024-03-29T15:47:41","date_gmt":"2024-03-29T15:47:41","guid":{"rendered":"\/forum\/forums\/reply\/359617\/"},"modified":"2024-03-29T15:47:41","modified_gmt":"2024-03-29T15:47:41","slug":"359617","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/359617\/","title":{"rendered":"Reply To: How autodyn imports external energy deposition"},"content":{"rendered":"<p>&lt;p&gt;As we discussed, EXSIE is called at every cycle for every element. Thus, in EXSIE you need to&lt;\/p&gt;<\/p>\n<ol>\n<li>Get the X\/Y\/Z of the element based upon the element index (INOW, JNOW, KNOW or IJKNOW),<\/li>\n<li>Read this 800,000 lines files, locate the lines based upon the X\/Y\/Z from #1 and obtain their corresponding energy.<\/li>\n<li>Calculate the deposited energy by interpolating the energy from #2.&nbsp;<\/li>\n<\/ol>\n<p>&lt;p&gt;Since the program has to read the 800000 line file at every cycle and every element, this may take additional CPU time.&lt;\/p&gt;&lt;p&gt;If you can simplify the energy distribution by an analytical expression of X\/Y\/Z coordinates, you can calculate the deposited energy with the equation, rather than read 800000 lines for every element, that will save running time significantly.&lt;\/p&gt;&lt;p&gt;The density and pressure will be calculated by the subroutines that are corresponding to the EOS. For example, if Ideal-Gas EOS is used, density and pressure will be calculated in the subroutine of Ideal Gas EOS.&nbsp;&lt;\/p&gt;&lt;p&gt;If you want to customize the density &amp; pressure calculation, you need to edit the user-subroutine mdeos_user_1.f90. You may not need to edit the EXSIE. You can deposit the energy in the mdeos_user_1.f90.&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-359617","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/359617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/359617\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=359617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}