A numerical method based on a model kinetic equation was developed for computing diatomic rarefied gas flows in two dimensions. Nitrogen flows through a plane microchannel were computed, and the gas flow rate was constructed as a function of the Knudsen number for various channel lengths.