Hello, I'm trying to simulate a structure in cylindrical coordinates. I illuminate it with a plane source. Unfortunately there's something wrong with the source as it seems not to be plane around r=0.
In more details, I did this:
; set meep in cylindrical coordinates
(set! dimensions CYLINDRICAL)
; define my cell
(set! geometry-lattice (make lattice (size 3 (* 2 pi) 6)))
; add pmls
(set! pml-layers (list (make pml (thickness 0.5)))
; set the source
(set! sources (list
(make source
(src (make continuous-src
(wavelength 0.6328) (width 20)))
(component Er)
(center 1.5 0 -2.5) (size 3 (* 2 pi) 0))
))
I'm then monitoring the radial component of E.
Notice that I've translated the source along r so that it spans the
whole cell since I can't set it a size wider than the cell (but it
behaves the same if I place it on the origin).
I conceive that it's a truncated plane wave but still, due to the
symmetry it shouldn't converge around r=0, as it does (see picture). Or
do I think conceptually wrong?
source.png
Description: PNG image
signature.asc
Description: This is a digitally signed message part
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

