


{"id":373886,"date":"2024-07-28T15:49:15","date_gmt":"2024-07-28T15:49:15","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/topology-optimization-for-anisotropic-material\/"},"modified":"2024-07-28T15:49:15","modified_gmt":"2024-07-28T15:49:15","slug":"topology-optimization-for-anisotropic-material","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/topology-optimization-for-anisotropic-material\/","title":{"rendered":"Topology Optimization for Anisotropic material"},"content":{"rendered":"<div>Hello,<\/div>\n<div>&nbsp;<\/div>\n<div>I wanted to optimize a demultiplexer for an anisotropic material, similar to the example &#8220;Topology Optimization of a 4-channel wavelength demultiplexer 2D-TE&#8221; (https:\/\/optics.ansys.com\/hc\/en-us\/articles\/1500007188582-Topology-Optimization-of-a-4-channel-wavelength-demultiplexer-2D-TE). However, the problem is that when I use an anisotropic material (e.g., `eps_wg = Material(name=&#8217;anisotropic material&#8217;)`), I received some errors. I think the issue might be due to these two parts of the code:<\/div>\n<div>&nbsp;<\/div>\n<div>&#8220;`python<\/div>\n<div>def runSim(params, eps_bg, eps_wg, x_pos, y_pos, size_x, size_y, filter_R, working_dir, beta):<\/div>\n<div>&nbsp; &nbsp; ######## DEFINE GEOMETRY ########<\/div>\n<div>&nbsp; &nbsp; geometry = TopologyOptimization2D(params=params, eps_min=eps_bg, eps_max=eps_wg, x=x_pos, y=y_pos, z=0, filter_R=filter_R, beta=beta)<\/div>\n<div>&#8220;`<\/div>\n<div>I would appreciate if you could help me.<\/div>\n","protected":false},"template":"","class_list":["post-373886","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["40604","2592"],"_bbp_author_ip":["2607:fb91:23:cd92:b521:2c35:4f6:ad2d"]," _bbp_last_reply_id":["0"],"_btv_view_count":["175"]," _bbp_likes_count":["0"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["373886"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","40604"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["374081"],"_bbp_last_active_id":["374081"],"_bbp_last_active_time":["2024-07-29 16:51:59"]},"test":"fa146088ucf-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/373886","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\/373886\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=373886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}