Hi, You need to include the glass slab into the PML. That is, if sx, sy are the sizes of the computational box in the x and y direction and you have propagation along thex direction.
In the case that you dont add PML in the x direction you have PEC boundary conditions which enforce mirror symmetry for the electric field. Therefore, you effectively have an infinite slab, which is valid in this case. (set! geometry-lattice (make lattice (size sx sy no-size))) (set! geometry (list (make block (center 0 0) (size thickness sy infinity) (material (make dielectric (epsilon 12)))))) (set! pml-layers (list (make pml (thickness 1.0)))) Charalampos On Tue, Mar 8, 2016 at 9:02 PM, saket wankhade <saketwankh...@gmail.com> wrote: > Hi meep users, > I am trying to simulate reflection and transmission spectrum of > air/glass structure.In simulation.If I put PML in all (X and Y ) > directions, I get wrong result.But when I remove PML from X direction i get > expected results.Does anyone have idea what is reason ? > > Thank you ! > > _______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss >
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss