


{"id":222664,"date":"2022-07-29T09:58:41","date_gmt":"2022-07-29T09:58:41","guid":{"rendered":"\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/"},"modified":"2022-11-06T19:30:52","modified_gmt":"2022-11-06T19:30:52","slug":"cant-setup-the-plane-wave-in-lumerical-fdtd","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/","title":{"rendered":"Can&#8217;t setup the plane wave in lumerical fdtd."},"content":{"rendered":"<p>I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png\"><\/p>\n<p>In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088384-mceclip1.png\"><\/p>\n<p>&nbsp;<\/p>\n<p>When running the simulation it changes back again and doesn&#8217;t keep the dimensions I have set up through script.&nbsp;<\/p>\n<p>Here is the example script:<\/p>\n<p>&nbsp;<\/p>\n<p>switchtolayout;<\/p>\n<p>redrawoff;<\/p>\n<p>deleteall;<\/p>\n<p>&nbsp;<\/p>\n<p>addfdtd;<\/p>\n<p>set(&#8216;dimension&#8217;,1);&nbsp;<\/p>\n<p>set(&#8216;x max&#8217;,50e-6);<\/p>\n<p>set(&#8216;x min&#8217;,0e-6);<\/p>\n<p>set(&#8216;y&#8217;,0);<\/p>\n<p>set(&#8216;y min&#8217;,-2e-6);<\/p>\n<p>set(&#8216;y max&#8217;,2e-6);<\/p>\n<p>set(&#8216;z&#8217;,0.0e-6);<\/p>\n<p>&nbsp;<\/p>\n<p>set(&#8216;mesh accuracy&#8217;,8);<\/p>\n<p>set(&#8220;mesh refinement&#8221;,&#8221;conformal variant 0&#8243;);<\/p>\n<p>set(&#8220;mesh type&#8221;,&#8221;uniform&#8221;);<\/p>\n<p>set(&#8220;dx&#8221;,20e-6);<\/p>\n<p>set(&#8220;dy&#8221;,20e-6);<\/p>\n<p>&nbsp;<\/p>\n<p>addplane;<\/p>\n<p>set(&#8220;name&#8221;,&#8221;plane wave&#8221;);<\/p>\n<p>set(&#8220;injection axis&#8221;,&#8221;y&#8221;);<\/p>\n<p>set(&#8220;direction&#8221;,&#8221;backward&#8221;);<\/p>\n<p>set(&#8216;x&#8217;,30e-6);<\/p>\n<p>set(&#8216;y&#8217;, 1e-6);<\/p>\n<p>set(&#8216;x span&#8217;,20e-6);<\/p>\n<p>set(&#8216;z span&#8217;,2-6);<\/p>\n<p>set(&#8216;z&#8217;,0.0e-6);<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-222664","topic","type-topic","status-closed","hentry","topic-tag-FDTDgeometry-1","topic-tag-LumericalFDTD-1","topic-tag-plane-wave"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn&#039;t\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/\" \/>\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=\"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn&#039;t\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-07-29T09:58:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-11-06T19:30:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn&#039;t\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png\" \/>\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\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/#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-tag\\\/plane-wave\\\/#listItem\",\"name\":\"plane-wave\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/plane-wave\\\/#listItem\",\"position\":3,\"name\":\"plane-wave\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/plane-wave\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/#listItem\",\"name\":\"Can&#8217;t setup the plane wave in lumerical fdtd.\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/#listItem\",\"position\":4,\"name\":\"Can&#8217;t setup the plane wave in lumerical fdtd.\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/plane-wave\\\/#listItem\",\"name\":\"plane-wave\"}}]},{\"@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\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/\",\"name\":\"Can\\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum\",\"description\":\"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn't\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/cant-setup-the-plane-wave-in-lumerical-fdtd\\\/#breadcrumblist\"},\"datePublished\":\"2022-07-29T09:58:41+00:00\",\"dateModified\":\"2022-11-06T19:30:52+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":"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum","description":"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn't","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/#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-tag\/plane-wave\/#listItem","name":"plane-wave"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/plane-wave\/#listItem","position":3,"name":"plane-wave","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/plane-wave\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/#listItem","name":"Can&#8217;t setup the plane wave in lumerical fdtd."},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/#listItem","position":4,"name":"Can&#8217;t setup the plane wave in lumerical fdtd.","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/plane-wave\/#listItem","name":"plane-wave"}}]},{"@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\/cant-setup-the-plane-wave-in-lumerical-fdtd\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/","name":"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum","description":"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn't","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/#breadcrumblist"},"datePublished":"2022-07-29T09:58:41+00:00","dateModified":"2022-11-06T19:30:52+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":"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum","og:description":"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn't","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png","article:published_time":"2022-07-29T09:58:41+00:00","article:modified_time":"2022-11-06T19:30:52+00:00","twitter:card":"summary_large_image","twitter:title":"Can\u2019t setup the plane wave in lumerical fdtd. | Ansys Learning Forum","twitter:description":"I set the dimesnions of the plane wave through script but when I ran the simulation, the dimensions of the plane wave change back.In the picture is shown after I set it through script but when I ran the simulation, the plane wave becomes wide again When running the simulation it changes back again and doesn't","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2022\/07\/29-07-2022-1659088327-mceclip0.png"},"aioseo_meta_data":{"post_id":"222664","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":"content","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":true,"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":"2024-10-28 19:13:06","updated":"2024-10-28 19:13:06","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\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/plane-wave\/\" title=\"plane-wave\">plane-wave<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCan\u2019t setup the plane wave in lumerical fdtd.\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":"plane-wave","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/plane-wave\/"},{"label":"Can&#8217;t setup the plane wave in lumerical fdtd.","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cant-setup-the-plane-wave-in-lumerical-fdtd\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["246495","2592"],"_bbp_author_ip":["23.218.93.111"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1608"],"_bbp_status":["publish"],"_bbp_topic_status":["unanswered"],"_bbp_engagement":["2592","246495"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["222798"],"_bbp_last_active_id":["222798"],"_bbp_last_active_time":["2022-07-29 18:57:56"],"_bbp_topic_id":["222664"],"_bbp_forum_id":["27833"]},"test":"vahram-voskerchyan3uvigo-es"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/222664","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\/222664\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=222664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}