I am learning the COMSOL software to study the band diagram of different photonic crystal structures. For a dielectric-based photonic crystal, only the k parameter sweep is needed to study the underlying band structure in COMSOL. But for a metal-based photonic crystal, the frequency-dependent behavior of the refractive index should be taken into account. Does anyone know how to do this?