-
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
Meaning of Generation Start 0 #21
Comments
Hi @mikroice , sorry for the long delay (it was the vacation time..). I think there is a gap in my documentation and in the logging from the program: what one also has to do to make the second step (-ls) run is to delete or rename the packing.nfo file after the first -fba step. The packing.nfo file serves as a marker of whether the generation has been completed. So the -ls step sees it and doesn't proceed forward. Unfortunately, i didn't implement proper logging. So you need to delete/rename packing.nfo generated after the -fba run. The meaning of the "generation start" parameter is the one that you presumed: "generation start: 1" means that generation has to be started from scratch, "generation start: 0" means that the program shall start generation with particle positions from the existing packing.xyzd (but it also requires that packing.nfo shall be absent). Then you will see the output similar to what you see after the first -fba run. Please note that you might need to fine-tune the compression rate for the LS algorithm (please see the last paragraph in this section: https://github.com/VasiliBaranov/packing-generation#14-note-on-final-diameters ). In principle, if you just need any packing (not necessarily mechanically stable), you can just use the -fba algorithm, possibly with a lower compression rate. If the compression rate is very low, the packings will be almost mechanically stable (jammed). But you can of course fine-tune it with the LS algorithm as well (maybe in your field everyone uses the LS algorithm and no one knows the FBA one). If you need real mechanical stability (jamming) of frictionless spheres, then you for sure need the final LSGD step. You can run it also directly after the -fba algorithm as well. Hope this helps! I will update the documentation in the meantime.. Best Regards, |
Hi Mr Vasili, first of all the repository is wonderful and very helpful. I am using this for my master thesis in which I need to generate a porous material.
My question is, in the Sample Usage section when you went over FBA->LS->LSGD, did you change the generation start to 0? Would it possible for you to explain what exactly does the generation start 0 option do?
When I used one algorithm after another (changed the Generation start to 0 in 2nd step), it just showed me that the program opened the packing.nfo file. However, when I extracted the (re-scaled) diameters, they were same as the one generated in FBA step. I was expecting a different diameters and hence, different volume distribution.
To explain a bit further, I wanted to first use FBA (by supplying a diamters.txt file) to get an inital packing.xyzd and all the other files. The output is as follows:
I then wanted to use this data to refine my packing using LS algorithm.
Please excuse my naivety, I have very little coding experience and even less knowledge about sphere packing.
The text was updated successfully, but these errors were encountered: