On Jul 17, 2009, at 8:45 AM, Rachel Thompson wrote:
I'm quite new to meep and I've been using it to try to model the behaviour of a waveguide. To test the simulation I have been trying to show that the waveguide has a cut off frequency. So, I have been calculating % energy transmission between a volume containing the source and the waveguide. Something seems to be going wrong as the transmission %s for any odd frequencies (In GHz not meep units) are the same, as are the %s for any even frequencies separated by 4GHz. Could you please give me some pointers as to where I may be going wrong. My C++ file is below.
One thing that jumps out at me is that you are specifying a Gaussian source with a frequency width of 0, which means that your Gaussian takes an infinitely long time to turn on. I'm not sure offhand what Meep is doing, but it probably isn't what you want.
I would strongly recommend using the libctl interface, which is much easier to use and better documented. Then put a broad-band Gaussian pulse in, and calculate the transmission spectrum using the flux- spectrum feature like in the Meep Tutorial.
Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

