Hello,
When i use the command "fix...addtorque" to add torque to one particle, it happens an error " invalid fix style: "addtorque" " . Did anybody encountered this kind of situation?
thanks
A project by DCS Computing and CFDEMresearch
This website uses cookies to ensure you get the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies. This website uses cookies. By continuing to browse the site you are agreeing to our use of cookies. More info
ckloss | Mon, 04/13/2015 - 11:13
fix addtorque is not enabled
fix addtorque is not enabled by default, it's in the USER-MISC packgage that you have to explicity install (and then recompile)
Christoph
K.cheng | Mon, 04/13/2015 - 14:40
where can I find USER-MISC package ?
Dear Christoph
thanks very much for your reply. You are a great help! Now , i think i know what went wrong. but where can i find USER-MISC package and how to install it ? i an new at this and maybe my question sounds pretty silly.please teach me .
thank you
K.cheng
Daniel Queteschiner | Tue, 04/14/2015 - 14:17
Making LAMMPS with optional packages
The USER-MISC package is the folder USER-MISC in the src directory. Read section "2.3 Making LAMMPS with optional packages" in the LIGGGHTS manual to learn how to include optional packages.
K.cheng | Tue, 04/14/2015 - 15:58
I used command " make yes
I used command " make yes-user-misc" then use " make g++" ,but at last "error g++" was displayed on the screen . and command " addtorque " is still invalid
richti83 | Wed, 04/15/2015 - 08:01
use make fedora instead
use make fedora instead
K.cheng | Wed, 04/15/2015 - 14:12
thank for your reply~ I tried
thank for your reply~ I tried this command but it still didn't work
richti83 | Wed, 04/15/2015 - 22:18
error message
what error do you get ? sounds to me that g++ or mpicxx isn't setup properly
K.cheng | Thu, 04/16/2015 - 04:29
I encountered an error " the
I encountered an error " the keyword 'addtorque' is invalid" when I used the command " fix addtorque". A friend told me that this command is invalid by default. Then I try to install it by using " make yes-user-misc , make g++". But the same error still existed.You told me to use " make fedora" instead,but it also did not work
K.cheng | Thu, 04/16/2015 - 04:31
I mean that "make fedora" can
I mean that "make fedora" can work well , but the error still exited
richti83 | Thu, 04/16/2015 - 08:29
case sensitive
are you aware that linux is case sensitive ? it should be make yes-USER-MISC.
On the other hand, you can copy the files fix_addtorque.h and .cpp from folder src/USER-MISC/ to /src/ and recompile with make fedora.
K.cheng | Fri, 04/17/2015 - 07:20
I have also tried this , but
I have also tried this , but the error still existed. Thanks for your replies guys!