Yago Rosselló | 3 Nov 2003 18:24
Picon

DOS calculation for te and tm

Hi, I've been trying to check the little implementation that has been built for DOS calculation in MPB.
See: http://article.gmane.org/gmane.comp.science.photonic-bands/424

Will it be very dificult to change that dos.scm to calculate DOS for te and tm independently?

Have anyone check the acuracy of this implementation with some paper results?

Thanks in advance


Yago

Steven G. Johnson | 3 Nov 2003 21:20
Picon

Re: DOS calculation for te and tm

On Mon, 3 Nov 2003, Yago Rosselló wrote:
> Hi, I've been trying to check the little implementation that has been built
> for DOS calculation in MPB.
> See: http://article.gmane.org/gmane.comp.science.photonic-bands/424
> 
> Will it be very dificult to change that dos.scm to calculate DOS for te and
> tm independently?

You don't need to change the implementation; just call (print-dos ...)
twice, once after run-te and once after run-tm.

Steven

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Andreas von Rhein | 4 Nov 2003 08:56
Picon

#define EIGENSOLVER_MAX_ITERATIONS 10000

Hi

I've run mpb with an negative epsilon problem

After 10000 iterations the programm aborts:

CHECK failure on line 627 of eigensolver.c: failure to converge after 10000 
iterations

eigensolver.c
-------------------------------
...
#define EIGENSOLVER_MAX_ITERATIONS 10000
...
-------------------------------

Could I change this number? Maybe to 10e9 or something like that?

Is it possible to change this in a ctl-file, like?:
(set! max_iterations 1e9)

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

wenting.dong | 9 Nov 2003 00:36
Picon
Favicon

requirements for mpb

Hello Steven,
mpb is a great piece of work and now I want to install it. We plan to buy some 
new clusters for runing mpb. Would you please give us some suggestions on the 
requirements for mpb installation and running? For example, the hard disk 
space, the memory, one or multiple processors, operating system, and so on? 
--We will basically work on defects in 3D PBG structures. 

Thank you very much!

best regards,
Wenting

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Steven G. Johnson | 9 Nov 2003 01:08
Picon

Re: requirements for mpb

On Sat, 8 Nov 2003 wenting.dong <at> chemistry.gatech.edu wrote:
> mpb is a great piece of work and now I want to install it. We plan to buy some 
> new clusters for runing mpb. Would you please give us some suggestions on the 
> requirements for mpb installation and running? For example, the hard disk 
> space, the memory, one or multiple processors, operating system, and so on? 
> --We will basically work on defects in 3D PBG structures. 

We've found that clusters of dual-processor x86 systems are pretty
cost-effective; I would definitely run a GNU/Linux variant (I find Debian
the easiest to administer, but whatever you're comfortable with...you can
also buy clusters with the software already set up).  For running 3d
structures I would suggest a couple of GB of RAM per node.  You can never
have enough hard disk space (users fill up disks pretty rapidly with 3d
datasets), but you can always start with an 80GB drive and add more drives
later.

If you're planning to run MPB in parallel over the cluster (I mainly run
single-processor jobs myself), you'll probably need a fast interconnect.  
Gigabit ethernet isn't too expensive these days and is probably worth it.

Of course, fancy hardware isn't really *necessary* to run MPB.  You should
be able to install it on basically any modern computer (Linux being
easiest).

Good luck!

Steven

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Tomofumi Kise | 10 Nov 2003 05:37
Picon

band structure of line defect waveguide

Dear Steven,

I calculated the band structure of line defect waveguide
with air-hole triangular lattice slab structure (air-bridge type).
I attached my ctl. file below.

My question is as follows,

Introducing a line defect, there arise many new bands.
I can identify the "guided mode" among them by judging
from whether the output field is localized in the line defect region,
but the band structure of that guided mode is different from those
calculated by FDTD method, especially in the area near and above
the so called "light line".
(see for example, IEEE J. Quantum. Electron. v.38, p.743, 2002, Fig. 4(a) .
My calculated parameters are the same as in this paper.)
Is this due to the calculation method itself? MPB cannot solve in principle
the modes above the light line and it's not correct in that region?
In addition, there also exist new additional bands by MPB, which do not
appear by FDTD.
Does this caused by the assumed boundary conditions or something?
If you have any idea to reproduce or approach the band structures
which widely reported by FDTD, could you comment?
(For example, the size of the supercell, etc.)
Or is there anything wrong in my ctl. file?

Sincerely,

Tomofumi Kise

my attached ctl. file
-------------------------------------------------------
(define-param h 0.571) ; the thickness of the slab
(define-param eps 12.25) ; the dielectric constant of the slab
(define-param loweps 1.0) ; the dielectric constant of the clad
(define-param r 0.312) ; the radius of the holes
(define-param supercell-y 7) ; the (odd) number of lateral supercell periods
(define-param supercell-h 4) ; height of the supercell

; triangular lattice with supercell:
(set! geometry-lattice (make lattice (size 1 supercell-y supercell-h)
      (basis1 (/ (sqrt 3) 2) 0.5)
      (basis2 (/ (sqrt 3) 2) -0.5)))

(set! geometry
      (list (make block (material (make dielectric (epsilon loweps)))
              (center 0 0 (* 0.25 supercell-h))
                  (size infinity infinity (* 0.5 supercell-h)))
      (make block (material (make dielectric (epsilon eps)))
    (center 0) (size infinity infinity h))
      (make cylinder (material air)
    (center 0) (radius r) (height supercell-h))))

(set! geometry
 (append
 ; duplicate the bulk crystal rods over the supercell:
 (geometric-objects-lattice-duplicates geometry 1 1 4)

 ; add a rod of slab, to erase a row of air rods and form a waveguide:
 (list
 (make cylinder (center 0) (radius r) (height h)
  (material (make dielectric (epsilon eps)))))))

(define Gamma (vector3 0 0 0 ))
(define K' (lattice->reciprocal (vector3 0.5 0 0))) ; edge of Brillouin
zone.
(set! k-points (interpolate 4 (list Gamma K')))

(set! num-bands 20)

(set-param! resolution (vector3 16 16 8))

(run-zeven
 (output-at-kpoint (list-ref k-points (quotient (length k-points) 2))
 fix-hfield-phase output-hfield-z))

(display-eigensolver-stats)
-----------------------------------------------------
END

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Xin Zhao | 12 Nov 2003 10:41
Picon
Picon
Favicon

help: how to calculate transmission using MPB?

Could anyone kindly tell me how to calculate the transmission ratio of
certain light travelling through certain 2-D photonic crystal using this
software.  I am a newbie and thanks for help.

--
-------------------------------------------------------------
    Xin Zhao   (xz223 <at> cam.ac.uk)
--------------------------------------------------------------

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Alexander Petrov | 12 Nov 2003 11:00
Picon
Favicon

Re: help: how to calculate transmission using MPB?

It is not possible, at least directly.
To calculate transmission we need a finite system, but
mpb package is for calculation of periodical systems.
The Bloch waves of 2D PC can be calculated
and the coupling from plane waves into Bloch waves can
considered at the boundary between two media,
but this is not trivial.

I guess you should better use FDTD or Transfer Matrix Method
to calculate transmission.

Alexander Petrov

Xin Zhao schrieb:

>Could anyone kindly tell me how to calculate the transmission ratio of
>certain light travelling through certain 2-D photonic crystal using this
>software.  I am a newbie and thanks for help.
>
>--
>-------------------------------------------------------------
>    Xin Zhao   (xz223 <at> cam.ac.uk)
>--------------------------------------------------------------
>
>
>
>_______________________________________________
>mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
>http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss
>
>  
>

--

-- 

M.Sc. Alexander Petrov
Materials in Electrical Engineering and Optics
Technical University Hamburg-Harburg, Germany
tel. +49-40-42878-3303
fax. +49-40-42878-2229

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

chenxy | 19 Nov 2003 08:54
Picon

About constant-frequency contours

Dear Sir,

   Excuse me to ask a question that bores us for a few days. We tried to
plot constant-frequency contours of 2D PhC in the k space. Is there a
good method to do this? Would you please sending us a corresponding ctl
file?

Thanks and best regards,

Chen

--

-- 
Chen Xiyao
Department of Physics,
University of Science and Technology of China
Hefei 230026, China
tel. +86-0551-3648882   fax. +86-0551-3603504
email: chenxy <at> mail.ustc.edu.cn

_______________________________________________
mpb-discuss mailing list  -  mpb-discuss <at> ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Yago Rosselló | 19 Nov 2003 20:58
Picon

fftw-3.0.1 compatibility

I found problems installing MPB with fftw-3.0.1 on Red Hat Linux, and finally I needed to switch to fftw-2.1.5 that worked fine.

Now I'm trying to reinstall MPB over cygwin. I just wanted to know if the problems with the latest version of fftw have been solved or it's better to use 2.1.5 version.

Thanks


Yago



Gmane