unclear about velocity/create distribution


Does the velocity/create command produce a uniform, Gaussian, or other distribution?

It is unclear from the doc page.

Best regards,


There is an optional keyword called “dist” from which you can choose uniform or gaussian. It is actually mentioned in the doc page, so I am not really sure how this was unclear… The page (http://lammps.sandia.gov/doc/velocity.html) even says
“The dist keyword is used by create. The ensemble of generated velocities can be a uniform distribution from some minimum to maximum value, scaled to produce the requested temperature. Or it can be a gaussian distribution with a mean of 0.0 and a sigma scaled to produce the requested temperature.”