I'm running some simulations of particle collisions in two dimensions with discretised time and space. In essence, particles only collide if they occupy the same location (cell) at the same time step. The particles are in a 2D box and collide with both each other and the walls, we also assume a closed system (so no gravity etc).
I want to use the mean free path $\lambda$ (the average distance travelled by a particle between collisions) to determine the best values for number of particles $N$, rms velocity $V_{rms}$, and box length $L$; as such I want to know how to calculate mean free path in two dimensions.
So far I have been able to find a formula on Wikipedia for three dimensions:
$$
\lambda=\frac{k_BT}{\sqrt{2}\pi d^2p}
$$
where d is the diameter of the particle and p is the pressure.
which I can easily turn into:
$$
\lambda=\frac{mv_{rms}^2}{2\sqrt{2}\pi d^2p}
$$
but again this is for three dimensions not the two dimensions that I need.
So the question is, can this be converted to two dimensions? or does a two dimensional form already exist?
Any help with this would be greatly appreciated.