Hello! Does anyone have any good ideas if I'm trying to create a follower force. In other words, I want a force that changes direction as a particle rotates. I cannot find any commands to create mobile coordinate systems on particles, is there another way?
Thanks,
Zamir
ckloss | Wed, 01/11/2012 - 21:08
Starting from
You mean a force depending on particle orientation? Starting from fix_addforce.h/cpp, this is pretty straight-forward to do.
You can use fix nve/sphere with the dipole keyword so the orientation is tracked (orientation is stored in atom->mu). If questions arrise, feel free to use the developers forum.
Cheers, Christoph
zamir | Thu, 01/12/2012 - 05:10
Thank you!
Thank you sir! I will try it out.