-
Hi, I gave a run and save the configurations along with the thermodynamic properties in a gsd file. Then, again the runs were given initializing with the last configuration. The energy profile of the system was well equiliberated in the previous run but in the next run, the value of energy starts with a bit higher energy and then increases and takes a few hundred runs to get back to the same value again. Though it quickly comes back to the same value but this is not only unexpected but also looks erroneous. Does any body has a similar experience or can point out the issue in this problem?? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Please provide a minimal script that demonstrates this behavior. |
Beta Was this translation helpful? Give feedback.
-
Hi. Thanks for the reply. Please find the below code: for ppp in range(0,1):
|
Beta Was this translation helpful? Give feedback.
-
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 temperature. |
Beta Was this translation helpful? Give feedback.
-
Yes, Exactly thats what was the problem. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
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…