I tried to simulate the FBG structure in comsol, I tried 2D model, but am not able to get the transmission spectrum. I want to view core modes as well as cladding modes.
You first create your effective refractive index by the help of suitable material then you can easily calculate the period of gratings with reflected wavelength.