Hi everyone:
I wanna add a static field to a metal surface
I typed
(make source (src(make continuous-src
(frequency 0)))
(component Hz)
(center 0
5.5) (size 28 10))
which doesn't work.
Is there everyone who knows how to fix that?
Many thanks
Harvey
The ctl file is attached.
(define-param a 1);define lattice constant
(set! geometry-lattice (make lattice (size 32 32 no-size)))
(set! geometry
(append
(list
(make block (center 0 5.5) (size 28 10 infinity)
(material (make dielectric (epsilon 1)
(polarizations (make polarizability
(omega 1e-20) (gamma 0)
(delta-epsilon 0.53e40)))))
))
(geometric-object-duplicates (vector3 a 0) 1 27
(make block (center -14 (* -1.6 a)) (size (* 0.2
a) (* 3.2 a) infinity)
(material (make dielectric (epsilon 8.9)))))
(geometric-object-duplicates (vector3 0 (* -1 a)) 0 3
(make block (center 0 (* -0.1 a)) (size 26 (* 0.2
a) infinity)
(material (make dielectric (epsilon 8.9)))))
))
(set! sources (list
(make source (src(make continuous-src
(frequency 0.3604)))
(component Ey)
(center 0 0.45))
(make source (src(make continuous-src
(frequency 0)))
(component Hz)
(center 0
5.5) (size 28 10))
))
(set! pml-layers (list (make pml (thickness 1.0))))
(set! resolution 10)
(run-until 50
(at-beginning output-epsilon)
(to-appended "ey" (at-every 0.6 output-efield-y))
)
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss