Start off by making sure your flux planes are at least a wavelength (the
longest one) away from the source plane or PML. Also make sure that
the flux planes are a wavelength away from the scatterer.
Make sure your PML is thick enough (one wavelength is safe).
If your structure is very resonant, it can trap energy and lead to
strange scattering values as well. Make sure you let the simulation run
long enough by using the stop-when-fields-decayed feature. It may also
help to use a more narrowband excitation.
Hopefully that corrects it for you. If the simulation time becomes too
long, you can try to gradually reduce all of those distances until the
point where those errors become significant.
Best,
Matt
On Tue, 5 Aug 2008, Minh Nguyen Huu wrote:
>
> Hi,
>
> I've ran into a strange problem when trying to calculate the
> reflection spectrum of the structure I'm trying to simulate. What I
> find is that for some frequencies the calculated values (after the
> second run with the reflector) are positive. The script I made is just
> a modified version of the script found on the website. If anybody ever
> ran into this problem or can direct me to an email where this problem
> has already been discussed, I would be very grateful.
>
> Kind regards,
>
> Minh
> _________________________________________________________________
> Jouw nieuws en entertainment, vind je op MSN.nl!
> http://nl.msn.com/
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss