[Meep-discuss] (no subject)

2020-12-25 Thread Cícero Julião
Dear friends, I'm trying to change the structure during the simulation. The code below is one example. This code gives me a big error message. What is wrong with it? res = 40 # pixels/um (originalmente, 20) eps = 9 # dielectric constant of the hole r = 0.4 # radi

[Meep-discuss] (no subject)

2020-03-23 Thread SERAFINI VALENTINA
Good morning I am a beginner in Meep. Currently, I am trying modifying the simulation in Eigenmode source tutorial reported in meep documentation. Here I report the code I am using import meep as mp import numpy as np import matplotlib.pyplot as plt w = 5 # width of waveguide delta_n

Re: [Meep-discuss] (no subject)

2019-05-28 Thread John Weiner
Galaa This seems to be a different problem from mine because when I have seen these excursions, they have not been reproducible either in position or in amplitude. Have you varied the resolution of your FDTD routine or the periodicity of your “comb” structure? One other suggestion: try to ma

Re: [Meep-discuss] (no subject)

2019-05-28 Thread Galaa Badrakh
Hi John Please have a look at the attachment. I have two different duplications and the defects are in the duplications. If I re-run I get the same defects at the same positions. Is this the problem you are facing? I have plotted with pyplot and also with Mathematica, no difference at all. I have

Re: [Meep-discuss] (no subject)

2019-05-28 Thread John Weiner
Hi Galaa, I’ve seen similar things, large isolated, unphysical excursions in otherwise perfectly reasonable results when plotting data from a meep output. Are you using Matplotlib/pyplot for your plotting routines? And do the excursions appear at exactly the same points and with the same ampl

[Meep-discuss] (no subject)

2019-05-28 Thread Galaa Badrakh
Hi All. I am new to MEEP and trying to use the "geometric_objects_duplicates" feature. After simulation complete, I extracted the dielectric spatial profile with "data=sim.get_array(center=mp.Vector3(), size=mp.Vector3(0.0,0.0,height), component=mp.Dielectric)" to double check my geometry but I se

[Meep-discuss] (no subject)

2018-08-29 Thread Gustavo
Hi https://goo.gl/DSTCVJ Gustavo ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2018-04-23 Thread 盛建诚
Dear meep users, I just don't know why there is not Si in the material library,it is a very common material.And I found the refractive index in Medium is frequency-independent ,does this mean that refractive index does not change with wavelength?It does not make sense,and how can i define Si correc

[Meep-discuss] (no subject)

2018-03-16 Thread ??????
Dear Professor, Good day. I am a fresher to meep and don't it's operating mechanism very well,so some basic problems is always persecuting me.I just want to know how to calculate the transmission efficiency of a straight waveguide the MEEP Documentation mentions at python tutorial . Thanks sjc_

[Meep-discuss] (no subject)

2018-01-18 Thread Gustavo
Hey https://goo.gl/c8AcQg Gustavo ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2017-07-08 Thread Prashant Srivastava
(set! k-point 1 1 0) will set bloch vectors as (1 0 0) (0 1 0) or (1 1 0)? What is the difference between (set! k-point 0 0 0) and (set! k-point 1 1 0) ? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/m

[Meep-discuss] (no subject)

2014-08-12 Thread ISAAC MATERE
Hi meep users Am working on ring resonators comprising of two straight parallel waveguides and a single ring, the input is in one of the straight waveguides , the coupling is taking place well but what is missing is how the drop port comes in. any assistance is highly appreciated. thanks in advan

Re: [Meep-discuss] (no subject)

2014-06-12 Thread Filip Dominec
Dear Shampy, this topic has been discussed many times. Generally you can not force a complex value of permittivity in FDTD. You can however define a high-frequency oscillator that introduces losses. More on this topic is at http://ab-initio.mit.edu/wiki/index.php/Dielectric_materials_in_Meep or se

[Meep-discuss] (no subject)

2014-06-12 Thread #SHAMPY MANSHA#
Dear Steven and other Meep users, I am doing a simulation in which I require to use a complex dielectric constant of the form(say for example): epsilon = 1 + 0.01i For my simulation the frequency isn't fixed, instead I have to use a gaussian source with some finite width. And in the whole simu

Re: [Meep-discuss] (no subject)

2014-04-24 Thread Steven G. Johnson
On Apr 18, 2014, at 10:12 AM, ISAAC MATERE wrote: > hallo meep users > can coupling two > straight waveguides and a microdisc be done in meep, Yes. ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailma

[Meep-discuss] (no subject)

2014-04-18 Thread ISAAC MATERE
hallo meep users can coupling  two straight waveguides and a microdisc be done in meep, if so kindly assist matere i University of Eldoret Msc student in Fibre Optics Po Box 1125 - 30100 Eldoret Kenya Tel no: +254 720 886 040___ meep-discuss mailing li

Re: [Meep-discuss] (no subject)

2014-01-06 Thread Filip Dominec
Dear Farhad, from what I recall from tinkering the sources, you will probably want to edit the polarizability.cpp. First of all, there already _is_ a model that includes some random fluctuations; it might suit your needs. If not, modifying the code that implements constitutive relations is the best

Re: [Meep-discuss] (no subject)

2014-01-06 Thread FARHAD KAZEMI
Dear Fillip, thank you so much for your answer. Actually, briefly , fluctuational electrodynamics indicates that, the electromagnetic wave generated by a surface with finite T>0 of temperature is because of the fluctuation of charges or dipoles inside the material. It studied this phenomenon st

Re: [Meep-discuss] (no subject)

2014-01-06 Thread Filip Dominec
Dear Farhad, I am not an expert nor I have thoroughly read the referred article, but I believe the non-radiative fields should be exactly modelled by MEEP as long as they are a solution of the (source-free) Maxwell equations. You may, for example, define a metallic capacitor and a metallic inductor

[Meep-discuss] (no subject)

2014-01-06 Thread FARHAD KAZEMI
Dear all, I would like to model the radiation transfer between two plates separated by nano-gap in which we have to bring near-field radiation effects into account using fluctuational electrodynamics. Does MEEP is capable of solve such problems? or we need to manipulate the source C++ codes to

Re: [Meep-discuss] (no subject)

2013-10-28 Thread Wu Chuanren
Hi, you can scale the four maxwell equations and let c = 1 ^_^ There are a lot of (infinite) possibilities to scale it. Best regards 2013/10/28 LErmeng > ** > Hi, > I have two problems with meep: > > 1. How could I convert the electric/magnetic component (Hz, Ez ...) to > real word electri

[Meep-discuss] (no subject)

2013-10-27 Thread LErmeng
Hi, I have two problems with meep: 1. How could I convert the electric/magnetic component (Hz, Ez ...) to real word electric/magnetic component which unit is SI ? 2. For example, there is a vertical magnetic-dipole on the ground ,and pass continuous electric-charge current with fixed frequency,

[Meep-discuss] (no subject)

2013-08-06 Thread Onder Karakilinc
Hi meep user Can I define two different polarized sources in the same structure? Is it possible to launch two different polarized (TE and TM) sources in 2D structure? is it possible to have both polarizations present at the same time in Meep? I want to simulate 2D structure with these sources

[Meep-discuss] (no subject)

2013-05-08 Thread pankaj kumar sahoo
Dear meep users and Prof. Steven Johnson In the section "Using experimental Kerr coefficients" of "Units and nonlinearity in Meep" it is mentioned to use μm as unit of distance and W as units of power. Does it mean that we have to include a=1 μm (or, a=1e-6) in the .ctl file. If so then w

[Meep-discuss] (no subject)

2013-05-07 Thread LErmeng
I'm a student, and my major is Geophysics. I have seen the examples , they are all about small things. Can I use the Meep to simulate the electromagnetic field of the earth ? LErmeng___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://

Re: [Meep-discuss] (no subject)

2013-04-08 Thread Filip Dominec
Hi, this is purely a mathematical question related to diffraction. Generally, if your source is ten times the wavelength, the output radiation divergence may be estimated to be one tenth of radian. So you have to make the source plane as big as possible. Another approach giving a precise plane wave

[Meep-discuss] (no subject)

2013-04-08 Thread a g
Hello, How can I define a short laser pulse with a very small solid angle (obviously) in MEEP? When I am using a gaussian source I get the source, that is shining in all directions and not in one direction. ___ meep-discuss mailing list meep-discu

[Meep-discuss] (no subject)

2012-08-12 Thread pankaj kumar sahoo
Dear meep users and Prof. Steven Johnson i am new to meep. i am trying to simulate the transmission spectrum of a finite 3D pc slab containing holes in square arrangement in which third order nonlinearity is created by incidenting picosecond ultrashort pulses from the top of the slab and normal

[Meep-discuss] (no subject)

2012-07-19 Thread elec...@yahoo.com
http://superdrive.com.br/wp-admin/likeit.php?attack213.jpeg___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2012-04-27 Thread Hassan Aghababaeian
http://dwelle.org/feeds/templates/headlinebox/tamro.html ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2012-04-04 Thread Gustavo Fernandes
http://winkelmanndesigns.com/ski/local/combined/mylove.php?Dr176.bmp ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2012-04-03 Thread Lion Lion
Hi, I'm new to meep I have a question about simulation .My question is that how can I simulate Lorentz medium and what algorithm it uses for this simulation (ADE or Z-transform)? thanks ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http:

[Meep-discuss] (no subject)

2012-04-01 Thread Roger Garay Avendaño
roger...@dmo.fee.unicamp.br -- Roger Leonardo Garay Avendaño ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2012-03-31 Thread Lion Lion
Hi, I don't know can I ask question about simulation here so if it is not allowed I'm so sorry. My question is for simulating a sphere that its dielectric function obeys Lorentz model what must I do ?I know that ADE is one way. for this case what source must be used (the peak is at about 300 nm)

[Meep-discuss] (no subject)

2011-08-30 Thread gayathri sridharan
http://insuranceestimatesphiladelphia.com/wp-content/uploads/site.php?html119 ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2011-08-04 Thread kassa baghdouche lazhar
Dear MEEP’s, I am a new user of MEEP and MPB software’s, how to install these software’s. For operating system, I used Linux ans Windows. ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-d

[Meep-discuss] (no subject)

2011-05-06 Thread cecil chalmers
Dear meep users, I want to know the difference between scattering cross section and scattering efficiency, extinction cross section and extinction efficiency, and absorption cross section and absorption efficiency.I also need to know how to calculate extinction efficiency, scattering effic

[Meep-discuss] (no subject)

2011-04-21 Thread Umenyi Amarachukwu
http://ro0ts.ifrance.com/inside.html ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] (no subject)

2011-02-03 Thread hodjat hajian
Hi, This is Hodjat Hajian, a PhD candidate of Solid State Physics, The University of Tabriz, Tabriz, Iran. I have one question about the applications of "the meep software". Please answer to my question. The question is as below: 1) Can we do the below calculations for the "slab photonic crysta

Re: [Meep-discuss] (no subject)

2010-09-15 Thread Steven G. Johnson
On Sep 12, 2010, at 10:28 AM, mahdiyeh tajabady wrote: I am trying to simulate transmission or reflection flux of solar spectrum AM1.5 from a multilayer mirror. does anyone know how can I simulate solar spectrum? This sounds like a linear problem. Just simulate the transmission/ reflection

Re: [Meep-discuss] (no subject)

2010-09-12 Thread Judson Ryckman
Can't you just make a normal transmission and reflection spectrum of your structure, and then multiply by the shape of the desired input spectrum? Good luck! On Sun, Sep 12, 2010 at 9:28 AM, mahdiyeh tajabady wrote: > Dear Meep users, > > I am trying to simulate transmission or reflection flux

[Meep-discuss] (no subject)

2010-09-12 Thread mahdiyeh tajabady
Dear Meep users, I am trying to simulate transmission or reflection flux of solar spectrum AM1.5 from a multilayer mirror. does anyone know how can I simulate solar spectrum? Best Mahdieh ___ meep-discuss mailing list meep-discuss@ab-in

[Meep-discuss] (no subject)

2010-05-26 Thread X. Y. AO
Hello Prof. Johnson and MEEP users, I tried to calculate the transmission/refection of a 2D photonic crystal slab by following the tutorial. However, the obtained spectra are not correct: T+R>1 (oscillation) as shown in the attached figure. My CTL file is enclosed below. In brief, the structur

[Meep-discuss] (no subject)

2010-02-01 Thread Papadopoulos Ioannis
Hello, This is my first post in the mailing list, I would like to thank you for accepting me. I would like to know whether the mailing list is still active and open to discussions and questions regarding meep. Thank you in advance Papadopoulos N. Ioannis

[Meep-discuss] (no subject)

2009-09-07 Thread sohrab safavi
hi i am simulating photonic crystal (PhC) slab lenses. the structure consists of a triangular lattice of cylindrical holes with radius r=0.4a in dielectric with permittivity e=12.96. in this PhC slab at frequency f=0.3, PhC exhibits negative effective index. These application of this type of PhC

Re: [Meep-discuss] (no subject)

2009-07-14 Thread Steven G. Johnson
On Jul 8, 2009, at 10:45 PM, 刘荣鹃 wrote: It donesn't work and shows 'ERROR: Unbound variable: mu-diag' Is it the problem from the meep version 0.20.3 I used? Yes, you need Meep 1.0 or later for this feature. ___ meep-discuss mailing list meep-discus

[Meep-discuss] (no subject)

2009-07-08 Thread 刘荣鹃
Hello, Mr.Johnson, In the reference, I find that epsilon and mu can be set as a tensor by giving the diagonal and offdiagonal parts: (epsilon-diag a b c), (epsilon-offdiag u v w),(mu-diag a b c),(mu-diagoff). I tried it like the following, (make block (center 0 0) (size infinity w infinity)

[Meep-discuss] (no subject)

2009-06-16 Thread SadovnikovAV
Hi, everybody. Hi, Shawkat. Check if libiconv, libtool, gmp-devel packages are in your system. It was the similar problem, when I recently try to compile&install libClt package. With Respect, Alexandr. __ __ Steven G. Johnson:

Re: [Meep-discuss] (no subject)

2009-02-02 Thread matt
Hi, Have a look at this thread: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00412.html Best, Matt On Mon, 2 Feb 2009, Sivan, Yonatan wrote: > Hi Meep users, > > I am relatively new to meep. Could anyone show me how to employ the > perfect-electric-conductor/ perfect-magne

[Meep-discuss] (no subject)

2009-02-02 Thread Sivan, Yonatan
Hi Meep users, I am relatively new to meep. Could anyone show me how to employ the perfect-electric-conductor/ perfect-magnetic-conductor/metal boundary condition in meep? I could not find an example in the meep-examples and everything I tried seems to have the wrong syntax. Thanks, Yonatan. _

[Meep-discuss] (no subject)

2008-11-13 Thread SadovnikovAV
Hello! I have a question about MPI on intel-quad and intel-core2duo processors: can we achieve more productivity by use mpi-support (e.g. lam-mpi pack) with mpb program? Thank you. Sasha ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu

Re: [Meep-discuss] (no subject)

2008-11-06 Thread Steven G. Johnson
On Nov 1, 2008, at 9:45 PM, rand mouradi wrote: I'm having trouble whenever I run my program I'm getting this error "ERROR: Unbound variable: D-conductivity" Maybe you are using an old version of Meep? You need Meep 0.20 or later for this feature. (Run meep --version to get the version num

[Meep-discuss] (no subject)

2008-11-01 Thread rand mouradi
Hello, I'm having trouble whenever I run my program I'm getting this error "ERROR: Unbound variable: D-conductivity" when I deleted everything related to D-conductivity in my program it was running fine.  Can you help me how to represent this term in Meep (I used the formula provided in meep ref

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
o a directory and use > it from there cause I still dont have harminv etc.. > Could you tell me why adding -pthread and -lpthread worked?? > Thanks > Mani chandra > > --- On *Sun, 13/1/08, Manoj Rajagopalan /<[EMAIL PROTECTED]>/* wrote: > > From: Manoj Rajagop

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Mani Chandra
dding -pthread and -lpthread worked??ThanksMani chandra--- On Sun, 13/1/08, Manoj Rajagopalan <[EMAIL PROTECTED]> wrote:From: Manoj Rajagopalan <[EMAIL PROTECTED]>Subject: Re: [Meep-discuss] (no subject)To: meep-discuss@ab-initio.mit.eduDate: Sunday, 13 January, 2008, 8:21 PMTry adding

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
Try adding the -pthread and -lpthread options to your compilation command line -- Manoj Mani Chandra wrote: > Hi! > After resolving the eps() issue the pthread thing cropped up > again!...Initially I thought it was because I commented out some lines > but this time it's appearing even when I

[Meep-discuss] (no subject)

2008-01-13 Thread Mani Chandra
Hi!After resolving the eps() issue the pthread thing cropped up again!...Initially I thought it was because I commented out some lines but this time it's appearing even when I try to compile the full program...#include using namespace meep;double eps(const vec &p);int main(int argc,char **argv){   

[Meep-discuss] (no subject)

2007-06-21 Thread Ram Somaraju
I am a first time meep user and am trying to use the following program #include #include using namespace meep; double eps(const vec &p); int main(int argc, char **argv) { initialize mpi(argc, argv); // do this even for non-MPI Meep double resolution = 20; // pixels per distance volume v =

[Meep-discuss] (no subject)

2007-06-03 Thread liurj
Hello, I met a problem during calcluating the transmission spectrum of 3D PC using me ep.The band gap is about 10.9GHz ~16GHz. When I set fcen (the central frequency ) as 11GHz and 12GHz and set df as 0.1, I can obtain a covergent solution. But w hen I increase fcen to 13GHz, 14GHz, and 15GHz, I

Re: [Meep-discuss] (no subject)

2007-04-23 Thread Steven G. Johnson
On Thu, 19 Apr 2007, John Doe wrote: > I want to simulate the transmission through a 3D PhC and I 'll use a > source with a various directions (for example (111) direction). I try > this guile code, but it doesn't works. "It doesn't work" is not a useful description of your problem. Break your

[Meep-discuss] (no subject)

2007-04-19 Thread John Doe
Hello to all, I want to simulate the transmission through a 3D PhC and I 'll use a source with a various directions (for example (111) direction). I try this guile code, but it doesn't works. ... ;- ;--

[Meep-discuss] (no subject)

2007-03-06 Thread liurj
Dear Steven, I used mpb and meep to calculate the band structure of 3D layer-by-layer structu re with 2 y-type waveguides. The result of mpb seems to be right, but the resul t of meep is not consistent with the the result of mpb. The ctl files are in the attachment. Can you tell me whether th

Re: [Meep-discuss] (no subject)

2007-02-22 Thread Steven G. Johnson
On Tue, 20 Feb 2007, Huazhong Wang wrote: I supposed that meep can run all commands of scheme language. but i found that some commands couldn't run in meep. For example, commands: when, string?, string-match-forward, cause running failure. I am wondering that my debian/meep system was installed

[Meep-discuss] (no subject)

2007-02-20 Thread Huazhong Wang
Hi, everyone, I supposed that meep can run all commands of scheme language. but i found that some commands couldn't run in meep. For example, commands: when, string?, string-match-forward, cause running failure. I am wondering that my debian/meep system was installed incompletely. it needs mo

Re: [Meep-discuss] (no subject)

2006-11-04 Thread Loic Le Guyader
Quoting Loic Le Guyader <[EMAIL PROTECTED]>: Hi, I still have problem with this. I want to wait a certain time for the pulse to arrive somewhere, and then wait for the decay of the field. I try this (important part is the definition of mystop): (define (mystop) (let ((decayed (stop-when-fie

[Meep-discuss] (no subject)

2006-11-03 Thread Loic Le Guyader
Hi, I still have problem with this. I want to wait a certain time for the pulse to arrive somewhere, and then wait for the decay of the field. I try this (important part is the definition of mystop): (set! resolution 10) (define-param sx 10) (define-param sy 2) (set! geometry-lattice (make lat

Re: [Meep-discuss] (no subject)

2006-05-20 Thread Steven G. Johnson
On Sat, 20 May 2006, G.J. Parker wrote: (define sx (inexact->exact (/ a (sqrt 2 (define sy (inexact->exact (* sx (sqrt 3 then you avoid the error. not sure what the actual value of sx & sy meep is using, but i'll assume it's essentially what i specified. No, that's not what you want t

Re: [Meep-discuss] (no subject)

2006-05-20 Thread G.J. Parker
-- Steven- thanks. i also found a temp workaround: if you replace (define sx (/ a (sqrt 2))) (define sy (* sx (sqrt 3))) with (define sx (inexact->exact (/ a (sqrt 2 (define sy (inexact->exact (* sx (sqrt 3 then you avoid the error. not sure what the actual value of sx

Re: [Meep-discuss] (no subject)

2006-05-20 Thread Steven G. Johnson
On Sat, 20 May 2006, G.J. Parker wrote: believe i found a minor error, but it's probably just numerics. in a control file, place: Thanks, this is a bug. It was getting confused because if you specify a cell size that is not an integer number of pixels, the cell size gets adjusted to the nea

[Meep-discuss] (no subject)

2006-05-20 Thread G.J. Parker
-- Steven- believe i found a minor error, but it's probably just numerics. in a control file, place: (define a 1) (define sx (/ a (sqrt 2))) (define sy (* sx (sqrt 3))) (set! geometry-lattice (make lattice (size sx sy 10))) (set-param! k-point (vector3 0)) (set! pml-layers (