In this paper we numerically simulated the motion of gas particles inside the cylindrical and rectangular channels considering the influence of micro-rough surface. Simulation was performed with two methods: the method of the test particle and the method o f direct statistical simulation