Attached are two animations illustrating the effect of making the grid finer. In this example, I went from a dx=dy=dz=16 down to a dx=dy=dz=8. As you can see, the negative wave that results as the plane wave travels through the Total Field Region is much smaller for the finer grid spacing. Is there any way to get rid of this completely without making the grid spacing infinitesimally smaller? Because of my home-cooked Absorbing Boundary Condition, I have a lot of wasted real estate and I'm overloading the memory on my server. I can try it with a MUCH finer grid spacing on our large memory node of the supercomputer, but I think this will take too long to diagnose.
Also, why is the plane wave scattering off of the TF/SF boundary as it enters the Total Field region? At this point, there shouldn't be much dispersion. I went back to check my indices for the TF/SF boundary, but I couldn't find any mistakes. However, it could be possible that the incident is not on the same time grid (Off by half-time step) as I had to implement a multi-lorentz material for gold and silver. This calls for an Auxiliary Differential Equation for the Electric Field. Although I'm not using an material in this test, the ADE method requires E
, E(n+1), and E(n-1). I am assuming that I have chosen the correct E (in time) to apply the TF/SF boundary to.
It is important to note that I am simulating gold and silver nanoparticles, as well as, gold-silver core-shell nanoparticles. My code works very well for the gold or silver nanoparticle alone, however, I run into issues when I create a core (gold) encapsulated by a shell (silver). The optical response is not even close to what I see experimentally. I just wanted to rule out this TF/SF problem before I proceeded.