specifying velocity when reading a restart file

Dear LAMMPS users,

My question is regarding assigning the velocity when reading a restart file.
I was wondering 1) how the velocities are specified when there is no velocity command in the input file (are they again generated based on a random distribution or the values from the previous step are restored?), and also 2) how does including a velocity command (for instance create style, same temperature, gaussian distribution) affect the results?

Thanks

Dear LAMMPS users,

My question is regarding assigning the velocity when reading a restart file.
I was wondering 1) how the velocities are specified when there is no
velocity command in the input file (are they again generated based on a
random distribution or the values from the previous step are restored?), and

neither. as mentioned in the read_restart documentation, atom
attributes are stored in the restart file and that includes
velocities.

also 2) how does including a velocity command (for instance create style,
same temperature, gaussian distribution) affect the results?

your system will have to be re-equilibrated, because the newly
assigned velocities are not consistent with the individual atom
positions.

axel.

1 Like