Discussion:
[Meep-discuss] What cause the standing wave in the src ?
ei ru
2018-10-15 14:14:18 UTC
Permalink
Dear MEEP users,
When I make a plane wave with following code,
there is something like a standing wave in the gaussian-src ( I attach the
link for the gif animation).
I am very curios what is this ?
I attach the code below and here is the result of
meep main.ctl
h5topng main-ez.h5 -t 0:249
convert *png ez.gif
https://drive.google.com/file/d/1eKKcda3lgPRTusepzUfPkQsq5iZJZvW7/view?usp=sharing

You can see something like interference.
If you know something about this, please teach me.

(set-param! resolution 100)
(set! geometry-lattice (make lattice (size sx sy no-size)))

(set! sources (list
(make source
(src (make gaussian-src (frequency fcen) (fwidth df)))
(component Ez)
(center 0 0 0)
(size 3 0 0)
)))

;Be careful that pml-layer is set
inside the geometyr-lattice. It is not outside.
(set! pml-layers (list (make pml (thickness 0.5))))

(run-sources+ 30 (to-appended "ez" (at-every 0.2 output-efield-z)))
Loading...