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
Posted 11.03.2012, 14:20 GMT-4 RF & Microwave Engineering, Wave Optics, Studies & Solvers Version 4.3b, Version 4.4 17 Replies
Please login with a confirmed email address before reporting spam
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.
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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.
Attachments:
Please login with a confirmed email address before reporting spam
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
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
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
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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.
Please login with a confirmed email address before reporting spam
I am also attaching my file for more information.
Regards,
Nishtha
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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
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
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
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
Please login with a confirmed email address before reporting spam
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.
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.
Suggested Content
- KNOWLEDGE BASE Undefined Variable
- BLOG The Nonparaxial Gaussian Beam Formula for Simulating Wave Optics
- FORUM PML in 3D
- BLOG How to Inspect Your Mesh in COMSOL Multiphysics®
- FORUM PML in acoustic modeling