


{"id":435231,"date":"2025-06-24T10:23:49","date_gmt":"2025-06-24T10:23:49","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/linking-aqwa-with-pythonmatlab-for-data-driven-geometry-optimization\/"},"modified":"2025-06-24T10:27:28","modified_gmt":"2025-06-24T10:27:28","slug":"linking-aqwa-with-pythonmatlab-for-data-driven-geometry-optimization","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/linking-aqwa-with-pythonmatlab-for-data-driven-geometry-optimization\/","title":{"rendered":"Linking AQWA with Python\/MATLAB for Data-Driven Geometry Optimization"},"content":{"rendered":"<p>&lt;p&gt;Hello, I&#8217;m working on a parametric simulation and optimization workflow using ANSYS Workbench and AQWA. I&rsquo;ve parameterized the geometry in DesignModeler and set up the system in Workbench to run simulations through AQWA Hydrodynamic Diffraction and Response. I&rsquo;d like to automate the process of modifying geometry parameters, running AQWA, extracting simulation outputs, and using those to evaluate a custom performance metric externally &mdash; in Python or MATLAB. Since the parameter I&#8217;m focused on in my work isn&rsquo;t directly available through AQWA&#8217;s GUI or output tables, I extract it from the raw .DAT files using my own script. The optimization and evaluation of this metric are to be done in Python or MATLAB, where I also define constraints for the DesignModeler parameters. The output is then used in data-driven methods &mdash; such as Design of Experiments (DoE), machine learning, or surrogate modeling &mdash; to learn from the results and iteratively modify the geometry parameters until optimality of the performance metric is achieved. My goal is to loop this process &mdash; update parameters, solve, extract outputs, compute the result externally, and repeat &mdash; ideally using Workbench journal scripting or another automation method. I&rsquo;d really appreciate any guidance on how to structure this kind of AQWA-to-external-tool feedback loop inside or alongside Workbench.&lt;\/p&gt;&lt;p&gt;Thank You,&lt;\/p&gt;&lt;p&gt;Kodidasu Viveka Siva Surya Teja&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-435231","topic","type-topic","status-publish","hentry","topic-tag-ansys-aqwa","topic-tag-ansys-workbench","topic-tag-aqwa","topic-tag-automation","topic-tag-journal-file","topic-tag-matlab","topic-tag-optimization","topic-tag-python"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27796"],"_bbp_topic_id":["435231"],"_bbp_subscription":["496644","183765"],"_bbp_author_ip":["203.110.247.87"],"_bbp_last_reply_id":["435457"],"_bbp_last_active_id":["435457"],"_bbp_last_active_time":["2025-06-26 09:19:39"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["496644","183765"],"_btv_view_count":["628"],"_bbp_topic_status":["unanswered"],"_edit_last":["496644"],"_bbp_revision_log":["a:2:{i:435232;a:2:{s:6:\"author\";i:496644;s:6:\"reason\";s:0:\"\";}i:435233;a:2:{s:6:\"author\";i:496644;s:6:\"reason\";s:0:\"\";}}"]},"test":"vspenergyofficialgmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/435231","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":2,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/435231\/revisions"}],"predecessor-version":[{"id":435233,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/435231\/revisions\/435233"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=435231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}