


{"id":308158,"date":"2023-09-22T19:00:36","date_gmt":"2023-09-22T19:00:36","guid":{"rendered":"\/forum\/forums\/reply\/308158\/"},"modified":"2023-09-22T19:00:36","modified_gmt":"2023-09-22T19:00:36","slug":"308158","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/308158\/","title":{"rendered":"Reply To: How to define a structure based on coordinate points\uff1f"},"content":{"rendered":"<p>&lt;p&gt;This post involves several different concepts.&lt;\/p&gt;&lt;p&gt;1: inverse design uses binary permittivity\/refractive index. However it does not need users to import binary material.&nbsp;&lt;\/p&gt;&lt;p&gt;2:importnk2 imports refractive index varying with space. As for what part is used will depend on FDTD region.&lt;\/p&gt;&lt;p&gt;3: Refractive index monitor:&nbsp;&lt;\/p&gt;&lt;p&gt;in the preview before simulation, it is not recalculated at the material interace. It simply uses staircase depending on which material takes more than 50% of a Yee cell.&lt;\/p&gt;&lt;p&gt;After simulation, it will show what exactly is used i simulation, from the &#8220;Mesh refinement&#8221; method: https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360034382614-Selecting-the-best-mesh-refinement-option-in-the-FDTD-simulation-object&lt;\/p&gt;&lt;p&gt;Therefore, it is normal to have a gap in index preview. If you use finer mesh it will reduce the gap. No worry about the gap as this is a preview. Please note that for this discrete method, everyting must be discretized, and the geometry\/material is no exception. of couse the finer the mesh and the better the accuracy.&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-308158","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/308158","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\/308158\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=308158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}