


{"id":309910,"date":"2023-10-03T20:47:53","date_gmt":"2023-10-03T20:47:53","guid":{"rendered":"\/forum\/forums\/topic\/planar-solid-not-working-as-expected\/"},"modified":"2023-10-03T20:47:53","modified_gmt":"2023-10-03T20:47:53","slug":"planar-solid-not-working-as-expected","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/planar-solid-not-working-as-expected\/","title":{"rendered":"Planar Solid Not Working as Expected"},"content":{"rendered":"<p>I am currently trying to simulate a waveguide that has a vertical taper along with sidewall angles using the planar solid primitive. Once I run my script the waveguide looks to be correct but when the monitor is put at the input and output of the waveguide it seems to have some issues. Could someone lead me in the right direction?<\/p>\n<p>Here is the script used:<\/p>\n<p>y1=-1.5e-6-0.5e-6;<\/p>\n<p>y2=-1.5e-6-0.5e-6;<\/p>\n<p>y3=1.5e-6+0.5e-6;<\/p>\n<p>y4=1.5e-6+0.5e-6;<\/p>\n<p>y5=-1.5e-6;<\/p>\n<p>y6=-1.5e-6;<\/p>\n<p>y7=1.5e-6;<\/p>\n<p>y8=1.5e-6;<\/p>\n<p>&nbsp;<\/p>\n<p>z1=0;<\/p>\n<p>z2=0;<\/p>\n<p>z3=0;<\/p>\n<p>z4=0;<\/p>\n<p>z5=0.6e-6;<\/p>\n<p>z6=0.06e-6;<\/p>\n<p>z7=0.06e-6;<\/p>\n<p>z8=0.6e-6;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>vtx= [x1,y1,z1; #1<\/p>\n<p>x2,y2,z2; #2<\/p>\n<p>x3,y3,z3; #3<\/p>\n<p>x4,y4,z4; #4<\/p>\n<p>x5,y5,z5; #5<\/p>\n<p>x6,y6,z6; #6<\/p>\n<p>x7,y7,z7; #7<\/p>\n<p>x8,y8,z8]; #8<\/p>\n<p>&nbsp;<\/p>\n<p>a = cell(6);<\/p>\n<p>for(i = 1:6){<\/p>\n<p>a{i} = cell(1);<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>#facets:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>a{1}{1} = [1,4,3,2]; #bottom facet<\/p>\n<p>a{2}{1} = [1,2,6,5];<\/p>\n<p>a{3}{1} = [2,3,7,6];<\/p>\n<p>a{4}{1} = [3,4,8,7];<\/p>\n<p>a{5}{1} = [1,5,8,4];<\/p>\n<p>a{6}{1} = [5,6,7,8]; #top facet<\/p>\n<p>addplanarsolid(vtx,a);<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/10\/03-10-2023-1696366016-Screenshot 2023-10-03 164321.png\" alt=\"\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/10\/03-10-2023-1696366041-vertical taper 1.jpg\" alt=\"\"><\/p>\n","protected":false},"template":"","class_list":["post-309910","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["294309","33648"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_bbp_likes_count":["1"],"_btv_view_count":["317"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["309910"],"_bbp_forum_id":["27833"],"_bbp_engagement":["33648","294309"],"_bbp_voice_count":["2"],"_bbp_reply_count":["10"],"_bbp_last_reply_id":["312179"],"_bbp_last_active_id":["312179"],"_bbp_last_active_time":["2023-10-18 20:17:48"]},"test":"75c9d3092689163dead588991725cbfecac986d9"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/309910","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\/309910\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=309910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}