


{"id":305432,"date":"2023-09-08T01:34:20","date_gmt":"2023-09-08T01:34:20","guid":{"rendered":"\/forum\/forums\/topic\/3d-fdtd-farfield-imaging-optics\/"},"modified":"2023-09-08T01:34:20","modified_gmt":"2023-09-08T01:34:20","slug":"3d-fdtd-farfield-imaging-optics","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/3d-fdtd-farfield-imaging-optics\/","title":{"rendered":"3D FDTD, Farfield, Imaging optics"},"content":{"rendered":"<div>\n<div>What I want is to compare the shape of the image reduced and enlarged by magnification with the reference. The explanation below is related to my setup, but I wonder if there is a better way than this, and I want to know if there is a problem with my setup.<\/div>\n<div>&nbsp;<\/div>\n<div>Description: I designed a lens with a focal length of 25 um and designed it as shown in the figure to evaluate the performance of the imaging optical system.&nbsp;The distance between the object and the lens is separated by the focal length f, and we want to view a 2D electric field image in a farfieldexact3d script at a distance of f+f*M (magnification) after the lens (e.g., X,Y image plot at the Z-axis 11*f position)<\/div>\n<div>&nbsp;<\/div>\n<div>Should I write another farfield script?<\/div>\n<div>Should the location of the monitor and source be modified?&nbsp;<\/div>\n<div>It&#8217;s currently set to PML, can I use symmetric?<\/div>\n<div>&nbsp;<\/div>\n<div>\n<div id=\"txtTarget\" class=\"edit_box___1KtZ3 active___3VPGL font_step2___3vt9-\">Any help would be appreciated.<\/div>\n<div class=\"edit_box___1KtZ3 active___3VPGL font_step2___3vt9-\">&nbsp;<\/div>\n<\/div>\n<div>&nbsp;<\/div>\n<div>and this is my script, when M is 400:&nbsp;<\/p>\n<p>mname = &#8220;DFTMonitor&#8221;;<\/p>\n<p>num = 100;<\/p>\n<p>x = linspace(-1e-3, 1e-3, num);<\/p>\n<p>y = linspace(-1e-3, 1e-3, num);<\/p>\n<p>z = 10e-3;<\/p>\n<p>E = farfieldexact3d(mname, x, y, z, {&#8220;field&#8221;:&#8221;E&#8221;});<\/p>\n<p>Ex = pinch(E, 4, 1);<\/p>\n<p>Ey = pinch(E, 4, 2);<\/p>\n<p>Ez = pinch(E, 4, 3);<\/p>\n<p>E2 = abs(Ex)^2 + abs(Ey)^2 + abs(Ez)^2;<\/p>\n<p>image(x*1e3, y*1e3, E2, &#8220;x (mm)&#8221;, &#8220;y (mm)&#8221;, &#8220;abs(E)^2&#8221;);<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/09\/08-09-2023-1694134026-mceclip2.png\"><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-305432","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["253739","2592"],"_bbp_author_ip":["23.52.43.81"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["856"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["305432"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","253739"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["306240"],"_bbp_last_active_id":["306240"],"_bbp_last_active_time":["2023-09-12 01:40:46"]},"test":"yunxiaohan96icloud-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/305432","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\/305432\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=305432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}