[Meep-discuss] High frequency problem MEEP

2010-10-14 Thread R. O'Gara
Hi all, I have a following problem, and any clues are much appreciated. I want to do a simple 1D simulation of normal reflectance from air to a dielectric of constant epsilon (eps=9). According to Fresnel's equations reflectance should be 0.25 regardless of frequency. But, when I send a Gaussia

Re: [Meep-discuss] Syntax highlighting for Meep and MPB in gedit

2010-10-14 Thread mohammad mousavi
Dear Hessam It is nice work, thanks a lot. Mohammad   From: S. Hessam Moosavi Mehr To: meep-discuss@ab-initio.mit.edu Sent: Mon, October 11, 2010 10:49:09 PM Subject: [Meep-discuss] Syntax highlighting for Meep and MPB in gedit Dear MEEP users, I spent a co

Re: [Meep-discuss] dispersive material

2010-10-14 Thread mohammad mousavi
Dear Mahdiyeh I have your problem in dispersive and constant dielectric functions and actually i have found that it is "numerical dispersion" and it's common problem in FDTD method. you can find it in many papers and books (you need just Googling). Best way I have found to decrease the effect

[Meep-discuss] MEEP to GDSII (clarification)

2010-10-14 Thread Marco Zocca
Following on my previous mail, a note to clarify: I meant, something that allows _not_ to pass through the 'eps' file, i.e. extracting to GDSII only the vertices of the blocks or something similar. As you might know, GDS doesn't handle well large vertex counts, and extra feature complexity might

Re: [Meep-discuss] How to find average energy density?

2010-10-14 Thread Marell, M.J.H.
Hi Serge, Yes it is possible, just use the second formula in my email... I don't think integrating in MEEP is necessary... I'm not sure, but I think output-dpwr already gives you the average power, IF you use complex fields The following thread seems to confirm this: http://osdir.com/ml/science

Re: [Meep-discuss] How to find average energy density?

2010-10-14 Thread Marell, M.J.H.
Hi Serge, I'm working on a similar problem, I have a resonant cavity... What I do is, I excite the cavity with a pulse and wait for the fields to settle down. As soon as the fields have settled down, I know extract Q factor of my cavity plus the |E|^2 field distribution. R. Loudon's paper back

[Meep-discuss] MEEP to GDSII

2010-10-14 Thread Marco Zocca
Dear all MEEP users, is anyone aware of a method to convert HDF5 dielectric layouts (the 'eps' file) into GDSII, without pixelization? I am asking because my design involves features not parallel to the axes. Thank you and kindest regards, Marco Zocca ___

[Meep-discuss] Electric field intensity

2010-10-14 Thread Marell, M.J.H.
Hi everybody, I'd like to output the electric field intensity (|E|^2) from a 3D simulation. I wrote the following function: (define (eSquared r ex ey ez) (+ (* (magnitude ex) (magnitude ex)) (* (magnitude ey) (magnitude ey)) (* (magnitude ez) (magnitude ez (define (output-efield2) (outpu

[Meep-discuss] How to find average energy density?

2010-10-14 Thread Serge Solntsev
Dear MEEP users and Dr. Johnson, I'm trying to calculate absorption in the device. I start simulation with CW source, wait for a while... this is OK. Then I output electric-field energy density using (output-dpwr). Using average energy I can calculate the absorption. But as far as I understood I