- #1
nomnom123
- 2
- 0
- TL;DR Summary
- Can a maxwell-boltzmann curve be recreated in a 2d model of an ideal gas?
I am creating a two-dimensional model of an ideal gas, and I was wondering how I should determine initial velocity.
Ideally, I would like for the simulation to reach a point where the velocity distribution resembles that of the maxwell-boltzmann curve — will this be achieved if I, say, assign initial velocities randomly?
I'm not sure it will, as the collisions are elastic and I kept the mass of the particle the same — wouldn't the velocities simply swap?
Ideally, I would like for the simulation to reach a point where the velocity distribution resembles that of the maxwell-boltzmann curve — will this be achieved if I, say, assign initial velocities randomly?
I'm not sure it will, as the collisions are elastic and I kept the mass of the particle the same — wouldn't the velocities simply swap?