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

Discussion Locked This discussion was locked by a forum moderator.

PML error

Please login with a confirmed email address before reporting spam

Hi all,

Can someone point me what I do wrong?
I tried to repeat Scattering from plasmonic nanosphere model, so I have Au sphere + Air domain (sphere) +PML/ABC domain (sphere).

When I defining PML as spherical type I'm getting error that Comsol could not find any spherical or cylindrical regions.


17 Replies Last Post 07.03.2016, 14:30 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 12:53 GMT-4
Make sure you have correct center coordinate in PML's settings
Make sure you have correct center coordinate in PML's settings

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 13:48 GMT-4
Any examples?
Any examples?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 14:04 GMT-4
Radome antenna is a good one. Also uploading your model might help :)

Radome antenna is a good one. Also uploading your model might help :)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 14:17 GMT-4
Ok
Hear is a sample.
If you try to go to Study -> Solve config -> and reach Show Default Solver it will give me instant error.

Thanks for help.
Ok Hear is a sample. If you try to go to Study -> Solve config -> and reach Show Default Solver it will give me instant error. Thanks for help.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 14:54 GMT-4
Looks like a bug to me. Your settings are all fine.

To make it working, change "units" under geometry to meters. Then scale you sphere back to nanometers by multiplying all the dimensions by 1E-9. After doing that, default solver can be created.

I'd write to support. If you do, please let us know their answer. Thanks!
Looks like a bug to me. Your settings are all fine. To make it working, change "units" under geometry to meters. Then scale you sphere back to nanometers by multiplying all the dimensions by 1E-9. After doing that, default solver can be created. I'd write to support. If you do, please let us know their answer. Thanks!

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.03.2012, 15:09 GMT-4
Thank you for help Alex.

You are right about nanometer BUG.

I'll contact support and will update this thread after they will reply me.

Thank you for help Alex. You are right about nanometer BUG. I'll contact support and will update this thread after they will reply me.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13.03.2012, 06:34 GMT-4
Hi Yevgeniy,

Thanks for reporting this issue. It is a bug, occurring when using [nm] and
sometimes [um] together with spherical or cylindrical PMLs. The fix will be
included in our next release. In the meantime, the easiest workaround is to
set up your geometry in [m] instead.

The problem could technically arise in acoustics models as well, but those
only very rarely use such small units.

I agree that it would make sense to report this in a knowledge base entry.
I will create one as soon as I get the chance.

Best regards,

Linus
COMSOL Support
Hi Yevgeniy, Thanks for reporting this issue. It is a bug, occurring when using [nm] and sometimes [um] together with spherical or cylindrical PMLs. The fix will be included in our next release. In the meantime, the easiest workaround is to set up your geometry in [m] instead. The problem could technically arise in acoustics models as well, but those only very rarely use such small units. I agree that it would make sense to report this in a knowledge base entry. I will create one as soon as I get the chance. Best regards, Linus COMSOL Support

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13.03.2012, 14:15 GMT-4
Great, thanks for sharing!
Great, thanks for sharing!

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 19.03.2012, 16:51 GMT-4
Thanks for pointing out this bug. I have the same problem in my model and I cannot figure out why and try to post on this forum to look for the solution. Now, I know I can do nothing about this bug but only change the unit setting. I hope this problem will be solved in the next version.
Thanks for pointing out this bug. I have the same problem in my model and I cannot figure out why and try to post on this forum to look for the solution. Now, I know I can do nothing about this bug but only change the unit setting. I hope this problem will be solved in the next version.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 20.05.2012, 07:22 GMT-4

Hi Yevgeniy,

Thanks for reporting this issue. It is a bug, occurring when using [nm] and
sometimes [um] together with spherical or cylindrical PMLs. The fix will be
included in our next release. In the meantime, the easiest workaround is to
set up your geometry in [m] instead.

The problem could technically arise in acoustics models as well, but those
only very rarely use such small units.




I'm getting the same error, but with [mm]. I am using MF-Solid Mechanics. The PMLs are in the Solid Mechanics physics. Should I correct to [m] instead? or might there be something other wrong with my model.
[QUOTE] Hi Yevgeniy, Thanks for reporting this issue. It is a bug, occurring when using [nm] and sometimes [um] together with spherical or cylindrical PMLs. The fix will be included in our next release. In the meantime, the easiest workaround is to set up your geometry in [m] instead. The problem could technically arise in acoustics models as well, but those only very rarely use such small units. [/QUOTE] I'm getting the same error, but with [mm]. I am using MF-Solid Mechanics. The PMLs are in the Solid Mechanics physics. Should I correct to [m] instead? or might there be something other wrong with my model.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 24.12.2013, 09:27 GMT-5
I am having the same error, my dimensions have to be in mm. However, they look weired when I try them in meters. I am beginner so don't have much knowledge about the software. It would be great to have some suggestions.

I am also attaching my file for more information.

Regards,

Nishtha
I am having the same error, my dimensions have to be in mm. However, they look weired when I try them in meters. I am beginner so don't have much knowledge about the software. It would be great to have some suggestions. I am also attaching my file for more information. Regards, Nishtha


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.06.2014, 11:11 GMT-4
yes, it is really a bug. set the unit to [m], the error disappear
yes, it is really a bug. set the unit to [m], the error disappear

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12.06.2014, 22:15 GMT-4
I found that if the PML layer is not a standard rectangle, circle or circular ring then comsol always show could not find any spherical or cylindrical ...

In my example, the outside region is a bit arbitrary, and the region can not be set as a PML layer.

I was wondering if PML layer mus be a standard rectangle, circle or circular ring region?
I found that if the PML layer is not a standard rectangle, circle or circular ring then comsol always show could not find any spherical or cylindrical ... In my example, the outside region is a bit arbitrary, and the region can not be set as a PML layer. I was wondering if PML layer mus be a standard rectangle, circle or circular ring region?

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 02.12.2015, 20:19 GMT-5
Hi!

I have the same problem, but my Geometry is set on m. Did anyone solve this issue?

Thanks!
Rebecca
Hi! I have the same problem, but my Geometry is set on m. Did anyone solve this issue? Thanks! Rebecca

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 03.12.2015, 10:53 GMT-5
I don't think the bug exists anymore in the latest versions, but I didn't check. what version do you use, geometry and error that you see.
You can always ask support directly they will provide you with answers in 24h time
I don't think the bug exists anymore in the latest versions, but I didn't check. what version do you use, geometry and error that you see. You can always ask support directly they will provide you with answers in 24h time

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 07.03.2016, 12:11 GMT-5
Hi,

I'm using the 5.0 versione, I have a sphere that represents water but I can't define PML since it says that it is not possible to find any spherical geometry. Units are set as meters. What did you do to create PML? you just go in definition, PML, set spherical geometry and the coordinations of the center, right?

Thanks,
Rebecca
Hi, I'm using the 5.0 versione, I have a sphere that represents water but I can't define PML since it says that it is not possible to find any spherical geometry. Units are set as meters. What did you do to create PML? you just go in definition, PML, set spherical geometry and the coordinations of the center, right? Thanks, Rebecca

Walter Frei COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 07.03.2016, 14:30 GMT-5
Dear Rebecca,

For modeling of PML's for wave electromagnetics problems, please see this technical blog:
www.comsol.com/blogs/using-perfectly-matched-layers-and-scattering-boundary-conditions-for-wave-electromagnetics-problems/

Also, please review this example model:
www.comsol.com/model/computing-the-radar-cross-section-of-a-perfectly-conducting-sphere-10332

There are also many other examples of using PML's in the RF Module Application Gallery, available here:
www.comsol.com/models/rf-module?q=pml

For a complete discussion about the various permitted types of PML geometries, please also see the section titled "Infinite Elements and Perfectly Matched Layers" within the COMSOL Multiphysics Reference Manual.

Since this thread originates with an issue in the software that has been addressed for quite some time now, we will close this thread for further comments.

If there are related questions do please first investigate using COMSOL Multiphysics version 5.0 or higher, and please feel free to open a new thread.
Dear Rebecca, For modeling of PML's for wave electromagnetics problems, please see this technical blog: http://www.comsol.com/blogs/using-perfectly-matched-layers-and-scattering-boundary-conditions-for-wave-electromagnetics-problems/ Also, please review this example model: http://www.comsol.com/model/computing-the-radar-cross-section-of-a-perfectly-conducting-sphere-10332 There are also many other examples of using PML's in the RF Module Application Gallery, available here: http://www.comsol.com/models/rf-module?q=pml For a complete discussion about the various permitted types of PML geometries, please also see the section titled "Infinite Elements and Perfectly Matched Layers" within the COMSOL Multiphysics Reference Manual. Since this thread originates with an issue in the software that has been addressed for quite some time now, we will close this thread for further comments. If there are related questions do please first investigate using COMSOL Multiphysics version 5.0 or higher, and please feel free to open a new thread.

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.