Hi all,
I'm new to LIGGGHTS. I want make a particle spin in the simulation.
At first, the atom_style in my simulation is granular. Under these circumstances, I set the angular velocity via "velocity......setAngular......" , and the terminal give a feedback:
"set Angular requires the atom property 'angmom' as defined by atom_style ellipsoid. (../velocity.cpp:426)"
Then I use atom_style "ellipsoid", but the terminal give a feedback this time:
"Fix wall/gran (id boxwalls_x1): requires atom attributes radius, omega, torque (../fix_wall_gran.cpp:107)"
I don't know how to solve it.
Can anybody tell me how to make a particle spin in the simulation?
Thanks.
Daniel Queteschiner | Mon, 01/09/2017 - 09:52
Use the 'set' command
Use the
set
command with the optionsomegax, omegay, omegaz
to set the angular velocity. Alternatively, set the angular velocity upon insertion via the fix insert* commands. You cannot use the 'ellipsoid' style with the granular contact models, just 'granular' or 'sphere'.