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 does not work during wavelength sweep

Please login with a confirmed email address before reporting spam

I was simulating the scattering from a nanodisk by normal incidence.

With a spherical PML, the scattering field should be basically symmetric below and above the disk plane. It is indeed so when I simulate 400 nm and 430 nm.

However when I start to sweep the wavelength, 400 nm to 430 nm, the 430 nm case behave very unexpectedly with the PML. Field penetrates half of the PML and a very strong reflection is observed.

I start to think this is a bug of the comsol 4.3, where the PML somehow did not recognize the new wavelength during sweeping. Maybe I did something stupid, I don't know anyone else experienced this before?

3 Replies Last Post 22 gen 2013, 22:42 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 gen 2013, 20:52 GMT-5
I simulated PML with wavelength sweeps many times and it's working just fine. I remember someone reported a problem with spherical PML and geometry units set to nm. Something was not working correctly in this case. Maybe it's your case as well. This thread is somewhere in the forum, search for it.
I simulated PML with wavelength sweeps many times and it's working just fine. I remember someone reported a problem with spherical PML and geometry units set to nm. Something was not working correctly in this case. Maybe it's your case as well. This thread is somewhere in the forum, search for it.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 gen 2013, 20:59 GMT-5
Thanks. That might be the problem.

I found this thread talking about this. I believe it is a very common scenario in plasmonics and people should be aware of it.
www.comsol.com/community/forums/general/thread/26840/
Thanks. That might be the problem. I found this thread talking about this. I believe it is a very common scenario in plasmonics and people should be aware of it. http://www.comsol.com/community/forums/general/thread/26840/

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 gen 2013, 22:42 GMT-5
It is indeed this problem. It works after i changed it to [m]
In fact, the bug is really bad. Previous release does not allow you to calculate if you set the nm scale. Unlike the previous version, it does not show error, but gives unreasonable solutions for spherical PML. One might believe the wrong solution if not careful.
It is indeed this problem. It works after i changed it to [m] In fact, the bug is really bad. Previous release does not allow you to calculate if you set the nm scale. Unlike the previous version, it does not show error, but gives unreasonable solutions for spherical PML. One might believe the wrong solution if not careful.

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.