Hello Fahad Kazemi
1- You need to calculate the Grating Pitch.
2- You need to calculate the effective refractive index.
3- if you have the variables, you are going to calculate Bragg wavelength and 
write your programs code.

I Hope
I have given the right answer to your questions.

 E.Amiri, PhD., St., IUT., IRAN



 

 

-----Original Message-----
From: meep-discuss-request <meep-discuss-requ...@ab-initio.mit.edu>
To: meep-discuss <meep-discuss@ab-initio.mit.edu>
Sent: Mon, Dec 2, 2013 8:31 pm
Subject: meep-discuss Digest, Vol 94, Issue 2


Send meep-discuss mailing list submissions to
        meep-discuss@ab-initio.mit.edu

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
        meep-discuss-requ...@ab-initio.mit.edu

You can reach the person managing the list at
        meep-discuss-ow...@ab-initio.mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of meep-discuss digest..."


Today's Topics:

   1. Re: meep-discuss Digest, Vol 94, Issue 1 (FARHAD KAZEMI)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Dec 2013 05:50:02 -0800 (PST)
From: FARHAD KAZEMI <farhad...@yahoo.com>
To: "meep-discuss@ab-initio.mit.edu" <meep-discuss@ab-initio.mit.edu>
Subject: Re: [Meep-discuss] meep-discuss Digest, Vol 94, Issue 1
Message-ID:
        <1385992202.90201.yahoomail...@web120803.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Here is my ctl file :

(reset-meep)

(define-param dpml 5) ; PML thickness (X direction only!)
(define-param sx 100) ; size of x ??
(define-param sy 10) ; size of y
(define-param sX (+ (* 2 dpml) sx))
(define-param sY (+ (* 2 dpml) sy))
(define-param thick_fac 5)
(define-param grating_height 20)
(define-param grating_width 7)
(define-param metal_thickness 5)
(define-param res 10) ; resolution
(set! k-point (vector3 0 0 0)) ;kvector of zero is used to thickness 2)) 
20))keep same phase in all the units cells.
(set! ensure-periodicity true)
(set! eps-averaging? false)
(define-param structure? false) ; default should be false

(define myW (make dielectric (epsilon 1)
(polarizations
?(make polarizability
(omega 1e-20) (gamma 0.005162) (sigma 2.3421e+39))
(make polarizability
(omega 0.080978) (gamma 0.042747) (sigma 9.3624))
(make polarizability
(omega 0.15462) (gamma 0.10332) (sigma 7.8945))
(make polarizability
(omega 0.28875) (gamma 0.26874) (sigma 9.6272))
(make polarizability
(omega 0.60475) (gamma 0.47071) (sigma 8.0514))
)))

(set! geometry-lattice (make lattice (size sX (* sy 3) no-size)))
(set! geometry (if structure?
? ? ? ? ? ? ? (list (make block (center 0 0 0) (size metal_thickness sy 
infinity)
? ? ? ? ? ? ? ? ? ?(material myW)) ? ?
? ? ? ? ? ? ? ? ? ? (make block (center (+ (/ metal_thickness -2) (/ 
grating_height -2)) 0 0) (size grating_height grating_width infinity)
? ? ? ? ? ? ? ? ? ?(material myW))
? ? ? ? ? ? ? ? ? ? (make block (center 0 sy 0) (size metal_thickness sy 
infinity)
? ? ? ? ? ? ? ? ? ?(material myW)) ? ?
? ? ? ? ? ? ? ? ? ? (make block (center (+ (/ metal_thickness -2) (/ 
grating_height -2)) sy 0) (size grating_height grating_width infinity)
? ? ? ? ? ? ? ? ? ?(material myW))
? ? ? ? ? ? ? ? ? ? (make block (center 0 (* -1 sy) 0) (size metal_thickness sy 
infinity)
? ? ? ? ? ? ? ? ? ?(material myW)) ? ?
? ? ? ? ? ? ? ? ? ? (make block (center (+ (/ metal_thickness -2) (/ 
grating_height -2)) (* -1 sy) 0) (size grating_height grating_width infinity)
? ? ? ? ? ? ? ? ? ?(material myW)))


? ? ? ? ? ? ? (list (make block (center 0 0 0) (size metal_thickness (* 3 sy) 
infinity)
? ? ? ? ? ? ? ? ? ?(material (make dielectric (epsilon 1)))))
? ? ? ? ? ? ? ? ?))

(set! pml-layers (list (make pml (direction X) (thickness dpml))))

(define-param fcen 0.122)
(define-param df 0.245)
(define-param amp 1)
(set! resolution res)
(define-param nfreq 200) ; number of frequencies at which to compute flux

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Source definition
(set! sources (list
? ? ? ? ? ? ? ?(make source
? ? ? ? ? ? ? ? ?(src (make gaussian-src (frequency fcen) (fwidth df)))
? ? ? ? ? ? ? ? ?(component Ez)
? ? ? ? ? ? ? ?(center (* -1 (+ (+ grating_height (/ metal_thickness 10)) 2)) 0 
0) ? ? ? ? ? ? (size 0 (* 3 sy)))))


;Reflected flux monitor
(define refl ; reflected flux
? ? ? (add-flux fcen df nfreq
? ? ? ? ? ? ? ? ?(make flux-region
? ? ? ? ? ? ? ? ? ?(center (* -1 (+ (+ grating_height (/ metal_thickness 2)) 
25)) 0 0)(size 0 (* 3 sy)))))

;Transmitted flux monitor
(define trans ; reflected flux
? ? ? (add-flux fcen df nfreq
? ? ? ? ? ? ? ? ?(make flux-region
? ? ? ? ? ? ? ? ? ?(center (+ (/ metal_thickness 2) 10) 0 0)(size 0 (* 3 sy)))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(if structure? (load-minus-flux "refl-flux" refl))
(run-sources+ ?(stop-when-fields-decayed 50 Ex
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?(vector3 (+ metal_thickness 5) 0 ?0)
? ? ? ? ? ? ? ? ? ? ? ? ? ? 1e-3))
(if (not structure?)
? ? ? ? ?(save-flux "refl-flux" refl))
(display-fluxes refl trans)



On Monday, December 2, 2013 3:46 PM, "meep-discuss-requ...@ab-initio.mit.edu" 
<meep-discuss-requ...@ab-initio.mit.edu> wrote:
 
Send meep-discuss mailing list submissions to
??? meep-discuss@ab-initio.mit.edu

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
??? meep-discuss-requ...@ab-initio.mit.edu

You can reach the person managing the list at
??? meep-discuss-ow...@ab-initio.mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of meep-discuss digest..."


Today's Topics:

?  1. reflection and transmission of a rectangular grating
? ? ? structure (FARHAD KAZEMI)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Dec 2013 05:45:33 -0800 (PST)
From: FARHAD KAZEMI <farhad...@yahoo.com>
To: "meep-discuss@ab-initio.mit.edu" <meep-discuss@ab-initio.mit.edu>
Subject: [Meep-discuss] reflection and transmission of a rectangular
??? grating??? structure
Message-ID:
??? <1385991933.84983.yahoomail...@web120804.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear MEEP users,

I am trying to calculate the reflection and transmission spectrum of a 
rectangular grating. In fact I am trying to reproduce the diagram attached. it 
is taken from a paper. The structure material is Tungsten.?
I choose 100nm as my unit reference length.
The schematic of the considered structure is shown in the attached file.?
My problem is that at the desired frequency range, I get very high reflectivity 
?( greater than 1, e.g. 40). In order to calculate the reflectivity, I devided 
the reflection flux (obtained from structured model) by the incident flux 
(obtained from non-structured model). could any body help me?

Thank you,

Farhad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20131202/a135bbd0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tungsten_rect_multi1.ctl
Type: application/octet-stream
Size: 3634 bytes
Desc: not available
URL: 
<http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20131202/a135bbd0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paper.png
Type: image/png
Size: 8432 bytes
Desc: not available
URL: 
<http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20131202/a135bbd0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grating.png
Type: image/png
Size: 13258 bytes
Desc: not available
URL: 
<http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20131202/a135bbd0/attachment-0001.png>

------------------------------

Subject: Digest Footer

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

------------------------------

End of meep-discuss Digest, Vol 94, Issue 1
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20131202/0aac1282/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

------------------------------

End of meep-discuss Digest, Vol 94, Issue 2
*******************************************

 
_______________________________________________
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