


{"id":53284,"date":"2021-03-12T19:53:41","date_gmt":"2021-03-12T19:53:41","guid":{"rendered":"\/forum\/forums\/topic\/ansys-insight-importing-arbitrary-dispersive-models\/"},"modified":"2021-03-12T19:53:41","modified_gmt":"2021-03-12T19:53:41","slug":"ansys-insight-importing-arbitrary-dispersive-models","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/ansys-insight-importing-arbitrary-dispersive-models\/","title":{"rendered":"Ansys Insight: Importing arbitrary dispersive models"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>This post describes how to implement dispersive models not directly supported by Lumerical Solutions. This example shows how you might create a Plasma + Lorentz model.<\/p>\n<p>One option is to use the <a href=\"https:\/\/support.lumerical.com\/hc\/en-us\/articles\/360034394674\" rel=\"nofollow\">Analytic material model<\/a>, which requires an analytic function to define the refractive index. The second option, which we will consider here, is to evaluate the function with some other tool (eg. MATLAB) and use the <a href=\"https:\/\/support.lumerical.com\/hc\/en-us\/articles\/360034915093\" rel=\"nofollow\">Sampled data<\/a> material model.<\/p>\n<p><strong>Create the dispersive model data<\/strong><\/p>\n<p>The following provides an example of how this can be done. This script function outputs the n,k values from a combined Plasma + Lorentz model to create a new material in the Material database. The script automatically creates the material with n,k data loaded in. Users can choose to export the data to a text file and load it back in using the Sampled data, but this procedure might introduce numerical precision problems.<\/p>\n<div class=\"embedExternal embedImage\">\n<div class=\"embedExternal-content\">\n<a class=\"embedImage-link\" href=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/R22LA2BFY076\/image.png\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" class=\"embedImage-img\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/R22LA2BFY076\/image.png\" alt=\"image.png\" \/><br \/>\n<\/a><\/p>\n","protected":false},"template":"","class_list":["post-53284","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["25596"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":["Q`a\u001b"],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["913"],"_bbp_subscription":["249617"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["53284"],"_bbp_forum_id":["27833"],"_bbp_engagement":["62443"],"_bbp_voice_count":["1"],"_bbp_reply_count":["0"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["53284"],"_bbp_last_active_time":["2021-03-12 19:53:41"]},"test":"shkim"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/53284","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\/53284\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=53284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}