Re: [Meep-discuss] Boundary conditions

2016-03-09 Thread Charalampos Mavidis
Hi, You need to include the glass slab into the PML. That is, if sx, sy are the sizes of the computational box in the x and y direction and you have propagation along thex direction. In the case that you dont add PML in the x direction you have PEC boundary conditions which enforce mirror symmet

Re: [Meep-discuss] dft-ldos outputs negative values

2015-03-15 Thread Charalampos Mavidis
Dear Gil, Try to use longer simulation time. Charalampos On Sun, Mar 15, 2015 at 11:50 AM, Gil Wolff wrote: > Dear Meep users, > > I am using meep to calculate the ldos from an aperiodic system which I > suspect has a band gap, using the function dft-ldos. In the frequency range > of the gap

Re: [Meep-discuss] Units in Meep

2014-11-10 Thread Charalampos Mavidis
Dear Steve, There is a wiki on this mater. http://meepunits.wikia.com/wiki/Meep_unit_transformation_Wiki Charalampos On Mon, Nov 10, 2014 at 6:17 AM, Stephen Russell wrote: > Dear Meep Users, > > Units in Meep - I find many explanations, each more confusing than the > last. > > I am very much

Re: [Meep-discuss] LDOS at a point

2014-11-06 Thread Charalampos Mavidis
.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: LDOS at a point (Charalampos Mavidis) > > > --

Re: [Meep-discuss] LDOS at a point

2014-11-02 Thread Charalampos Mavidis
Just put a point source at the desired location. The dft-ldos function will calculated the LDOS for that particular point. Charalampos On Wed, Sep 10, 2014 at 6:58 PM, Aria Tania wrote: > Dear MEEP users, > > > > I am wondering, how can I calculate LDOS at a specific position? Using the > *(df

[Meep-discuss] LDOS calculation for periodic media

2014-10-24 Thread Charalampos Mavidis
Dear Steven and Meep users, I am trying to calculate the LDOS for a periodic medium. Is it correct to put a single point source and then for a certain k-point calculate the LDOS via dft-ldos? However, there is another issue. If this is correct then the total LDOS should be the sum of the contribu

Re: [Meep-discuss] real metal material

2014-06-19 Thread Charalampos Mavidis
First, define and normalize to meep units the Drude model plasma frequency and gamma and then write the following: (define Ag (make dielectric (epsilon Ag_epsb) (E-susceptibilities (make drude-susceptibility (sigma 1.0) (omega Ag_wp) (gamma Ag_gamma) ) ) )) Then, you can use 'Ag' as a

[Meep-discuss] Read refractive index data from file

2014-05-13 Thread Charalampos Mavidis
Hello everyone! Is there a way to read refractive index-vs-wavelength data from file and use it in meep? Charalampos ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] How to get material dispersion for metal

2014-04-14 Thread Charalampos Mavidis
Just use (set! default-material Ag) Regards, Charalampos On Mon, Apr 14, 2014 at 3:08 PM, Allen Spencer wrote: > Hi Charlampos, > > > The version I use is 1.2.1 which just released few days ago. I know how to > define dispersive material in MEEP but what I want is to get the epsilon vs > fre

Re: [Meep-discuss] How to get material dispersion for metal

2014-04-14 Thread Charalampos Mavidis
First of all, which version of meep are you using? Here is my code for dispersive Ag: ; Parameters (define a 100e-9) ; define the unit of length in meters (define cc (/ (* 2 (* pi 3e+8)) a)) ; unit of frequency in meep ; eV->radpersec (define (ev->radpersec l) (/ l 6.5821e-16) ; divide by the re

[Meep-discuss] Force unit in meep

2014-02-11 Thread Charalampos Mavidis
What is the force unit in meep? Charalampos ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] how to put negative effective index?

2012-05-29 Thread Charalampos Mavidis
Do you mean negative epsilon? Charalampos On Tue, May 29, 2012 at 4:37 AM, changyeong jeong wrote: > dear meep users, > > I have been trying to use a negative index material for metal(with no loss > simulation) > However, my simulation result does look well when I just typed > '(define-param Ag

Re: [Meep-discuss] A question about units in meep

2012-04-14 Thread Charalampos Mavidis
req funit)) And so on. Charalampos Mavidis On Sat, Apr 14, 2012 at 12:44 AM, Lion Lion wrote: > Hi all, > I try to simulate a cylinder with radius of 10 Cm and I want to use a > broadband source with spectrum of (.1 to 100 GHz ) how can I define these > in meep . > I can define cy

[Meep-discuss] MEEP unit conversion

2012-04-04 Thread Charalampos Mavidis
I am trying to simulate a LiTaO3 structure using the material parameters from http://apl.aip.org/resource/1/applab/v85/i4/p543_s1 . There, omega_T/2pi = 26.7 THz, omega_L/2pi = 46.9THz and eps_inf = 13.4. Is it enough to divide the frequencies by c/a in order to get the correct meep frequency uni

[Meep-discuss] zero reflection and transmission

2009-07-14 Thread Charalampos Mavidis
sure. Charalampos Mavidis file.ctl Description: Binary data ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss