Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Perfectly Matched Layers for 3D Time Harmonic Maxwell's equations

More
3 years 4 months ago #3433 by dfoiles
Hello,

I am trying to simulate light scattering off of a nanoparticle, but I strongly suspect that I am using the PML incorrectly. Whenever I comment out the line that sets the PML (line 87), nothing happens. in the file that I've attached, I have a basic example where I am integrating the calculated electric field in the region that is supposed to the PML. You can see for yourself that the value when the PML is set is the same as when the PML is not set. I was wondering if someone could point out what I'm doing wrong?

Thank you very much for your time

File Attachment:

File Name: PMLTest.py
File Size:3 KB
Attachments:
Time to create page: 0.136 seconds