Hello
I am using LIGGGHTS-flexible fibres.
I my simulations I need to group certain atoms based on a spatially non uniform function. Since difficult to implement in LIGGGHTS directly, I plan to extract the atom IDs using a Python/Matlab script, then define grouping of those specific atoms. I have following two questions in this regard:
1) Is it possible to use group command such that I can group specific atoms read from a text file ?
2) What is the template to store atom IDs in such a text file ?
Any suggestions will be highly appreciated
Thanks
Shubham
mschramm | Tue, 02/15/2022 - 19:54
Include command
Hello,
I would use the "include" command (https://www.cfdem.com/media/DEM/docu/include.html).
This would allow you to use MATLAB/Python to create this one file that contains all ids that you need. This file would hold all of your grouping calls without cluttering your main liggghts script.