Hi all,
I am using the particletemplate/multisphere command to create clumps. The command allows the use of self-defined inertia tensor and mass.
I need to adjust also the center of mass. Currently LIGGGHTS uses the monte carlo method to calculate the center of mass.
Does anyone knows how to set the center of mass individually?
Thanks
ckloss | Tue, 06/28/2016 - 18:42
Hi Fabian,
Hi Fabian,
currently the center of mass is calculated from Monte Carlo, you'd have to change the fix_template_multisphere.cpp file to read the value!
best wishes
Christoph
Westbrink | Fri, 07/01/2016 - 08:19
Hi Christoph,
Hi Christoph,
thank you, I found the corresponding position in the code and changed several things.
Regards,
Fabian
richti83 | Mon, 07/04/2016 - 09:09
Hi Fabian,
Hi Fabian,
would you please share your modifications ? I'm also interested in manipulating the COM of Clumps, but don't want to invent the wheel twice.
Thanks,
Christian.