Re: [Meep-discuss] dispersion relation of surface plasmon

2012-12-10 Thread Judson Ryckman
You should only be able to activate the SPP for TM polarization.. Which appears to indeed be what you are observing! --Judson On Mon, Dec 10, 2012 at 9:35 AM, huang bo abohu...@gmail.com wrote: hi everyone! below is the .ctl file I use to calculate the dispersion relation of surface plasmon I

Re: [Meep-discuss] problem with h5topng!!

2012-01-27 Thread Judson Ryckman
Not sure.. But this could happen if your field is building up to be very strong near the very end. The -R option should normalize it to the max/min for all related datafiles, which could make the field look very weak in the beginning? Try just using -Zc to see what happens, or consider setting

Re: [Meep-discuss] hdf5 files with matlab

2011-08-29 Thread Judson Ryckman
Yes, I've done a bit of this. Matlab has a built in command, hdf5read(). Before you use it however, you need to know more about the size and handle of your dataset. So in the terminal where you run meep, use the command *h5ls filename.h5. *This will give you the dimensions and handle of the

Re: [Meep-discuss] bloch peridic boundary condition

2011-07-19 Thread Judson Ryckman
Check out the tutorial: http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial/Band_diagram,_resonant_modes,_and_transmission_in_a_holey_waveguide#Band_diagram . Just remember to only define the PML on the x direction, and use k-points as shown. Good luck! On Mon, Jul 18, 2011 at 9:46 PM, Mehdi

[Meep-discuss] meep field function not working with derived-components?

2011-02-08 Thread Judson Ryckman
Hi all, I have tried to define a custom field function to take the average dpwr and divide it by epsilon and output that to a .h5 file. However I keep getting an error meep: unknown field component 105. Note below, everything runs smoothly if I stick to using non-derived components (i.e. Ey, Hz,

Re: [Meep-discuss] Interpreting dpwr in a k-point simulation

2011-02-07 Thread Judson Ryckman
was that for some simulations, using an invalid k-point and omega lead to a time varying dpwr. This could be fixed by rerunning the bands calculation and then using the appropriate k-value... However, if anybody has any other insight, I welcome discussion. -Judson On Thu, Feb 3, 2011 at 8:18 PM, Judson

[Meep-discuss] Interpreting dpwr in a k-point simulation

2011-02-03 Thread Judson Ryckman
Hi all, I've got a question that could be simple to answer, even though it has been bugging me for several hours. Let's suppose you run a k-point simulation using Bloch-periodic boundary conditions, just as in the holey waveguide tutorial. (i.e. we specify a kx=value1, fcen=value2). In the

Re: [Meep-discuss] Problem with the radius of a nanosphere

2010-10-15 Thread Judson Ryckman
I think you should probably change your scale. i.e. Make the sphere radius equal to 1 in meep units, and define that (for yourself) as ten nanometers. Then you just need to scale the frequency of your source equivalently. Goodluck! On Fri, Oct 15, 2010 at 10:58 AM, hogen john

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 mtajab...@yahoo.comwrote: Dear Meep users, I am trying to simulate transmission or

Re: [Meep-discuss] Problem: h5math doesn't work

2010-09-08 Thread Judson Ryckman
Steffen, I would recommend using MATLAB to perform mathematical operations on your h5-files (if you have it). You can load each file into matlab using something like ep = hdf5read('epsilon.h5', 'data') See this DEMO by Steven J. http://math.mit.edu/~stevenj/18.369/mpb-demo.pdf Good luck!

[Meep-discuss] Observations on dispersion, negative epsilon, and time averaged fields...

2010-08-20 Thread Judson Ryckman
Dear Steven, I have been using meep recently for simulating a metallic grating in 2D. As most people have discovered, simulating metals in meep can be rather tricky if you don't do it correctly. Thanks to your tutorials and discussion threads I have managed to make good progress.  While I hope