LIGGGHTS® - Developer Forum

Topics related to developing with LIGGGHTS® can be discussed here: discussion about implementation details, C++, MPI and debugging tools

Sliding vs static Friction

Submitted by OrangensaftDE on

Hi to all,

maybe some developer can me help:
For gran/hooke there is only one friction coefficient necessary. But in reality are 2 friction states possible: Sliding (or dynamic) friction and static friction. Is there any difference in Liggghts, or is this always the same? For some materials is in reality a big difference between static coefficient of friction and sliding cof....

Thx
Orangensaft

overflow of particlecounter for rigid body

Submitted by RobertG on

Hello,
I work with a large number of rigid bodies. Every time the number of rigid bodies oversteps approx. 65.000 I get the error:
No rigid bodies defined.
I guess it is because the nbody variable is defined as 16 bit integer. How complicate will it be if I define the nbody variabe as unsigned long at the fix_rigid.h file?
Will it work still fine?
Thanke you for your help.

Best regards
RoberG

Initialize a large PER-ATOM ARRAY define by FIX PROPERTY/ATOM

Submitted by leaso on

Dear LIGGGHTS users and developers,

I have a simple question where I want to initialize a large(100-1000) PER-ATOM ARRAY define by FIX PROPERTY/ATOM.
Since LIGGGHTS expects the size to be defined through the input script, is there any easy way to define the size in the .cpp/.h file instead of:

fix LL all property/atom LL vector yes no no 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0....(100 times)

Intel Xeon Phi openMPI compatible?

Submitted by diego.peinado on

Hello,

Sorry for the offtopic, but you developers probably will know. The new Intel Xeon Phi coprocessors can be used for liggghts? I mean, each one of the 60 cores of one coproccesor is seen as one core by openMPI? can I use mpirun -np 60 liggghts < in.example?

Thanks in advance, and best regards.