I have created a program for analysing data from large dump files

Submitted by Domino on Sat, 02/06/2021 - 14:58

Hello, I am new to this forum!

I’m a novice programmer and I found myself helping out one of my father’s coworkers who uses LIGGGHTS for particle simulations (collisions of solid particles in a mixer, to be precise).

The program reads the particles’ IDs, assigns them a type based on ranges given by the user (so far particles can either be “Mineral” or “Ball”, because he’s simulating the collision of several steel balls with copper mineral in a mixer). Then, based on the type of collision (Ball-Ball, Ball-Mineral, Mineral-Mineral), it counts the contacts and the impacts (which require a higher collision force that contacts) that happened. If the the collision was an impact, then it adds up the impact force for that type of collision into a variable that’s unique to each type of collision. After the entire file is processed, it writes out a file with the number of contacts, number of impacts, and impact force for each type of collision, plus the total wear of the system.

The reason why I thought you people might be interested in this little project of mine is because, using multi-threading, my program is able to process a 32GB file in around 2 minutes, which is way faster than the older program my father’s coworker had, that took several hours at best and several days at worst to process a dump file.

If you’re interested this program, please let me know! You can also request features if you want to, but you’ll have to give me a step-by-step list of instructions on what to do with your with each parameter that you want to process. Giving me the formulas you want to use is also appreciated, since I’m not really that physics-savvy.

I’ll make my code public if I get a reply from an interested user :)