Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

how to call interpolated data to calculate a equation in Global parameter or variable?

Please login with a confirmed email address before reporting spam

Hi

I am facing an issue in my design.

I plan to study the effect of absorption of light in the gold material. So, i place a thin layer of gold ( 10 nm) on a SiO2 substrate. The upper layer is air. For plotting the absorption Vs wavelength, the varying refractive index (real and extinction coefficient) of air and SiO2 are calculated by interpolation function. Results are good.

Now, I want to calculate the refraction angle, teta2= sin^-1(n2 * sin teta1/n1), is defined in a global variable. But I am unable to call this n1 and n2 from these interpolated material data.

Consider n1= real+i*extinction coefficient

Can you help me for this?

Thank you,

George

0 Replies Last Post Jan 24, 2017, 11:35 a.m. EST
COMSOL Moderator

Hello George Jacob

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.