


{"id":51214,"date":"2021-01-12T20:22:06","date_gmt":"2021-01-12T20:22:06","guid":{"rendered":"\/forum\/forums\/topic\/how-to-analytically-and-numerically-define-a-spatially-varying-deltah-for-a-ferromagnet-in-hfss\/"},"modified":"2021-01-12T20:22:06","modified_gmt":"2021-01-12T20:22:06","slug":"how-to-analytically-and-numerically-define-a-spatially-varying-deltah-for-a-ferromagnet-in-hfss","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-analytically-and-numerically-define-a-spatially-varying-deltah-for-a-ferromagnet-in-hfss\/","title":{"rendered":"How to analytically (and numerically) define a spatially varying deltaH for a ferromagnet in HFSS?"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>I&#039;m using Ansys HFSS 2019 R1 and trying to do magnetostatic wave simulations with a ferromagnetic film (this is a microwave simulation, so Maxwell 3D won&#039;t work). The problem is that I need to manually create an absorbing boundary condition (ABC) for these waves (radiation and PML don&#039;t work for my structure and these types of waves). I can only model a small extent of this ferromagnetic film due to mesh and computational constraints (magnetostatic wavelengths are typically five orders of magnitude less than EM waves at a given frequency).<\/p>\n<p>To create an ABC, I&#039;d like to define the spatially varying magnetic line width (deltaH), preferably with an analytical expression. Defining it numerically (and choosing the axis along which it varies) would work too. I know how to reference intrinsic variables like X, Y, and Z, but when I define the material with an analytical expression, the results don&#039;t seem to make sense. For an exponentially graded ABC (more than a wavelength at the lowest frequency), the results seem to yield significant reflections, so I&#039;m not convinced HFSS is interpreting my expression as I intend. I would also like to plot this expression as a function of space so I see exactly what HFSS is receiving as input. <\/p>\n<p>If I define the spatially varying line width numerically, I&#039;d like to select along which axis, and this is not clear from the help documentation. I do not want to have to do a coordinate transformation, since this complicates defining the magnetic bias field. <\/p>\n<p>I create two project variables, $aa and $continuous_alpha:<\/p>\n<p>$aa = 2*ln($alpha_max\/$alpha_min)\/($SubsY)<\/p>\n<p>$continuous_alpha = $alpha_min*exp(abs($aa*Y))<\/p>\n<p>Then, under View\/Edit Material, I enter in the following expression which converts alpha (the damping factor) to the linewidth (deltaH):<\/p>\n<p>Delta H = -($continuous_alpha)*4*pi*5.714e9\/(4*pi*1e-7*$gyro)<\/p>\n<p>I have no units in my expression except for the intrinsic variable Y, which is defined with mm units. $SubsY is 0.2 (without units, but is the number if it were defined in mm units). $alpha_max is 0.01 and $alpha_min is 1e-5. So in 100 um I grade the damping constant alpha 3 orders of magnitude. Below is a picture of the setup and of a linecut along the y-axis of the wave I get. <\/p>\n<p>I&#039;ve verified this expression in Matlab. This is one specific example, but I&#039;ve tried various other alpha values, substrate widths, and CPW dimensions and it&#039;s hard to consistently get a good ABC. I&#039;d first like to convince myself that HFSS is receiving the profile I think it is, but I have no idea how to do that. <\/p>\n<div class=\"embedExternal embedImage\">\n<div class=\"embedExternal-content\">\n<a class=\"embedImage-link\" href=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/32V5PKOGTEZZ\/fvmw-setup-png.png\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" class=\"embedImage-img\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/32V5PKOGTEZZ\/fvmw-setup-png.png\" alt=\"FVMW Setup.PNG\" \/><br \/>\n <\/a><\/p>\n","protected":false},"template":"","class_list":["post-51214","topic","type-topic","status-closed","hentry","topic-tag-boundary-conditions","topic-tag-hfss","topic-tag-magnetics","topic-tag-material-property"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["23478"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":["b???"],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["2587"],"_bbp_subscription":["231980"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["51214"],"_bbp_forum_id":["27793"],"_bbp_engagement":["601","28551","178124","184998"],"_bbp_voice_count":["4"],"_bbp_reply_count":["17"],"_bbp_last_reply_id":["145294"],"_bbp_last_active_id":["145294"],"_bbp_last_active_time":["2021-03-08 06:41:23"]},"test":"davidconnelly"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/51214","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\/51214\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=51214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}