


{"id":355282,"date":"2024-03-04T23:13:26","date_gmt":"2024-03-04T23:13:26","guid":{"rendered":"\/forum\/forums\/reply\/355282\/"},"modified":"2024-03-04T23:13:26","modified_gmt":"2024-03-04T23:13:26","slug":"355282","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/355282\/","title":{"rendered":"Reply To: Small-Scale Metalens \u2013 Field Propagation will not open"},"content":{"rendered":"<p>&lt;p&gt;Thank you for your reply and your patience. It took a while to implement your advice, as I had some license issues. After following your question, I found that I can edit the parameters in unit_cell_fdtd, but still have a couple of issues.&lt;\/p&gt;&lt;p&gt;In &#8220;unit_cell_fdtd&#8221;, I noticed in the sweep that E would get the information from s_params. After changing the wavelength in s_params and clicking &#8220;ok&#8221;, I noticed that the matlab file &#8220;EH_and_phase_vs_radius_fdtd&#8221; would print the wavelength as 6.6e-7. I also changed the source and reran the simulation, but the wavelength remains 6.6e-7. I will delete all the matlab files and run &#8220;unit_cell_fdtd&#8221;, but I noticed the newly generated matlab file would have wavelength = 6.6e-7. Is there something else I am supposed to change so the wavelength in this file is also changed? I would just edit line 49, but I&#8217;m worried I may be incorrectly editing some parameters.&lt;\/p&gt;&lt;p&gt;My next question regards &#8220;unit_cell&#8221;. I will not run &#8220;unit_cell.lsf&#8221; without editing it, and I notice &#8220;unit_cell&#8221; will only run up to 83, giving an error &#8220;&#8230; in 3D interp, if the first argument has a size of NxMxP, the fourth argument must have length P&#8221;. Did you also get this error? As this is an example, shouldn&#8217;t I just be able to run this code?&lt;\/p&gt;&lt;p&gt;Thank you so much for your response.&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-355282","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/355282","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\/355282\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=355282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}