Skip to content

Change in energy if restarted with the last configuration. #1693

Closed Answered by tcmoore3
mubisk asked this question in Support
Discussion options

You must be logged in to vote

Without more information (e.g., is it the kinetic or potential energy that changes upon restart?), it is impossible to be sure why you observe this behavior. However, the issue is most likely that you are not saving particle velocities (see https://hoomd-blue.readthedocs.io/en/latest/module-hoomd-write.html#hoomd.write.GSD), so when you create the simulation state all of the velocities are set to the default value of 0. Since you do not thermalize the system momwntum (https://hoomd-blue.readthedocs.io/en/latest/package-hoomd.html#hoomd.State.thermalize_particle_momenta), the system is starting at temperature = 0, and it takes the thermostat a few steps to get the system to the set tempera…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@joaander
Comment options

Answer selected by joaander
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants