I can't reproduce the effect, I only see a field left of the cylinder.
Can you post a screenshot or the animated GIF? What version of MEEP are you 
using?

Milan

From: [email protected] 
[mailto:[email protected]] On Behalf Of Cícero Julião
Sent: maandag 6 december 2010 2:19
To: [email protected]
Subject: [Meep-discuss] Using silver

Hello, dear colleagues.

I'm trying use metal in meep simulate. Below, I put the code with a silver 
cylinder.

But the animation shows a strange effect: we see field inside the cylinder and, 
some times, 'shots' after the cylinder. Is this correct?



; -------->>>>>>   THE CODE
(define-param dpml 1)

(set! geometry-lattice (make lattice (size 16 12 no-size)))


; Ag material
(define a 100e-9) ; define the unit, 100 nm
(define cc (/ (* 2 (* pi 3e+8)) a)) ; unit of frequency in meep
(define wp_ag (/ 1.3798e16 cc))
(define gamma_ag (/ 2.72293e13 cc))

(define Ag
  (make dielectric (epsilon 3.7)
    (polarizations (make polarizability
    (omega 1e-20)
    (gamma gamma_ag)
    (sigma (* wp_ag wp_ag 1e40))))))


(set! geometry
     (list
    (make block (center 0 0) (size infinity 8 infinity)
                   (material air)
    )
    (make cylinder (center 0 0 ) (radius 3) (height infinity)
              (material Ag)
    )
    )
)



(set! sources (list
               (make source
                 (src (make continuous-src (wavelength 6.5) (width 6)
))
                 (component Ez)
                 (center -7 0)
        )
        )
)


(set! pml-layers (list (make pml (thickness 1.0))))

(set! resolution 20)

(use-output-directory)
(run-until 100
        (at-beginning output-epsilon)
        (at-every 0.6 (output-png Ez "-Zc bluered"
                )
        )
)






____________________________________

Cícero Julião da Silva Junior
____________________________________
Optics and Materials Group - Optma
Institute of Physics - UFAL
www.optma.org<http://www.optma.org>

Fone (phone): (country code +55)
sala (office): (82) 3214 1424 ramal (extension) 201
lab: (82) 3214 1424 ramal (extension) 401
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to