How to Assign imported 3d material refractive index values (using interpolation) to the material used in structure

Madhusudan Mishra

Please login with a confirmed email address before reporting spam

Hi, I am using COMSOL 5.0. I have imported a 3D refractive index profile n(x,y,z) from excel to comsol using interpolation. The data has been imported and plotted successfully. But while entering the value for arguments i.e. "x,y,z" and function i.e. "n", under units section of interpolation setting window both turn into yello. The same happens while assigning the value of refractive index i.e. "n(x,y,z)" under the setting window of material. Also the model result are randum. How can I solve this ? Can any one help me?


2 Replies Last Post 2018年7月12日 GMT-0400上午6:43

Please login with a confirmed email address before reporting spam

Posted: 2 months ago 2018年7月11日 GMT-0400下午8:49

maybe you can try to use another name for the function, as "n" probably has been reserved by COMSOL for other purpose.

-------------------
Pu, ZHANG
Huazhong University of Science and Technology
maybe you can try to use another name for the function, as "n" probably has been reserved by COMSOL for other purpose.

Madhusudan Mishra

Please login with a confirmed email address before reporting spam

Posted: 2 months ago 2018年7月12日 GMT-0400上午6:43

maybe you can try to use another name for the function, as "n" probably has been reserved by COMSOL for other purpose.

Dear Pu, Thank you verymuch for your kind response. I have done it on the same day. Actually I had to put the units of function and arguments there. Now it is working fine.

Thank you once again

>maybe you can try to use another name for the function, as "n" probably has been reserved by COMSOL for other purpose. Dear Pu, Thank you verymuch for your kind response. I have done it on the same day. Actually I had to put the units of function and arguments there. Now it is working fine. Thank you once again

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.