


{"id":286231,"date":"2023-05-29T21:29:51","date_gmt":"2023-05-29T21:29:51","guid":{"rendered":"\/forum\/forums\/reply\/286231\/"},"modified":"2023-05-29T21:29:51","modified_gmt":"2023-05-29T21:29:51","slug":"286231","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/286231\/","title":{"rendered":"Reply To: about topology optimization"},"content":{"rendered":"<p>&lt;p&gt;Hello,&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;1) It is possible to use a Gaussian or plane wave source, but the figure of merit needs to be the power in mode. This is a bit of an aside, but the adjoint source needs to be a mode source, which is not fundamental to the adjoint method, but the way lumopt is implemented is limited to guided mode photonics.&lt;\/p&gt;&lt;p&gt;2)I think when using co-optimization you can use two separate scripts if needed to create two different set-ups, or specify the sources separately.&lt;\/p&gt;&lt;p&gt;To make two files with different set-ups simply pass differnt scripts to the opt class, using the script_name parameter, for the second use the source_name parameter.&lt;\/p&gt;&lt;p&gt;<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360050995394\">See Optimization section<\/a>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-286231","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/286231","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\/286231\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=286231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}