


{"id":281843,"date":"2023-05-01T23:52:41","date_gmt":"2023-05-01T23:52:41","guid":{"rendered":"\/forum\/forums\/topic\/using-getdata-to-grab-mode-profiles\/"},"modified":"2023-05-01T23:54:08","modified_gmt":"2023-05-01T23:54:08","slug":"using-getdata-to-grab-mode-profiles","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/using-getdata-to-grab-mode-profiles\/","title":{"rendered":"using getdata to grab mode profiles"},"content":{"rendered":"<p>Hello,<\/p>\n<p>solving for the FDE modes in my waveguide gives fields in Ex, Ey, Ez, Hx, Hy and Hz. The Ey field is shown in the built-in viewer as:<\/p>\n<p><a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/01-05-2023-1682984432-mceclip0.png\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/01-05-2023-1682984432-mceclip0.png\"><\/a><\/p>\n<p>when I use the command :<\/p>\n<p>Ey_mode1 = pinch(getdata(&#8220;mode1&#8243;,&#8221;Ey&#8221;))<\/p>\n<p>I get an array with all elements assigned with a value of 0. The same thing happens for Hy.&nbsp;<\/p>\n<p>This does not happen with Ex_mode1,Hx_mode1,Ez_mode1 and Hz_mode1. Both Ey and Hy have fields which are shown in the built in viewer, yet when this data is exported to array , all the elements of the array gets stored as 0.<\/p>\n<p>Can someone please explain why this is happening and how I can get the data associated with the Ey and Hy modes?Thanks<\/p>\n","protected":false},"template":"","class_list":["post-281843","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["271826","2592"],"_bbp_author_ip":["23.220.96.181"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["426"],"_edit_lock":["1682985193:201846"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["281843"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","271826"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["282183"],"_bbp_last_active_id":["282183"],"_bbp_last_active_time":["2023-05-03 14:03:09"]},"test":"nirvan-gajadharsinghuni-jena-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/281843","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\/281843\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=281843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}