Mismatch in the fraction of accepted translation move with two different Hoomd Versions #1997
Replies: 1 comment
-
You should not expect software with different major revisions to behave the same: https://semver.org/ In this case, the relevant change is that HOOMD-blue >=3.0 (released more than 4 years ago) reports the total number of trial moves from the start of the call to Without knowing how you generated those log files, I can only guess that your 4.8.1 results are plotting the average acceptance from step 0 to step T as a function of T. You should instead log the total number of translation moves and post-process that log to compute windowed averages of the acceptance with your preferred window width. For example: HOOMD 4.8.1 is already quite old. 5.0.1 is currently the latest version, and it includes a large number of new features and bug fixes compared to 4.8.1. |
Beta Was this translation helpful? Give feedback.
-
Dear Community,
I am trying to write a code to perform NVT simulation for a system of hard spheres (particle_number=2197) with packing fraction 60% using Hoomd-4.8.1. I performed the same thing with identical system using Hoomd-2.8.1. But now I am getting very different results in the count of fraction of accepted translation move when I am comparing it with the results from Hoomd2.8.1, although I used exactly same specifications like the maximum size of displacement trial move, seed etc.
The key difference between the results is the following, while in Hoomd-2.8.1 the fraction of accepted translation moves fluctuates around 27-28% in hoomd 4.8.1 this quantity keeps on increasing and could achive roughly 20% after the same simulation run.
I am attaching the code and the simulation log file(version-4.8.1). Can someone kindly point out the mistake?
Thanks
![probability](https://private-user-images.githubusercontent.com/189375499/410821533-fed31ae0-2bfc-4598-bdd6-a9597985a4fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTI1MTYsIm5iZiI6MTczOTAxMjIxNiwicGF0aCI6Ii8xODkzNzU0OTkvNDEwODIxNTMzLWZlZDMxYWUwLTJiZmMtNDU5OC1iZGQ2LWE5NTk3OTg1YTRmYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMDU2NTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MDJiMWUwNjhhMjU4NTcyODYwMjgyNGRhZDFkOGYwMTEzYmFlOTlkMDQ1MzE1MmIyZGM1ZWM1NjdhYzEzNWE5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.u6gJXGjcrRSxEkYDXi5zWsxsFQXg9KVfw476KsOD2Js)
NVT.txt
output.txt
Beta Was this translation helpful? Give feedback.
All reactions