how to limit particle rotation strictly

Submitted by K.cheng on Sun, 04/12/2015 - 05:53

Hello,
I want to limit particle rotation strictly,but i can no find relative command in liggghts.Have anybody used this command?

all thanks
K.cheng

ckloss's picture

ckloss | Mon, 04/13/2015 - 11:11

Hi,

if you want to limit it to zero, just use fix nve instead of nve/sphere. If you want to limit it to a specific value, you'll have to write your own fix nve/sphere/limit that limits it

Best wishes
Christoph