On Tue, 17 Oct 2006, Florencio Garcia wrote:
I've been running the script that is attached to calculate reflectance and
transmittance of a 1D Bragg stack. Something funny happens... When I run it
for 16 layers (see variable nlayer), everything looks fine. I compared the
results to other methods and it matches perfectly. But when I run for 32
layers, I get a reflectance spectra with a peak above 1 (in a region where
the source is pretty intense). The transmittance looks a bit better, but
seems to be offset.
Without more details, all I can suggest is to check convergence. That is,
try doubling the:
resolutioon
PML thickness
run time
distance of source and flux planes from Bragg mirror
and see if doubling any one of these changes your results significantly.
(e.g. if your source is too close to the Bragg mirror it can actually emit
more power than it does in vacuum. This is a real physical effect, having
to do with the difference in the local density of states.)
Regards,
Steven G. Johnson
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss