(no subject)
Ashina Garg <[email protected]> Sun, 25 Oct 2015 01:57:21 +0530
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <CAJ8oNpmFY6D=eU__ri=eBJDdHnN=cT1rMHv7W-etr1=-OnwyXQ@mail.gmail.com> |
--001a1142700a29592a0522df8ea4
Content-Type: multipart/alternative; boundary=001a1142700a2959240522df8ea2
--001a1142700a2959240522df8ea2
Content-Type: text/plain; charset=UTF-8
I want to create a line defect 1-D PhC waveguide. Below is my ctl file and
the image of epsilon file. I have a default material of 4.41 dielecric
constant and i have inserted blocks of air. To temove a single block, I
have inserted a block of dielectric in the centre of slightly less radius.
I want a single block of dielectric only in the centre which is of same
radius as all other blocks. But whenever the run the code, I'm getting a
dielectric in the centre of each block. Please help me find where am I
going wrong?
(define-param x-dim 1)
(define-param y-dim 20)
(define-param z-dim 4)
(set! geometry-lattice (make lattice(size 1 1 no-size)))
(set! default-material (make dielectric (epsilon
4.41)))
(set! geometry(list(make block (material (make dielectric (epsilon 1)))
(center 0 0 0) (size 0.3 1 infinity))))
(set! geometry (append geometry
(list (make block (material (make dielectric (epsilon 4.41)))
(center 0 0 0) (size 0.1 1 infinity)))))
(set! resolution 16)
(set! k-points (list (vector3 0.5 0.5 0)))
(set! num-bands 50)
(run)
Please help
--001a1142700a2959240522df8ea2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span style=3D"font-size:12.8px">I want to create a line d=
efect 1-D PhC waveguide. Below is my ctl file and the image of epsilon file=
. I have a default material of 4.41 dielecric constant and i have inserted =
blocks of air. To temove a single block, I have inserted a block of dielect=
ric in the centre of slightly less radius. I want a single block of dielect=
ric only in the centre which is of same radius as all other blocks. But whe=
never the run the code, I'm getting a dielectric in the centre of each =
block. Please help me find where am I going wrong?</span><br style=3D"font-=
size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px=
">(define-param x-dim 1)</span><br style=3D"font-size:12.8px"><span style=
=3D"font-size:12.8px">(define-param y-dim 20)</span><br style=3D"font-size:=
12.8px"><span style=3D"font-size:12.8px">(define-param z-dim 4)</span><br s=
tyle=3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"fon=
t-size:12.8px">(set! geometry-lattice (make lattice(size 1 1 no-size)))</sp=
an><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">=C2=A0(s=
et! default-material (make dielectric (epsilon 4.41)))=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><br style=3D"font-size:12.=
8px"><span style=3D"font-size:12.8px">(set! geometry(list(make block (mater=
ial (make dielectric (epsilon 1)))</span><br style=3D"font-size:12.8px"><sp=
an style=3D"font-size:12.8px">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (center 0 0 0) (size 0.3 1 infinity))))</=
span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">(set! =
geometry (append geometry</span><br style=3D"font-size:12.8px"><span style=
=3D"font-size:12.8px">(list (make block (material (make dielectric (epsilon=
4.41)))</span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8=
px">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 (center 0 0 0) (size 0.1 1 infinity)))))</span><br style=3D"font-=
size:12.8px"><span style=3D"font-size:12.8px">=C2=A0</span><br style=3D"fon=
t-size:12.8px"><span style=3D"font-size:12.8px">(set! resolution 16)</span>=
<br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">(set! k-poi=
nts (list (vector3 0.5 0.5 0)))</span><br style=3D"font-size:12.8px"><span =
style=3D"font-size:12.8px">(set! num-bands 50)</span><br style=3D"font-size=
:12.8px"><br style=3D"font-size:12.8px"><br style=3D"font-size:12.8px"><spa=
n style=3D"font-size:12.8px">(run)</span><br><div><span style=3D"font-size:=
12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Please help<=
/span></div></div>
--001a1142700a2959240522df8ea2--
--001a1142700a29592a0522df8ea4
Content-Type: image/png; name="epsilon.png"
Content-Disposition: attachment; filename="epsilon.png"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ig5jf0ck0
iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAIAAABC8jL9AAADxElEQVR4nO3TsQmAABDAwMfJf3Ot
rCxFJHA3QLrMzOzuedvdeedZ09fX/6h/vMwBPzIwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjC
DAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEh
zMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkY
wgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iB
IczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZ
GMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OY
gSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCE
GRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMAND
mIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMw
hBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjAD
Q5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgz
MIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYw
A0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEhzMAQZmAI
MzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZgCDMwhBkYwgwMYQaG
MANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEGhjADQ5iBIczAEGZg
CDMwhBkYwgwMYQaGMANDmIEhzMAQZmAIMzCEGRjCDAxhBoYwA0OYgSHMwBBmYAgzMIQZGMIMDGEG
hjADQ5iBIczAEGZgCDMwhBkYwgwMYQaGMANDmIEh7AJubPHL8uJP9QAAAABJRU5ErkJggg==
--001a1142700a29592a0522df8ea4
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbXBiLWRpc2N1
c3MgbWFpbGluZyBsaXN0Cm1wYi1kaXNjdXNzQGFiLWluaXRpby5taXQuZWR1Cmh0dHA6Ly9hYi1p
bml0aW8ubWl0LmVkdS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbXBiLWRpc2N1c3M=
--001a1142700a29592a0522df8ea4--