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.

PML refractive index

Please login with a confirmed email address before reporting spam

Hi,
I am studying a model of Step index fiber and I want to put a cylindrical PML around the core. What should be the refractive index of the PML , should be same as refractive index of the cladding or air?

Thanks in advance

Akhilesh

18 Replies Last Post 10 lug 2017, 09:13 GMT-4
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 25 mag 2012, 14:21 GMT-4
Hi

from my experience you need some air around the fibre, then a PML of air all around (basically the PML should have the same material as the adjacent domain, and should all be the same.

I do believe it will work to extend the glass and have PML in glass, but that means you have an infinite extend of glass and no glass air interface, but pls check carefully if this works correctly, I'm not 100% sure

--
Good luck
Ivar
Hi from my experience you need some air around the fibre, then a PML of air all around (basically the PML should have the same material as the adjacent domain, and should all be the same. I do believe it will work to extend the glass and have PML in glass, but that means you have an infinite extend of glass and no glass air interface, but pls check carefully if this works correctly, I'm not 100% sure -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 26 mag 2012, 21:11 GMT-4
Akhilesh,

In a conventional step index fiber the modes inside the core are so confined that air has a negligible role in the simulations. If that is your case, you may put the PMLs over the cladding (that means the real part of the PML's refractive index shall be that of the silica). I recommend to put the absorbing walls a bit far from the core (several lambdas) so to avoid spurious fields inside the PML.

Cheers,
--
Felipe
Akhilesh, In a conventional step index fiber the modes inside the core are so confined that air has a negligible role in the simulations. If that is your case, you may put the PMLs over the cladding (that means the real part of the PML's refractive index shall be that of the silica). I recommend to put the absorbing walls a bit far from the core (several lambdas) so to avoid spurious fields inside the PML. Cheers, -- Felipe

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2012, 06:12 GMT-4
Thanks to both Ivar and Felipe,

I am doing simulation of the NEMO fiber( I have attached the SEM image from Geernert et.al. IEEE photonics letters,20, 8, 2008) with dooped core( defect in the centre).

I have put a rectangular PML around the airholes so as to enclose the microstructure,
If I give assign the PML refractive index the cladding refractive index I do not get fundamental mode at the expected mode index but if I do the same with air refractive index I get the results.

I do not know exactly as to why the air refractive index for PML works even though its inside the cladding. Can someone clear my doubt?

Akhilesh
Thanks to both Ivar and Felipe, I am doing simulation of the NEMO fiber( I have attached the SEM image from Geernert et.al. IEEE photonics letters,20, 8, 2008) with dooped core( defect in the centre). I have put a rectangular PML around the airholes so as to enclose the microstructure, If I give assign the PML refractive index the cladding refractive index I do not get fundamental mode at the expected mode index but if I do the same with air refractive index I get the results. I do not know exactly as to why the air refractive index for PML works even though its inside the cladding. Can someone clear my doubt? Akhilesh


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 28 mag 2012, 03:04 GMT-4
Hi

I understand that as the effect of the glass air interface has it's importance for the overall EM field. I would anyhow better trust a model that includes the overall environment, hence air, and use the infinite or PML layer sufficiently far away from the high index structure so that any evanescent wave has mainly died out before one enter the PML layer

--
Good luck
Ivar
Hi I understand that as the effect of the glass air interface has it's importance for the overall EM field. I would anyhow better trust a model that includes the overall environment, hence air, and use the infinite or PML layer sufficiently far away from the high index structure so that any evanescent wave has mainly died out before one enter the PML layer -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 30 mag 2012, 03:41 GMT-4
The purpose of PML is to reduce the computational domain and if we place it far away does'nt it loose its purpose?
The purpose of PML is to reduce the computational domain and if we place it far away does'nt it loose its purpose?

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 30 mag 2012, 08:54 GMT-4
Hi

Indeed so it's our definition of "far" that is not in line.

For me it means a few wavelength as a minimum, just to be sure that whatever is reflected (even if it should not be) is not directly lined up to give too high interferences, so in now way even cm's, for a standard fibre model

--
Good luck
Ivar
Hi Indeed so it's our definition of "far" that is not in line. For me it means a few wavelength as a minimum, just to be sure that whatever is reflected (even if it should not be) is not directly lined up to give too high interferences, so in now way even cm's, for a standard fibre model -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 31 mag 2012, 10:55 GMT-4
Hi,
Thanks Mr. Ivar for your help.

I am using cartesian PML in version 4.2a and I do not know how to set the absorbing directions for it.
It also gives me error about internal and external boundary condition.

Please help.
Hi, Thanks Mr. Ivar for your help. I am using cartesian PML in version 4.2a and I do not know how to set the absorbing directions for it. It also gives me error about internal and external boundary condition. Please help.

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 31 mag 2012, 14:08 GMT-4
Hi

if your shape is a square then cartesian is good, but try to center it w.r.t the device and the PML centre, the same if you choose a circle or a sphere in 3D, it's important to set the centre position accordingly

--
Good luck
Ivar
Hi if your shape is a square then cartesian is good, but try to center it w.r.t the device and the PML centre, the same if you choose a circle or a sphere in 3D, it's important to set the centre position accordingly -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 1 giu 2012, 03:44 GMT-4
Hi,

In the previous comsol versions like 3.5 one could choose the absorbing directions for the PML but in version 4.2a I cant find anything that can do that.

If anyone has any idea please reply.

Thanks
Akhilesh
Hi, In the previous comsol versions like 3.5 one could choose the absorbing directions for the PML but in version 4.2a I cant find anything that can do that. If anyone has any idea please reply. Thanks Akhilesh

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 1 giu 2012, 16:43 GMT-4
you don't need to do it in 4.2a. You only need to select type of symmetry (rectangular, cylindrical or spherical). COMSOL takes care of the rest.

For example, if you have incident plane wave, you don't need specify the angle. It will be absorbed at all angles.
you don't need to do it in 4.2a. You only need to select type of symmetry (rectangular, cylindrical or spherical). COMSOL takes care of the rest. For example, if you have incident plane wave, you don't need specify the angle. It will be absorbed at all angles.

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 2 giu 2012, 03:12 GMT-4
Hi

thaks, that is good to know ;)

--
Good luck
Ivar
Hi thaks, that is good to know ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 giu 2012, 14:48 GMT-4
Hi,
Thanks Alexander,
But I get the following error when I choose cartesian PML
"Automatic scaled regions cannot treat selections without exterior and interior boundaries"

I dont know how to get rid of the error.

Hi, Thanks Alexander, But I get the following error when I choose cartesian PML "Automatic scaled regions cannot treat selections without exterior and interior boundaries" I dont know how to get rid of the error.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 5 giu 2012, 12:44 GMT-4
Looks like there are problems with the geometry and assignment of PMLs. Upload your model so we can have a look. It's hard to say what's exactly wrong without seeing the geometry.
Looks like there are problems with the geometry and assignment of PMLs. Upload your model so we can have a look. It's hard to say what's exactly wrong without seeing the geometry.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 dic 2012, 23:48 GMT-5
I have the same problem. I am getting this error "Automatic scaled regions cannot treat selections without exterior and interior boundaries." Does anyone have any idea?
I have the same problem. I am getting this error "Automatic scaled regions cannot treat selections without exterior and interior boundaries." Does anyone have any idea?

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 28 dic 2012, 05:00 GMT-5
Hi

I believ it means that a PML or INF "layer" must be an external domain surrounding your model

--
Good luck
Ivar
Hi I believ it means that a PML or INF "layer" must be an external domain surrounding your model -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 24 gen 2014, 04:51 GMT-5

Hello Sir, I encountered a problem with the value of the effective index of the modes that are equal (effective index of the mode 1 = effective index mode 2) please commons to solve this problem. help me please
Hello Sir, I encountered a problem with the value of the effective index of the modes that are equal (effective index of the mode 1 = effective index mode 2) please commons to solve this problem. help me please

Vikram Shreeshail Turkani

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 1 apr 2017, 18:58 GMT-4
Hi,
I have been experiencing the same error message while computing. Could you please help me understand the problem that I am facing and the solution for it.

Thanks.
Hi, I have been experiencing the same error message while computing. Could you please help me understand the problem that I am facing and the solution for it. Thanks.

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 10 lug 2017, 09:13 GMT-4
Updated: 7 years ago 10 lug 2017, 09:15 GMT-4
Dear Ivar,

I have a problem related to PML refractive index. I am simulating the scattering cross sections of a gold nano disk (diameter 100 nm and height 20 nm) around homogeneous media. I use a PML layer as a block with 1000nmX1000nmX1000nm dimension and 200 nm thickness. I mean the width,depth and height of PML is 1000+(2X200) i.e. internal block with 1000nm dimensions and external block with 1400 nm dimensions and in between 200 nm thickness in two sides. When the whole surrounding and PML (internal and external blocks) is Air, I am getting scattering cross sections and fields correctly, no reflection at PML boundary and my results closely matches with reference research papers values. So I am confident that my simulation not going wrong. But when I change the material of the PML and surrounding (internal and external blocks) as glass with n=1.5, I am getting scattering cross sections and fields wrong, and reflection at PML boundary. More strange is, for 400nm the reflection at PML boundary is very strong (RED color in 3D color plot of field) but for 800 nm there is no reflection. Now My question is , shouldn't be all domains except the gold nano disk is glass to create the homogeneous surrounding around disk? Like in the case of air it works and why for glass it will not? Or, The PML will be air around the glass and gold disk inside the glass? which is the correct way to simulate this problem. I choose scattering boundary conditions at Internal PML surfaces.
Dear Ivar, I have a problem related to PML refractive index. I am simulating the scattering cross sections of a gold nano disk (diameter 100 nm and height 20 nm) around homogeneous media. I use a PML layer as a block with 1000nmX1000nmX1000nm dimension and 200 nm thickness. I mean the width,depth and height of PML is 1000+(2X200) i.e. internal block with 1000nm dimensions and external block with 1400 nm dimensions and in between 200 nm thickness in two sides. When the whole surrounding and PML (internal and external blocks) is Air, I am getting scattering cross sections and fields correctly, no reflection at PML boundary and my results closely matches with reference research papers values. So I am confident that my simulation not going wrong. But when I change the material of the PML and surrounding (internal and external blocks) as glass with n=1.5, I am getting scattering cross sections and fields wrong, and reflection at PML boundary. More strange is, for 400nm the reflection at PML boundary is very strong (RED color in 3D color plot of field) but for 800 nm there is no reflection. Now My question is , shouldn't be all domains except the gold nano disk is glass to create the homogeneous surrounding around disk? Like in the case of air it works and why for glass it will not? Or, The PML will be air around the glass and gold disk inside the glass? which is the correct way to simulate this problem. I choose scattering boundary conditions at Internal PML surfaces.

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.