Hello Meepusers, hello Steven,

I have some questions concerning the definition of a circular source and a
circular plane to measure the flux. I use cylindrical coordinates an have
defined a nanowire. Inside the wire I have defined a circular source by
this way:

(define ((circular-amp) radius)
        (if (> (vector3-norm radius) radisource) 0 1))

(set! sources (list
                (make source
                (src (make gaussian-src (frequency fcen) (fwidth df)))
                (component Ez)
                (center 0 no-size 0 ) (size 20 no-size 0)
                        (amp-func (circular-amp)))))

Here the variable radisource is the radius of the source inside the wire.
As you can see I defined a amp-func for that.

In the next step I want to measure the flux somewhere inside the wire with
the same size as the source. I use the following command lines for that:

(init-fields)

(define source (add-flux fcen df nfreq (make flux-region (center 0 no-size
pos ) (size radisource no-size 0 ) (weight 1.0) )))

(run-sources+
        (stop-when-fields-decayed 20 Ez ( vector3 0 no-size pos ) 0.01))
        (display-fluxes source)

Here pos means the position along the z-axis.

My question is if its possible to define the source and the fluxplane this
way in order to have emission inside the howle circluar plane and to
measure the flux inside the howle circular fluxplane. Or have I here
defined a ringsource and do I measure the flux in a ring. Its important
for me to have emission and flux-measurement no only on the ring but also
inside. I hope you or someone else can answer my questions.

With my best regards,

Robert



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

Reply via email to