Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

confinement loss

Please login with a confirmed email address before reporting spam

Hi
is imaginary part of refractive index could be positive or negative that means 1.028175433939737e-19 or -1.028175433939737e-19. I found in my simulation positive and negative values for different values of wavelength, is it possible.

Plz help me

Regards

Samiul

8 Replies Last Post Apr 22, 2016, 5:10 a.m. EDT
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 5, 2012, 2:55 p.m. EDT
Hi

for me a 1e-19 compared to 1 is so small that you must be seeing rounding errors, or the limit of the binary number (differential) precision.

check the doc, for the sign of the index or the equations, as indeed there are two conventions +and -, I do believe COSMOL uses the negative, but I always check twice with the doc before I start any optics simulations, as there are several of these conventions

--
Good luck
Ivar
Hi for me a 1e-19 compared to 1 is so small that you must be seeing rounding errors, or the limit of the binary number (differential) precision. check the doc, for the sign of the index or the equations, as indeed there are two conventions +and -, I do believe COSMOL uses the negative, but I always check twice with the doc before I start any optics simulations, as there are several of these conventions -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 6, 2012, 1:52 a.m. EDT
Ivar
Thanx for ur quick reply.


Samiul
Ivar Thanx for ur quick reply. Samiul

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 31, 2012, 5:48 p.m. EDT
Hi var,

do you know some probably reasons for getting the negative confinemnt loss (I found this is strange and using 3.5a Femlab)...is the accuracy the probably reason? thanks for reply!!!:)


best regard
huab
Hi var, do you know some probably reasons for getting the negative confinemnt loss (I found this is strange and using 3.5a Femlab)...is the accuracy the probably reason? thanks for reply!!!:) best regard huab

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 1, 2012, 3:01 a.m. EDT
Hi

I have no definitive answer, but my suspicion goes to steep gradients or dirac type BC or initial conditions. In fact it's only since I'm really playing with COMSOL that I understand the importance of using always functions that can be derived once or better at least twice. Far back my math and physics professors always banged on the table with : " do not forget the hypothesis that functions must be continuous" while explaining PDEs, no I see it in practice.

In 3.5 you have the Heaviside functions to help you, in v4 these are also given as pre-cooked step and rectangle functions . Still one need to adapt the mesh or the "FEM sampling", as I like to call it, to these steep gradients

--
Good luck
Ivar
Hi I have no definitive answer, but my suspicion goes to steep gradients or dirac type BC or initial conditions. In fact it's only since I'm really playing with COMSOL that I understand the importance of using always functions that can be derived once or better at least twice. Far back my math and physics professors always banged on the table with : " do not forget the hypothesis that functions must be continuous" while explaining PDEs, no I see it in practice. In 3.5 you have the Heaviside functions to help you, in v4 these are also given as pre-cooked step and rectangle functions . Still one need to adapt the mesh or the "FEM sampling", as I like to call it, to these steep gradients -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 1, 2012, 4:24 p.m. EDT

Hi

I have no definitive answer, but my suspicion goes to steep gradients or dirac type BC or initial conditions. In fact it's only since I'm really playing with COMSOL that I understand the importance of using always functions that can be derived once or better at least twice. Far back my math and physics professors always banged on the table with : " do not forget the hypothesis that functions must be continuous" while explaining PDEs, no I see it in practice.

In 3.5 you have the Heaviside functions to help you, in v4 these are also given as pre-cooked step and rectangle functions . Still one need to adapt the mesh or the "FEM sampling", as I like to call it, to these steep gradients

--
Good luck
Ivar

Hi ivar,

thanks much for your detailed reply.. I have a try to change something than have a look...I learned from somewhere that the PML mesh is better to use quad mesh, I am not sure about that just hera form somewhere`... is that right? another question is that if the pml is too thin,is that has possibility to cause the result of negative confinement loss?

thanks

Best regards
[QUOTE] Hi I have no definitive answer, but my suspicion goes to steep gradients or dirac type BC or initial conditions. In fact it's only since I'm really playing with COMSOL that I understand the importance of using always functions that can be derived once or better at least twice. Far back my math and physics professors always banged on the table with : " do not forget the hypothesis that functions must be continuous" while explaining PDEs, no I see it in practice. In 3.5 you have the Heaviside functions to help you, in v4 these are also given as pre-cooked step and rectangle functions . Still one need to adapt the mesh or the "FEM sampling", as I like to call it, to these steep gradients -- Good luck Ivar [/QUOTE] Hi ivar, thanks much for your detailed reply.. I have a try to change something than have a look...I learned from somewhere that the PML mesh is better to use quad mesh, I am not sure about that just hera form somewhere`... is that right? another question is that if the pml is too thin,is that has possibility to cause the result of negative confinement loss? thanks Best regards

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 2, 2012, 12:31 a.m. EDT
Hi

I count around 10% of main model dameter, but if RF at least several wavelength thick.

Then indeed I mesh the interiour, then I finish the PML shell with a Sweep or quad with at least 5-10 elements in thickness

I center the model in the PML airea/volume, check the PML type and origine (default "0" is not always the middle of the domain

I find the easiest way to make a PML region is to use the "Layer" feature (v4) of the surrounding "air" domain

--
Good luck
Ivar
Hi I count around 10% of main model dameter, but if RF at least several wavelength thick. Then indeed I mesh the interiour, then I finish the PML shell with a Sweep or quad with at least 5-10 elements in thickness I center the model in the PML airea/volume, check the PML type and origine (default "0" is not always the middle of the domain I find the easiest way to make a PML region is to use the "Layer" feature (v4) of the surrounding "air" domain -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Dec 3, 2013, 10:13 p.m. EST
Hi Ivar,

I have read your answer, but I still don't know how to solve my problem. My problem is that the imaginary parts of mode effective index (i.e. Confinement Loss) are sometimes positive and sometimes negative. From the mode field distribution, I can know these two modes must be fundamental modes (same mode filed distribution with two polarization). They also have the same real part. But the imaginary parts are different, one is negative and another one is positive.

What I have done:
1, When I use comsol 3.5a, the imaginary parts are both negative. but use the same model in 4.3, the results are different.
2, I though the loss is too small ( 1E-5 dB/m ) to have rounding error. I adjusted the tolerance in Solver from 1E-6 to 1E-10. But the results didn't change.

I am very confused with this problem. Positive imaginary part means this mode in the fiber has Gain rather than Loss. It doesn't make sense for a passive optic device --- Photonic Crystal Fiber.

If you need, I can upload the COMSOL file.
Please help me. Can you tell me where the errors are?

Thanks very much.
Hi Ivar, I have read your answer, but I still don't know how to solve my problem. My problem is that the imaginary parts of mode effective index (i.e. Confinement Loss) are sometimes positive and sometimes negative. From the mode field distribution, I can know these two modes must be fundamental modes (same mode filed distribution with two polarization). They also have the same real part. But the imaginary parts are different, one is negative and another one is positive. What I have done: 1, When I use comsol 3.5a, the imaginary parts are both negative. but use the same model in 4.3, the results are different. 2, I though the loss is too small ( 1E-5 dB/m ) to have rounding error. I adjusted the tolerance in Solver from 1E-6 to 1E-10. But the results didn't change. I am very confused with this problem. Positive imaginary part means this mode in the fiber has Gain rather than Loss. It doesn't make sense for a passive optic device --- Photonic Crystal Fiber. If you need, I can upload the COMSOL file. Please help me. Can you tell me where the errors are? Thanks very much.

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Apr 22, 2016, 5:10 a.m. EDT
@Leon Lyman

Did you solve the problem of having inconsistent imaginary values ? how ?
@Leon Lyman Did you solve the problem of having inconsistent imaginary values ? how ?

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.