Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Dealing with Periodic Boundary Conditions, PMLs and interfaces.

$
0
0
Hello, I'm trying to simulate a nanoparticle array over a substrate in order to study its extinction cross-section. To do so I've made a cell with periodic boundary conditions on the sides and two PMLs under and above. I'm starting with a simple model, just two medias of different refractive index and a plane wave propagating in the perpendiuclar direction to the interface.

I'm solving for the scattered field and I set my background field as a plane wave. My first doubt comes here, if I have two different medias, should I define analytically different plane waves for each media (changing the refractive index in the exponential)? Or can I just define the plane wave in the first media and comsol will do the rest, provided the refractive index of the other material?

I use Scattered Boundary Conditions in the external faces of my PMLs, should I use it in all the external faces or just the perpendicular to the direction of the wave (setting PBC on the sides)?

Another problem that I have with respect to the PMLs is that I don't know how to do a swept mesh correctly. I always get problems of geometrical mismatch in the face near the other meshed domain.

Any help will be highly appreciated.

Viewing all articles
Browse latest Browse all 26527

Trending Articles