Dear meep users,             I asked a question yesterday but nobody replied. 
Let me explain my question a little more. I am trying to calculate the near 
field enhancement of a sphere with radius 25nm at a single point. You can see 
the figure in the attachment. The polarization of the source is Ex.  I defined 
a volume region around the sphere and output Ex, Ey and Ez in the same volume 
region. I used the following formula for the enhancement i.e. 
Enhancement=abs(Ex)^2+abs(Ey)^2+abs(Ez)^2. The part of the code is given below. 
I am not sure about the code because i got very small value of the near field 
enhancement. Can somebody tell me, is there anything wrong with the code?
(set! sources    (list             (make source                 (src(make 
continuous-src (wavelength 5.28) (width 2.64)))                (component Ex)   
             (center 0 0 -1)                (size 2.5 2.5 0)            )       
 ))(run-until 100(at-beginning output-epsilon)(in-volume (volume (center 0 0 0) 
(size 0.25 0 0)) (to-appended "ex" (at-end output-efield-x)))(in-volume (volume 
(center 0 0 0) (size 0.25 0 0)) (to-appended "ey" (at-end 
output-efield-y)))(in-volume (volume (center 0 0 0) (size 0.25 0 0)) 
(to-appended "ez" (at-end output-efield-z))))

Best regards,Hogen
From: [email protected]
To: [email protected]
Date: Wed, 23 Mar 2011 20:16:19 +0000
Subject: [Meep-discuss] Confused about the 'in-volume' command








Dear meep users,         I want to calculate the Near field enhancement of a 
sphere with 25nm radius (0.25 in meep units) at a single point. For this i 
defined a volume region around the sphere by using th (in-volume) command. The 
sphere is placed in the center of the computational cell. 
(set! sources    (list 
            (make source 
                (src(make continuous-src (wavelength 5.28) (width 2.64)))
                (component Ex)
                (center 0 0 -1)
                (size 2.5 2.5 0)
            )
        )
)(run-until 100
(at-beginning output-epsilon)
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ex" (at-end 
output-efield-x)))
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ey" (at-end 
output-efield-y)))
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ez" (at-end 
output-efield-z)))
)
I obtained the a very small value of the near field enhancement. Can somebody 
tell me is there anything wrong with the code? I am a little doubtful about the 
in-volume. Please somebody clarify it.
Thanks,Best Regards,Hogen                                         

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss                  
                  

<<attachment: nearfield-dpwr.t50.png>>

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to