On Jun 9, 2009, at 9:36 AM, [email protected] wrote:
How to control the beam width(diameter)?
I want to simulate the beam propagation in a SiO2 waveguide.
But I can not find out how to set the beam width.
(set! sources (list
(make source
(src (make continuous-src (wavelength CWL) ))
(component Ez)
(center 20 0 )
(size 0 wi )
(amp-func (my-amp 1 (vector3 0 1))))
))
I assume you're using the "my-amp" function from
http://thread.gmane.org/gmane.comp.science.electromagnetism.meep.general/77/focus=78
In this case you should be passing (vector3 1 0) to my-amp, because
the beam is propagating in the x direction, not in the y direction.
(The beam won't remain gaussian very long unless the beam is much
narrower than the width of the waveguide, of course -- propagating in
a waveguide is very different from propagating in free space!)
Steven
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss