A reasonable electromagnetic model was built to make simulations on optical properties of the field effect devices based on carbon nanotubes (CNTs). Simulation results show that the absorbing power of the CNTs peaks when the pitch of the nanotubes is integral multiple of the incident light wavelength, while for the pitch among two different incident wavelengthes, the peak of the absorbing power presents a linear attenuation as the wavelength increase.