<li><p class="first">ID, group-ID are documented in <a class="reference internal" href="fix.html"><span class="doc">fix</span></a> command</p>
</li>
<li><p class="first">smd/wall_surface = style name of this fix command</p>
</li>
<li><p class="first">arg = <em>file</em></p>
<pre class="literal-block">
<em>file</em> = file name of a triangular mesh in stl format
</pre>
</li>
<li><p class="first">type = particle type to be given to the new particles created by this fix</p>
</li>
<li><p class="first">mol-ID = molecule-ID to be given to the new particles created by this fix (must be >= 65535)</p>
</li>
</ul>
</div>
<div class="section" id="examples">
<h2>Examples</h2>
<pre class="literal-block">
fix stl_surf all smd/wall_surface tool.stl 2 65535
</pre>
</div>
<div class="section" id="description">
<h2>Description</h2>
<p>This fix creates reads a traingulated surface from a file in .STL format.
For each triangle, a new particle is created which stores the barycenter of the triangle and the vertex positions.
The radius of the new particle is that of the minimum circle which encompasses the triangle vertices.</p>
<p>The triangulated surface can be used as a complex rigid wall via the <a class="reference internal" href="pair_smd_triangulated_surface.html"><span class="doc">smd/tri_surface</span></a> pair style.
It is possible to move the triangulated surface via the <a class="reference internal" href="fix_smd_move_triangulated_surface.html"><span class="doc">smd/move_tri_surf</span></a> fix style.</p>
<p>Immediately after a .STL file has been read, the simulation needs to be run for 0 timesteps in order to properly register the new particles
in the system. See the “funnel_flow” example in the USER-SMD examples directory.</p>
<p>See <a class="reference external" href="USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</a> to use Smooth Mach Dynamics in LAMMPS.</p>
<p><strong>Restart, fix_modify, output, run start/stop, minimize info:</strong></p>
<p>Currently, no part of USER-SMD supports restarting nor minimization. This fix has no outputs.</p>
</div>
<div class="section" id="restrictions">
<h2>Restrictions</h2>
<p>This fix is part of the USER-SMD package. It is only enabled if
LAMMPS was built with that package. See the <a class="reference internal" href="Section_start.html#start-3"><span class="std std-ref">Making LAMMPS</span></a>
section for more info. The molecule ID given to the particles created by this fix have to be equal to or larger than 65535.</p>
<p>Within each .STL file, only a single triangulated object must be present, even though the STL format allows for the possibility of multiple objects in one file.</p>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.