I am doing a molecular dynamics simulation. I need to assign initial velocities to the atoms. I want to assign the initial velocities which follow the maxwell-boltzmann distribution. How do I calculate such initial velocities using a uniform random number generator with range [0,1).
How do I generate maxwell-boltzmann variates using a uniform distribution random number generator?
Yogesh Yadav
- 213
- 1
- 2
- 7