


{"id":166476,"date":"2022-02-16T23:05:43","date_gmt":"2022-02-16T23:05:43","guid":{"rendered":"\/forum\/forums\/topic\/constraining-dipole-position-to-a-structure-group-variable-in-particle-swarm-optimisations\/"},"modified":"2022-02-17T21:50:01","modified_gmt":"2022-02-17T21:50:01","slug":"constraining-dipole-position-to-a-structure-group-variable-in-particle-swarm-optimisations","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/constraining-dipole-position-to-a-structure-group-variable-in-particle-swarm-optimisations\/","title":{"rendered":"Constraining dipole position to a structure group variable in particle swarm optimisations"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hi,<\/p>\n<p>Can anyone suggest how I can setup my FDTD simulation such that that the dipole is constrained relative to an interface.<\/p>\n<p>I am trying to optimise the thickness of a material layer which has emitters fixed 10nm from the bottom interface with another material, however, I am unsure how I can make sure that the dipole is always this set distance while changing the thickness of the material using a PSO.<\/p>\n<p>To set the thickness of the material, I set the zmax = 0 and zmin using variables in a construction group. As I have things above the substrate, my convention is to set the surface to zero and the substrate is negative z.<\/p>\n<p>However, as the dipole can not be in a construction group, and as far as I am aware construction group setup can not access &quot;global&quot; variables I see no way I can set a single variable in the PSO and have the thickness set and dipole positioned correctly.<\/p>\n<p>Please tell me if I am wrong in thinking this.<\/p>\n<p>Many Thanks<\/p>\n<p>Cori<\/p>\n","protected":false},"template":"","class_list":["post-166476","topic","type-topic","status-closed","hentry","topic-tag-LumericalFDTD-1","topic-tag-modeling-setup-advice-2","topic-tag-optimisation-2","topic-tag-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_btv_view_count":["396"],"_bbp_likes_count":["0"],"_bbp_subscription":["233774"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["166476"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","188559"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["205824"],"_bbp_last_active_id":["205824"],"_bbp_last_active_time":["2022-02-17 21:50:01"]},"test":"stealthbird97"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/166476","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\/166476\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=166476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}