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:
9 years ago
Jul 20, 2015, 7:00 a.m. EDT
Hi
you should always suspect numerical issues if your ratios are > 1E7 or thereabout, as the way numbers are presented by binary coding in the computer limits the resolution to several times the internal variable "eps=2.2E-16" (is FPU dependent).
And as most physics equations are of second order the maximum ratio one should expect is rather several times sqrt(eps)=1.5E-8
Therefore I'm not that astonished that you have issues resolving index ratios in the order of 1E-10 with any numerical binary computing algorithm
--
Good luck
Ivar
Hi
you should always suspect numerical issues if your ratios are > 1E7 or thereabout, as the way numbers are presented by binary coding in the computer limits the resolution to several times the internal variable "eps=2.2E-16" (is FPU dependent).
And as most physics equations are of second order the maximum ratio one should expect is rather several times sqrt(eps)=1.5E-8
Therefore I'm not that astonished that you have issues resolving index ratios in the order of 1E-10 with any numerical binary computing algorithm
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
Jul 20, 2015, 7:16 a.m. EDT
Hi
Thank you. So you are saying this is not an issue with the PML, or giving any imaginary refractive index to the cladding material ?
but confinement loss comes from the equation- Loss= 40*pi*Im[neff]/(loge(10)*L) dB/km. I could only measure losses of order 1e-3 dB/km only if the imag(neff) is of order ie-11. How do you advise to calculate it then ?
Hi
Thank you. So you are saying this is not an issue with the PML, or giving any imaginary refractive index to the cladding material ?
but confinement loss comes from the equation- Loss= 40*pi*Im[neff]/(loge(10)*L) dB/km. I could only measure losses of order 1e-3 dB/km only if the imag(neff) is of order ie-11. How do you advise to calculate it then ?
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:
9 years ago
Jul 20, 2015, 7:38 a.m. EDT
Hi
I'm "just" saying take care and look very closely to the algorithms when you are having such large differences on derived variables.
Therefore meshing resolutions (discretization of your equations) is even more important when you have such large relative differences.
Unfortunately I'm not experienced enough with the "tricks" to ensure stable numerical values for that particular physics you are using there.
--
Good luck
Ivar
Hi
I'm "just" saying take care and look very closely to the algorithms when you are having such large differences on derived variables.
Therefore meshing resolutions (discretization of your equations) is even more important when you have such large relative differences.
Unfortunately I'm not experienced enough with the "tricks" to ensure stable numerical values for that particular physics you are using there.
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
Jan 1, 2016, 8:56 a.m. EST
Hi, have you solved this problem, I also have this issues, it would be nice to get your advice.
Thanks.
Hi, have you solved this problem, I also have this issues, it would be nice to get your advice.
Thanks.
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
Mar 28, 2016, 2:52 p.m. EDT
Yes, later i found that the imaginary part in fact existed, but it was too small for COMSOL to calculate. anything below 10^-9 doesn't seem to appear in comsol. Change the deciding parameters like wavelength and you'll see the imaginary part starts to appear after a certain increase or decrease of the parameter.
Yes, later i found that the imaginary part in fact existed, but it was too small for COMSOL to calculate. anything below 10^-9 doesn't seem to appear in comsol. Change the deciding parameters like wavelength and you'll see the imaginary part starts to appear after a certain increase or decrease of the parameter.