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.

Scaling direction parameter in PML node

Please login with a confirmed email address before reporting spam

Hello everyone,
I have a problem with PML. I don't fully understand one parameter and that's Scaling direction. It is located in the Manual scaling sub-node which is located in the PML node if the type of PML is set to General. In the RF module manual is written "The first parameter" (Scaling direction) "sets the direction from the interface to the outer boundary." From this
sentence I would understand this parameter can take the value of 0,1 or -1. But I know from Comsol this parameter can take any real number. And here is my misunderstanding. Which direction does this parameter scale? Is it the real direction or the imaginary direction or both of them? I eliminate the last possibility by myself because both directions should be scaled by the PML scaling factor from the PML node if I correctly understand the equation (2-1) from the RF module manual, page 29.
Jaroslav Luksch

5 Replies Last Post 2011年9月6日 GMT-4 02:17
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 2011年1月19日 GMT-5 16:03
Hi

I generally leave the default values for the PML, just checking the shape linear, cylindrical or spherical, but I would too need to look into the doc to give a reasonnable reply

--
Good luck
Ivar
Hi I generally leave the default values for the PML, just checking the shape linear, cylindrical or spherical, but I would too need to look into the doc to give a reasonnable reply -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年8月24日 GMT-4 04:37
I have the same problem, so an answer to this would be most appreciated. My model is a waveguide which is terminated by a cartesian PML, while for the surrounding evanescent field, a general PML seems to be necessary.
I have the same problem, so an answer to this would be most appreciated. My model is a waveguide which is terminated by a cartesian PML, while for the surrounding evanescent field, a general PML seems to be necessary.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年8月31日 GMT-4 11:35
Hi Olav,
I've solved my problems so I believe I can give you an advice. If your computing window is rectangular or cuboidal I'm deeply convinced the cartesian PML will be the right stuff for you. The general PML is useful for example if your computing window is triangular or if you know the wave propagation direction in advance and that direction differs from cartesian coordinates indeed.
Hi Olav, I've solved my problems so I believe I can give you an advice. If your computing window is rectangular or cuboidal I'm deeply convinced the cartesian PML will be the right stuff for you. The general PML is useful for example if your computing window is triangular or if you know the wave propagation direction in advance and that direction differs from cartesian coordinates indeed.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年9月5日 GMT-4 06:59
Hi Jaroslav,
In my case the solution was to use General PML, insert Manual scaling and set "Geometric width" to the wavelength in the material. Also, Scaling direction was set to the propagation direction only.
Hi Jaroslav, In my case the solution was to use General PML, insert Manual scaling and set "Geometric width" to the wavelength in the material. Also, Scaling direction was set to the propagation direction only.

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 2011年9月6日 GMT-4 02:17
Hei Olav

anoher point, not sure it's related. But I often use spherical shapes for my PMLs, thenI must not only chec to use "spherical" coordinates in the PML node, BUT ALSO correctly put the senter at the centre of the sphere, which is not alsways at the default 0,0,0. This applies probably also to the other shapes.

Where I'm not yet confident myself, is how to best generate "onion-peel" mesh elements (partcularly for the sphere case) for the PMLs as that seems more appropriate for such domains

--
Good luck
Ivar
Hei Olav anoher point, not sure it's related. But I often use spherical shapes for my PMLs, thenI must not only chec to use "spherical" coordinates in the PML node, BUT ALSO correctly put the senter at the centre of the sphere, which is not alsways at the default 0,0,0. This applies probably also to the other shapes. Where I'm not yet confident myself, is how to best generate "onion-peel" mesh elements (partcularly for the sphere case) for the PMLs as that seems more appropriate for such domains -- Good luck Ivar

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.