Clump particle in LIGGGHTS 3.2

Submitted by Michelle Phan on Fri, 10/04/2019 - 05:51

Hello everyone;
By some reasons, I need to use LIGGGHTS 3.2 to simulate my model. I need to clump the particles to make the irregular shape. I know the function fix particletemplate/multisphere can do that job, but it is only available in LIGGGHTS 3.3 onward. I tried to copy the fix_multisphere in src 3.3 to 3.2, but I could not compile. Can anyone suggest me a solution?
Thank you

AttachmentSize
Image icon image.png315.17 KB

Michelle Phan | Fri, 10/04/2019 - 07:36

Hi,
I think particletemplate/multisphere is not available in 3.2.
I am working on LBM_DEM coupling based on developed code. That code can only compile with LIGGGHTS 3.2

mschramm | Fri, 10/04/2019 - 18:41

Hello,
what all files did you try to port over. I know after a quick look at the code base that you need:
particleToInsert_multisphere{.cpp, .h}
fix_template_multisphere{.cpp, .h}
fix_multisphere{.cpp, .h}
multisphere{.cpp, .h}
input_multisphere{.cpp, .h}

and might need:
compute_erotate_multisphere{.cpp, .h}
compute_ke_multisphere{.cpp, .h}
fix_multicontact_halfspace{.cpp, .h}
fix_multisphere{.cpp, .h}
fix_multisphere_break{.cpp, .h}
fix_multisphere_comm{.cpp, .h}

There may be more that are needed to make everything communicate.

Michelle Phan | Tue, 10/08/2019 - 00:38

Hi;
I copied all the files that you mentioned above from 3.3 to 3.2. But I still got the problem as I attached in my first post. Could you please suggest me any other solutions?
Thank you for your help

Michelle Phan | Tue, 10/08/2019 - 00:37

Hi;
I copied all the files that you mentioned above from 3.3 to 3.2. But I still got the problem as I attached in my first post. Could you please suggest me any other solutions?
Thank you for your help

mschramm | Wed, 10/09/2019 - 04:03

Hello,
From the image, the error states that the multisphereParallel function may be the cause.
Did you also include the Parallel functions?
Are you coping files from 3.8 into 3.2?
If so, that may be too many changes for you to feasibly port over the functions that you need.
I would recommend using the 3.3 files. (https://github.com/richti83/LIGGGHTS-WITH-BONDS, do not install the bonds package)