On 02/21/2018 11:44 PM, Hirokazu Ishida wrote:

I conducted a simulation to check the conservation of energy by using flux-region, and somehow had a strange result. The simulation scheme is the following. Step1) Run the simulation with a square shaped object and a point source located at the center and accumulate the flux by "flux-region" which surrounds the simulation space. Step2) For the comparison purpose, run a simulation again without the object. I expected that the resulting energy flux of the former and latter ones was same, but they didn't.

There is nothing wrong with your script. The total radiated flux will be different in the two cases due to the change in the local density of states. This is described in more detail in the FAQ <http://meep.readthedocs.io/en/latest/FAQ/#how-does-the-current-amplitude-relate-to-the-resulting-field-amplitude> of the documentation.
meep-discuss mailing list

Reply via email to