Hello, dear Meep users.

I am trying to use Meep to model a signal in a free space (i.e. with no 
obstacles or any geometry objects at all).

I'm modeling a point signal with frequency = 1 with amplitude = 10 in a free 
space (ε = 1).

Here's my simple ctl file:

(set! geometry-lattice (make lattice (size 20 20 20)))
(set! sources (list
               (make source
                 (src (make continuous-src (frequency 1)))
                 (amplitude 10.0)
                 (component Ez)
                 (center 0 0 0))))
(set! pml-layers (list (make pml (thickness 1.0))))
(set! resolution 1)
(use-output-directory)
(run-until 122
           (at-beginning output-epsilon)
           (to-appended "ez" (at-every 1 output-efield-z)))

After modeling I'm trying to extract the images with the following command:

$ h5topng -z 10 -S4 -t 0:121 -R -Zc dkbluered -a yarg -A 
./research-out/eps-000000.00.h5 ./research-out/ez.h5

But all the resulting images are completely black. I expect the images to show 
the space propagation of my periodic signal.

I've found that I could get the non-black images if I add any geometry object 
with ε being greater than 1 to the model, e.g. (make block (center 0 0 0) (size 
1 1 1) (material (make medium (epsilon 1.01)))).

What am I doing wrong in the original model?

_______________________________________________
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