


{"id":44122,"date":"2020-05-18T17:03:42","date_gmt":"2020-05-18T17:03:42","guid":{"rendered":"\/forum\/forums\/topic\/workbench-scripting-hfss\/"},"modified":"2020-05-18T17:03:42","modified_gmt":"2020-05-18T17:03:42","slug":"workbench-scripting-hfss","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/workbench-scripting-hfss\/","title":{"rendered":"Workbench scripting: HFSS"},"content":{"rendered":"<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">Hi,&nbsp;<\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">I need to do a coupled simulation using Ansys Workbench (as shown in the figure below). First I need to do an electromagnetic simulation using HFSS and then do a transient thermal simulation using Mechanical (by importing the geometry &amp; volumetric heat absorption from HFSS solution).<\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\"><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/44f23de7-d457-44c6-941a-ab89014317d7\/c8dd3cf1-98d4-45fa-87b1-abbf0118ca8b_1-0515.jpg?width=690&amp;upscale=false\" alt=\"\"><\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">I would like to automate the process by writing the scripts. I am using academic license (Workbench 17.1). I&nbsp;recorded the workbench journal and have the following question: (while running the recorded journal using command prompt)<\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">1) The first simulation HFSS works fine but it is taking lot of time. It is taking 75 min to complete the first part. (It is a simple simulation and it takes very less time doing manually) For example it takes 3 min&nbsp;for creating second box in the geometry after creating the first one. I am unable to understand why it is taking so much time. Since I need a coupled simulation, I am recording the script using workbench. Else by writing a script in HFSS, it takes just 2 min for doing the simulation. Any help on this would be appreciated. Is there an option to call the HFSS script in workbench journal?<\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">Thank you very much&nbsp;<\/p>\n<p><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 10px; font-size: 15px; overflow-x: hidden; font-family: 'Open Sans', Arial, Helvetica, sans-serif;\">&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-44122","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["16303"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["348"],"_bbp_subscription":["249012"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["44122"],"_bbp_forum_id":["27793"],"_bbp_engagement":["174804"],"_bbp_voice_count":["1"],"_bbp_reply_count":["0"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["44122"],"_bbp_last_active_time":["2020-05-18 17:03:42"]},"test":"prabhukumar"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/44122","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\/44122\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=44122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}