[lammps-users] seed option in velocity command

Dear all,

I want to know the meaning of the 'seed' option in velocity command. There is no explicit explanation about that in manual.

Thanks,
Chol-Jun

Dear Chol-Jun:

It’s the seed to the random number generator, which LAMMPS uses to assign velocities according to a given probability distribution (Gaussian or uniform in the case of LAMMPS). If you need more information on how those work, you should look at a reference like Numerical Recipes.

–AEI

From the doc page:

create args = temp seed
    temp = temperature value (temperature units)
    seed = random # seed (positive integer)

Just use a random big integer, like 12345

Steve