Hello Meep Users, 

I’d like to run a pulse through a 1D slab then measure the exit-plane e-field 
as a function of time. I do not want to measure the field within the entire 
slab. 

I set the geometry as:
(set! geometry-lattice (make lattice (size no-size no-size sz))) ; create 1D 
system

and placed the source:
(set! sources (list
               (make source
                 (src (make gaussian-src (frequency fcen) (fwidth df)))
                 (component Hy)
                 (center 0 0 (+ (* -0.5 sz) dpml)) ; located at - end of 
waveguide
                 (amplitude amp))))

Here I run the simulation, which I originally got from a 2D waveguide tutorial:

; run the simulations
(run-sources+ 1600
  (in-volume (volume (center 0 0 (+ (* 0.5 sz) dpml)) (size 0 0 sz))
             (after-time 300
             (to-appended "ex-slice" (at-every .3 output-efield-x))))))

I believe it is not giving me what I should expect when I plot it. From the 
tutorial, I saw it gives an space by time data set. I get the pulse center 
propagating down the time axis. I would expect it to go down the space axis and 
the time axis should show me an changing envelope as it pass through space 
(since I am running this through an epsilon=1 material). This leads me to think 
I am not asking meep for the right thing.

How can I just measure the field as it comes through the end of the 1D slab?

Thanks!
Priscilla
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to