-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force-biased algorithm problem #3
Comments
Hi Tommy, sorry for a late reply. May be it can still be relevant to you. Or may be it will be relevant to someone else. One possible reason for the problem can be the following. The results of the FB algorithm depend on the contraction rate that you specify in the generation.conf and also on the expected volume fraction (packing density) of particles in the box (as if they have no intersections). If you use the box [20 20 16] and the same number of particles, the expected density will of course be higher than in the case [35 35 28.9]. You may try to decrease the original particle diameters proportionally to maintain the same expected density for the case [20 20 16]. Or you may try to scale the box sides proportionally, i.e. use [20 20 16] * (35 * 35 * 28.9)/(20 * 20 * 16)=[110.63 110.63 88.5]. I've added a corresponding section to the Readme and also one more related section. If this does not help, please contact me (i'm monitoring the issues closer now :-) ). Hope this helps, |
Dear Vasili, Thanks for the reply!!! Best regards |
Hi Tommy, thanks for your screenshots and configs. I was indeed able to reproduce this bug. I uploaded the fixes and created a new release where the bug seems to be fixed. I was mostly developing the program on the svn server in our research lab and it seems that i have already fixed this bug some time ago, so i just merged the updates from the svn server to this github repository. The new code produces exactly the same packing for 35 35 28.9, but also produces a valid packing for 20 20 16. If you have any other questions or problems, please contact me/submit an issue/comment on this issue. Best Regards, |
Dear Vasili, It works pretty well. Thanks for the help!!! Best Regards, |
Dear:
I used the "PackingGeneration.exe -fba" to run the code.
When i set that the particles count were 309 and the dimensions were 20 20 16, the inner diameters ratio would be very small and failed.
When i used the dimensions are 35 35 28.9, the result was fine.
Does the code have a limit of the dimensions or other issues needed to be noticed?
Thanks for help!
Tommy
The text was updated successfully, but these errors were encountered: