


{"id":392269,"date":"2024-10-31T15:06:43","date_gmt":"2024-10-31T15:06:43","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/"},"modified":"2024-10-31T15:06:43","modified_gmt":"2024-10-31T15:06:43","slug":"possible-bug-in-popd-calculation","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/","title":{"rendered":"Possible BUG in POPD calculation"},"content":{"rendered":"<p>&lt;p&gt;Hi All,&lt;\/p&gt;&lt;p&gt;I would like to ask two separate questions here:&lt;\/p&gt;<\/p>\n<ol>\n<li>I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System&nbsp;settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?<\/li>\n<li>I ran that POP.zmx file on one computer that has Zemax version 2024.R2.02. It&rsquo;s a simple optical system using two lenses collimating and coupling laser coming out from one fiber into the other one. I have a dummy surface before the first lens to check the beam. In the Physical Optics option under Surface properties, if I turned off &ldquo;Auto Resample&rdquo;, it gives coupling efficiency of 93% and a 10E+04 times higher total power (while the input is 1.0). However, if I turned on &ldquo;Auto Resample&rdquo;, it gives coupling efficiency of 77% and a 0.99 total power (more reasonable). My questions is: why sampling affects the fiber coupling efficiency calculation and which value is more trustable?<\/li>\n<\/ol>\n<p>&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp;Following above, I ran the same POP.zmx file on one computer that has Zemax version 2023.R2.02. Resampling on that same surface&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;does not change the coupling result. My question is: What is the difference between the sampling of 2023.R2 and 2024.R2?&lt;\/p&gt;<\/p>\n<ul>\n<li>Here are some specific examples to illustrate how the sampling choice affecting the total power calculation:<\/li>\n<\/ul>\n<p>&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; As we change the sampling on dummy surface #1, which is just a standard surface sitting in front of all lenses. Beam propagates from source to this surface without anything in between. Here are some results using Zemax 2024.R2.02:&lt;\/p&gt;<\/p>\n<ul>\n<li>When resampling is completely off: Total power is 1, which is desired.<\/li>\n<\/ul>\n<p>&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/09bf9abb-0d21-4017-8c11-5e7005e38d96.png\" alt=\"\" width=\"778\" height=\"438\" \/>&lt;\/figure&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n<ul>\n<li>When &ldquo;Auto resample&rdquo; is clicked: Total power drops to 0.2, which is not right.<\/li>\n<\/ul>\n<p>&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/b4d0b444-4633-4f3f-bc4a-0d9a09840a8f.png\" alt=\"\" width=\"768\" height=\"432\" \/>&lt;\/figure&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n<ul>\n<li>When I reduced the X-width and Y-width, i.e., the window size while keep the sampling number the same: Total power increases to 1.7, which does not make sense because there is clipping now.<\/li>\n<\/ul>\n<p>&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/691d9adb-f629-4e50-94c6-f56ceed35621.png\" alt=\"\" width=\"789\" height=\"444\" \/>&lt;\/figure&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n<ul>\n<li>When I try to over sample it with original grid size by increasing the sampling number, total power increases to 3.9. This is to say the higher&nbsp;the resolution, the higher the total power is.<\/li>\n<\/ul>\n<p>&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/9d83999f-896d-437e-b206-5a970f2734c4.png\" alt=\"\" width=\"826\" height=\"465\" \/>&lt;\/figure&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n<ul>\n<li>When I try to under sample it with original grid size by decreasing&nbsp;the sampling number, total power decreases significantly to 0.06. This is to say the lower the&nbsp;resolution, the lower&nbsp;the total power is.<\/li>\n<\/ul>\n<p>&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/ab867886-8c9f-454a-99f3-5c215ac154f1.png\" alt=\"\" width=\"720\" height=\"405\" \/>&lt;\/figure&gt;&lt;p&gt;Is this possibly a BUG in Zemax POP calculation?&lt;\/p&gt;&lt;p&gt;The version 2024.R1 also has bug: changing sampling does not change total power at all. It remains 1.&lt;\/p&gt;&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/2438bcaa-ea9c-4622-9017-7f9821cd1ac3.png\" alt=\"\" width=\"458\" height=\"413\" \/>&lt;figcaption&gt;With a big grid size 2 x 2&lt;\/figcaption&gt;&lt;\/figure&gt;&lt;figure&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/uploads-us-west-2.insided.com\/zemax-en\/attachment\/aa7d8c14-5225-40ec-a4b9-2caaa0a8464d.png\" alt=\"\" width=\"472\" height=\"421\" \/>&lt;\/figure&gt;&lt;p&gt;With a small grid size 0.1 x 0.1 so the beam is highly clipped, how come the total power is still 1?&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Thank you!&lt;\/p&gt;&lt;p&gt;Di&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-392269","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Possible BUG in POPD calculation | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-10-31T15:06:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-10-31T15:06:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Possible BUG in POPD calculation | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/#listItem\",\"name\":\"Possible BUG in POPD calculation\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/#listItem\",\"position\":3,\"name\":\"Possible BUG in POPD calculation\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/\",\"name\":\"Possible BUG in POPD calculation | Ansys Learning Forum\",\"description\":\"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/possible-bug-in-popd-calculation\\\/#breadcrumblist\"},\"datePublished\":\"2024-10-31T15:06:43+00:00\",\"dateModified\":\"2024-10-31T15:06:43+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Possible BUG in POPD calculation | Ansys Learning Forum","description":"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/#listItem","name":"Possible BUG in POPD calculation"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/#listItem","position":3,"name":"Possible BUG in POPD calculation","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/","name":"Possible BUG in POPD calculation | Ansys Learning Forum","description":"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/#breadcrumblist"},"datePublished":"2024-10-31T15:06:43+00:00","dateModified":"2024-10-31T15:06:43+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Possible BUG in POPD calculation | Ansys Learning Forum","og:description":"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/","article:published_time":"2024-10-31T15:06:43+00:00","article:modified_time":"2024-10-31T15:06:43+00:00","twitter:card":"summary_large_image","twitter:title":"Possible BUG in POPD calculation | Ansys Learning Forum","twitter:description":"Hi All,I would like to ask two separate questions here:I ran the same POP.zmx file on two computers that have the same version of Zemax version, 2023.R2.02. System settings and POP settings are all the same. One gives fiber coupling efficiency 72% and the other one gives 80%. What could be the reasons behind this discrepancy?I"},"aioseo_meta_data":{"post_id":"392269","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-19 08:37:55","updated":"2025-10-19 08:37:55","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPossible BUG in POPD calculation\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"Possible BUG in POPD calculation","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/possible-bug-in-popd-calculation\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["477029","50911"],"_bbp_author_ip":["206.47.231.172"],"_btv_view_count":["398"],"_bbp_topic_status":["unanswered"],"_bbp_notification_enabled":["477029"],"_bbp_topic_id":["392269"],"_bbp_forum_id":["27816"],"_bbp_engagement":["50911","477029"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["392386"],"_bbp_last_active_id":["392386"],"_bbp_last_active_time":["2024-11-01 10:39:21"]},"test":"di-changlumentum-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/392269","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\/392269\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=392269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}