<spanid="index-0"></span><h1>fix smd/move_tri_surf command<aclass="headerlink"href="#fix-smd-move-tri-surf-command"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="syntax">
<h2>Syntax<aclass="headerlink"href="#syntax"title="Permalink to this headline">¶</a></h2>
<divclass="highlight-python"><divclass="highlight"><pre>fix ID group-ID smd/move_tri_surf keyword
</pre></div>
</div>
<ulclass="simple">
<li>ID, group-ID are documented in <aclass="reference internal"href="fix.html"><em>fix</em></a> command</li>
<li>smd/move_tri_surf keyword = style name of this fix command</li>
<li>keyword = <ahref="#id1"><spanclass="problematic"id="id2">**</span></a>LINEAR* or <ahref="#id3"><spanclass="problematic"id="id4">**</span></a>WIGGLE* or <ahref="#id5"><spanclass="problematic"id="id6">**</span></a>ROTATE*</li>
<h2>Description<aclass="headerlink"href="#description"title="Permalink to this headline">¶</a></h2>
<p>This fix applies only to rigid surfaces read from .STL files via fix <aclass="reference internal"href="fix_smd_wall_surface.html"><em>smd/wall_surface</em></a> .
It updates position and velocity for the particles in the group each timestep without regard to forces on the particles.
The rigid surfaces can thus be moved along simple trajectories during the simulation.</p>
<p>The <ahref="#id19"><spanclass="problematic"id="id20">**</span></a>LINEAR* style moves particles with the specified constant velocity
vector V = (Vx,Vy,Vz). This style also sets the velocity of each particle
to V = (Vx,Vy,Vz).</p>
<p>The <ahref="#id21"><spanclass="problematic"id="id22">**</span></a>WIGGLE* style moves particles in an oscillatory fashion.
Particles are moved along (vx, vy, vz) with constant velocity until a
displacement of max_travel is reached. Then, the velocity vector is
reversed. This process is repeated.</p>
<p>The <ahref="#id23"><spanclass="problematic"id="id24">**</span></a>ROTATE* style rotates particles around a rotation axis R = (Rx,Ry,Rz) that
goes through a point P = (Px,Py,Pz). The period of the rotation is also
specified. This style also sets the velocity of each particle to (omega cross
Rperp) where omega is its angular velocity around the rotation axis and
Rperp is a perpendicular vector from the rotation axis to the particle.</p>
<p>See <aclass="reference external"href="USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</a> to using Smooth Mach Dynamics in LAMMPS.</p>
<h2>Restart, fix_modify, output, run start/stop, minimize info<aclass="headerlink"href="#restart-fix-modify-output-run-start-stop-minimize-info"title="Permalink to this headline">¶</a></h2>
<p>Currently, no part of USER-SMD supports restarting nor minimization. This fix has no outputs.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>This fix is part of the USER-SMD package. It is only enabled if
LAMMPS was built with that package. See the <aclass="reference internal"href="Section_start.html#start-3"><span>Making LAMMPS</span></a>
section for more info.</p>
</div>
<divclass="section"id="related-commands">
<h2>Related commands<aclass="headerlink"href="#related-commands"title="Permalink to this headline">¶</a></h2>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.