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.
How to set epsilon/mu parameters in PML(4.0 RF)
Posted 29.07.2010, 16:26 GMT-4 10 Replies
Please login with a confirmed email address before reporting spam
I tried to simulate a TM plane wave by setting background electric field Ey=exp(-j*emw.k0*x).
PML is surrounded by the rectangle simulatd area.
When I set parameters epsilon/mu/conductivity as air (epsilon=1, mu=1,conductivity=0)all over the geometry(PML+simulated area), I can get pefect plane wave. However, when I set parameters as other material(epsilon=2, mu=1,conductivity=0) all over the geometry,I can not get pefect plane wave.
BTW, the thickness of PML is one wavelength.
The attached images are the results of these two different settings.
My question is:
in order to get perfect plane wave, how to set PML parameters if the simulated area is not air?
Attachments:
Please login with a confirmed email address before reporting spam
for me it looks like your lateral sides are not "Perfectly" matched and you have reflexion from mthe lateral sides interacting, but this is just a guess.
In which version are you ? use the new forum tags, it helps us others udnerstand better too ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
If I use air in the surrounding and the PML subdomains, the solution looks nice. If I switch both permittivities to some value unequal 1, I get severe errors in the solution. (See pml_glass.png). I also tried setting the permittivity of the PML region equal to 1 and the surrounding of the particle to some value unequal 1. Same wrong results.
Seems like these are UPML (UnPerfectly Matched Layers ;o)). Unfortunately, the documentation is not of much help here. Has anyone experienced the same issue or does anyone have an idea?
Best regards!
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
an check that you have latest patch, fo me today this means 4.0.0.993, see tha main COMSOL web site
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thanks for hinting me at the wave vector definition. sqrt(epsilon)*k0 indeed did the trick. This is somehow inconvenient, because when changing the material of the surrounding domain, you'll also have to change the incident field definition. The only solution I see so far is to adding a global variable with the refractive index.
By the way: Is there a complete variable reference for emw.*? Haven't been able to find one so far.
Thanks and best regards!
Christian
Please login with a confirmed email address before reporting spam
He Kaiting
Please login with a confirmed email address before reporting spam
but epsilon and "n" the refractive index are linked to the spped of light no ?
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
In a medium with refractive index n the speed of light is c=c0/n, where c0 is the _vacuum_ speed of light. In terms of the wave vector, in a medium with refractive index n, the wave vector is k=k0*n. The refractive index and the permittivity epsilon are related by sqrt(epsilon)=n.
So in the Comsol model, we use the free space wave vector emw.k0 to specify the wave. This is somewhat confusing, because I would have expected Comsol to scale the wave vector automatically in a medium with n!=1, but it seems like it does not.
Please login with a confirmed email address before reporting spam
ideally we should have this confirmed by COMSOL support, no ?
(PS I'n not by COMSOL ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
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
- BLOG How to Model Different Types of Damping in COMSOL Multiphysics®
- FORUM how to set the PML width in solid mechanics.
- BLOG Задание различных видов демпфирования в COMSOL Multiphysics®
- KNOWLEDGE BASE Running parametric sweeps, batch sweeps, and cluster sweeps from the command line
- FORUM S-Parameters and PML