LIGGGHTS WWW Site - LIGGGHTS Documentation - LIGGGHTS Commands


fix mesh/gran/6dof command

Syntax:

fix ID group-ID mesh/gran filename walltype scalefactor xoff yoff zoff phix phiy phiz
keywords values ... 

Example:

fix cad all mesh/gran/6dof box.stl 1 1. 0. 0. 0. 0. 0. 0. &
mass 40 com 0. 0. 0. vcm 0. 0. -0.5 angmom 1. 0. 0. &
moi 0.266666 0.266666 0.266666 0. 0. 0.

LIGGGHTS vs. LAMMPS Info:

This command is not available in LAMMPS.

Description:

This fix is does the same as fix mesh/gran but it additionally integrates the motion of the mesh assuming it to be a rigid body with the given com (center of mass) and moi (moments of inertia). Optionally, you can specify an initial velocity and angular momentum of the rigid body. Please note the difference between angular velocity omega and angular momentum (which is I*omega)

IMPORTANT NOTE:

Restart, fix_modify, output, run start/stop, minimize info:

This fix stores a global vector with 6 components for access by various output commands. The first 3 components are equal to the total force on the mesh, the last 3 components store the total torque on the body exerted by the particles. Other info see fix mesh/gran. Furthermore, this fix writes the state of the rigid body (translational and rotational) to binary restart files so that a simulation can continue correctly. Other infos see fix mesh/gran.

Restrictions:

This fix is not part of the public LIGGGHTS release. For more information, send a message to contact@liggghts.com.

When using this fix, it is not possible to scale or rotate the body, so the first args have to be:

scalefactor = 1.0
xoff = 0.0
yoff = 0.0
zoff = 0.0
phix = 0.0
phiy = 0.0
phiz = 0.0

We might relax this restriction in the future.

Related commands:

fix wall/gran

Default: none