Re: Contents of meep-discuss digest..." [Meep-discuss] about the
transmission flux"
Sir,
Give the command (display-fluxes trans) at the end of the program.
Ajith
On Sat, Jun 12, 2010 at 9:30 PM,
<[email protected]> wrote:
> Send meep-discuss mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of meep-discuss digest..."
>
>
> Today's Topics:
>
> 1. about the transmission flux ([email protected])
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 12 Jun 2010 12:46:34 +0200 (CEST)
> From: [email protected]
> Subject: [Meep-discuss] about the transmission flux
> To: [email protected]
> Message-ID:
> <12775.ua1vshlerba=.1276339594.squir...@webmail.uni-duisburg-essen.de>
> Content-Type: text/plain;charset=utf-8
>
> HI every one,
>
> I am an undergraduate student and doing my final year project on Photonic
> Crystal with Heterostructure. I am new user of MEEP. when i calculate the
> transmission spectra, i have got some problems. the structure is something
> like :
>
> ooooxxxxoooo
> ooooxxxxoooo
> ooooxxxxoooo
>
> o and x are all rods only with different epsilons. i do a flux-region at
> the end of the structure but before PML. run CTL-file but the output just
> gave me 0 flux at every time step. i dont understand why. have i done
> something wrong?
>
> Could somebody please help me in this problem?
>
> ============
> CTL-file
> ============
>
> (reset-meep)
>
> (set! geometry-lattice (make lattice (size 21 21 no-size)))
>
> (set! geometry
> (append
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 2.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 1.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 0.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 -0.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 -1.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
> (geometric-object-duplicates (vector3 1 0) 0 17
> (make cylinder (center -8.5 -2.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 12)))))
>
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 2.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 1.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 0.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 -0.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 -1.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))
> (geometric-object-duplicates (vector3 1 0) 0 5
> (make cylinder (center -2.5 -2.5) (radius 0.4) (height infinity)
> (material (make dielectric(epsilon 6)))))))
>
> (set! sources (list
> (make source
> (src (make gaussian-src (frequency 0.25) (fwidth 0.4)))
> (component Ez)
> (center -9 0)
> (size 0 6))))
>
> (set! pml-layers (list (make pml (thickness 1.0))))
> (set! resolution 10)
> (define trans (add-flux 0.25 0.4 100 (make flux-region (center 9 0) (size
> 0 12))))
> (use-output-directory)
>
> (display-fluxes trans)
>
> (run-sources+
> (stop-when-fields-decayed 50 Ez
> (vector3 9 0) 1e-3)
> (at-beginning output-epsilon)
> (at-end output-efield-z))
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
> End of meep-discuss Digest, Vol 52, Issue 11
> ********************************************
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss