Open dbogusz opened 4 years ago
Neither LDOS nor flux monitors output a frequency, but I guess you're saying that the LDOS and the flux monitors show a peak at slightly different frequencies?
Realize that LDOS is computing total power expended by the source, including absorbed power. So, it will show a slightly different spectrum than flux monitors measuring only escaping radiation. Probably this explains the difference you are seeing.
I am simulating a circular Bragg grating cavity in cylindrical coordinates with a Au layer underneath the system to act as a backreflector. LDOS function gives me a resonant emission at about 50nm lower wavelength that I can see with flux monitors encompassing the structure. This shift seems to reduce significantly when I am not using the gold layer. I tried different simulation settings such as resolution, simulation time, Courant factor, and none can get rid of this difference entirely. My code is as followed:
Can the metal layer causing such problems?