lammps/doc/doc2/compute_smd_triangle_mesh_v...

65 lines
2.2 KiB
HTML
Raw Normal View History

<HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
</CENTER>
<HR>
<H3>compute smd/triangle_mesh_vertices
</H3>
<P><B>Syntax:</B>
</P>
<PRE>compute ID group-ID smd/triangle_mesh_vertices
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>smd/triangle_mesh_vertices = style name of this compute command
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all smd/triangle_mesh_vertices
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation that returns the coordinates of the vertices
corresponding to the triangle-elements of a mesh created by the <A HREF = "fix_smd_wall_surface.html">fix smd/wall_surface</A>.
</P>
<P>See <A HREF = "USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</A> to using Smooth Mach Dynamics in LAMMPS.
</P>
<P><B>Output info:</B>
</P>
<P>This compute returns a per-particle vector of vectors, which can be
accessed by any command that uses per-particle values from a compute as
input. See <A HREF = "Section_howto.html#howto_15">How-to discussions, section 6.15</A>
for an overview of LAMMPS output options.
</P>
<P>The per-particle vector has nine entries, (x1/y1/z1), (x2/y2/z2), and (x3/y3/z3) corresponding
to the first, second, and third vertex of each triangle.
</P>
<P>It is only meaningful to use this compute for a group of particles which is created via the
<A HREF = "fix_smd_wall_surface.html">fix smd/wall_surface</A> command.
</P>
<P>The output of this compute can be used with the dump2vtk_tris tool to generate a VTK representation of the
smd/wall_surace mesh for visualization purposes.
</P>
<P>The values will be given in <A HREF = "units.html">units</A> of distance.
</P>
<P><B>Restrictions:</B>
</P>
<P>This compute is part of the USER-SMD package. It is only enabled if
LAMMPS was built with that package. See the <A HREF = "Section_start.html#start_3">Making LAMMPS</A>
section for more info.
</P>
<P><B>Related commands:</B>
</P>
<P><A HREF = "fix_smd_move_triangulated_surface.html">smd/move_tri_surf</A>, <A HREF = "fix_smd_wall_surface.html">smd/wall_surface</A>
</P>
<P><B>Default:</B> none
</P>
</HTML>