


{"id":381307,"date":"2024-09-02T07:45:41","date_gmt":"2024-09-02T07:45:41","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-use-initial-guess-in-topology-optimization\/"},"modified":"2024-09-02T07:45:41","modified_gmt":"2024-09-02T07:45:41","slug":"how-to-use-initial-guess-in-topology-optimization","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-use-initial-guess-in-topology-optimization\/","title":{"rendered":"How to use &#8221;initial guess&#8221; in topology optimization?"},"content":{"rendered":"<p>&lt;p&gt;Hi !&lt;\/p&gt;&lt;p&gt;In topology optimization, it&#8217;s possible to use a custom geometric structure as the initial design. I referred to the settings in the cases &#8220;y_splitter_topology&#8221; and &#8220;CWDM_splitter_1310_4ch_2D_TE_topology&#8221;:&lt;\/p&gt;<\/p>\n<ul>\n<li>Placed the custom initial structure in the &#8220;initial_guess&#8221; structure group.<\/li>\n<li>Set the <code>params<\/code> parameter of the geometry to <code>None<\/code>.<\/li>\n<\/ul>\n<p>&lt;p&gt;However, when running the simulation, I encountered the following error:&lt;\/p&gt;&lt;p&gt;UserWarning: Project file structure &#8216;initial_guess&#8217; reports 1 parameter where expected 5929. This can occur when the number of x, y coordinates specified to LumOpt do not match the dimensions of the FDTD grid. Try using similar or divisible delta values (size of a pixel) across all the axes.&lt;\/p&gt;&lt;p&gt;In my FDTD settings, <code>mesh accuracy = 3<\/code>, and no additional mesh was added to the optimization region. It seems to match the settings in the examples, but I can&#8217;t figure out why the error occurs. Are there any other details that I might have overlooked?&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-381307","topic","type-topic","status-publish","hentry","topic-tag-inverse-design-2","topic-tag-lumopt-1","topic-tag-topology-optimization"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["194.99.79.6"],"_btv_view_count":["327"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["50911","343266","296562"],"_bbp_topic_id":["381307"],"_bbp_forum_id":["27833"],"_bbp_engagement":["50911","343266","296562"],"_bbp_voice_count":["3"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["449462"],"_bbp_last_active_id":["449462"],"_bbp_last_active_time":["2025-12-31 09:57:05"]},"test":"2200453024email-szu-edu-cn"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/381307","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\/381307\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=381307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}