VasiliBaranov / packing-generation

Hard-sphere packing generation in C++ with the Lubachevsky–Stillinger, Jodrey–Tory, and force-biased algorithms and packing post-processing.
MIT License
106 stars 43 forks source link

Run PackingGeneration.exe #29

Open Suzan183 opened 2 years ago

Suzan183 commented 2 years ago

Hi , I need to generate my own packing with only 1000 particles, what should I do? I'm trying to run PackingGeneration.exe from the release but it's not working .

Any help please thanks in advance @VasiliBaranov

VasiliBaranov commented 2 years ago

Hi @Suzan183 ,

sorry for the delay.

You need to supply a sample generation.conf file for the program to run (sorry, logging could have been better). I.e. just put it near PackingGeneration.exe. Please see here: https://github.com/VasiliBaranov/packing-generation#1-program-execution

The program will examine the current folder and all its subfolders recursively for the file generation.conf and run generation (or post-processing) algorithm for each of these files.

The format of the file is described in https://github.com/VasiliBaranov/packing-generation#12-generationconf-format-see-also-the-examples-folder

There is an example file here: https://github.com/VasiliBaranov/packing-generation/tree/master/Docs/Examples

The sample file in the wiki already specifies 1000 particles, so you shall be good to go.

I hope this helps (and you still need it)!

Best Regards, Vasili