I think you should probably change your scale.  i.e. Make the sphere radius
equal to 1 in meep units, and define that (for yourself) as ten nanometers.
 Then you just need to scale the frequency of your source equivalently.

Goodluck!


On Fri, Oct 15, 2010 at 10:58 AM, hogen john <hogen.j...@hotmail.com> wrote:

>  Dear MEEP users,
>         I have modeled a dispersive material and now trying to simulate a
> sphere. I am having a problem with the size of sphere. My sphere radius is
> 0.01 (in meep units), which is equivalent to 10nm. The source size is 0.5 x
> 0.5 x 0. See the code given below. The problem is that when i run the
> simulation, i obtained a very small sphere, which seems like a point. I
> don't want to change the radius of the sphere because i saw on the meep
> group that the sphere radius should be much smaller than the size of source
> and also one big reason is that when i increased the radius of a sphere then
> i got higher modes. I am only interested in lower modes like monopole,
> diapole and quadrapole etc. I even increased the resolution up to 150 but
> still facing the same problem. I am using "h5topng -S3 -t1:6000 -y15 -Zc
> dkbluered sphere-y-efield.h5" for output. Does anybody know where the
> problem is? or Give me some suggestions to solve this problem.
>
>  (set! geometry-lattice (make lattice (size 0.5 0.5 1)))
> (set! geometry
>     (list
>     (make sphere (center 0 0 0) (radius 0.01)
>             (material (make dielectric (epsilon 1)
>                 . . . . .
> ))
> (set! resolution 150)
> (set! sources    (list
>             (make source
>                 (src(make gaussian-src (wavelength 0.6) (width
> 0.6)))
>                 (component Ey)
>                 (center 0 0 -0.3)
>                 (size 0.5 0.5 0)
>             )
>         )
> )   . . . . .
>
> Best Regards,
> Hogen
>
>
>
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to