I try to simulate a periodic structure in IR frequency range by " electromagnetic waves, frequency domain " physics of COMSOL but recently I was find that the Vacuum thickness has effect on transmittance result, significantly. according to the image below, maybe this means that distance between Ports has cause resonanse. But there is a Vacuum (n=1) between the Port to the Sample surface (Common Polymer, n=1.5), and so we expect the distance to the Port not affect on the transmission reduction. What's wrong with this? What is your opinion?