2011-08-28 04:09:27 +08:00
|
|
|
<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>pair_style sph/lj command
|
|
|
|
</H3>
|
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>pair_style sph/lj
|
|
|
|
</PRE>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<PRE>pair_style sph/lj
|
|
|
|
pair_coeff * * 1.0 2.4
|
|
|
|
</PRE>
|
2011-08-28 04:09:27 +08:00
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<P>The sph/lj style computes pressure forces between particles according
|
|
|
|
to the Lennard-Jones equation of state, which is computed according to
|
|
|
|
Ree's 1980 polynomial fit <A HREF = "#Ree">(Ree)</A>. The Lennard-Jones parameters
|
|
|
|
epsilon and sigma are set to unity. This pair style also computes
|
2011-08-28 04:09:27 +08:00
|
|
|
Monaghan's artificial viscosity to prevent particles from
|
2011-08-28 05:11:46 +08:00
|
|
|
interpentrating <A HREF = "#Monoghan">(Monaghan)</A>.
|
|
|
|
</P>
|
|
|
|
<P>See <A HREF = "USER/sph/SPH_LAMMPS_userguide.pdf">this PDF guide</A> to using SPH in
|
|
|
|
LAMMPS.
|
2011-08-28 04:09:27 +08:00
|
|
|
</P>
|
|
|
|
<P>The following coefficients must be defined for each pair of atoms
|
|
|
|
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the examples
|
|
|
|
above.
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<UL><LI>nu artificial viscosity (no units)
|
|
|
|
<LI>h kernel function cutoff (distance units)
|
|
|
|
</UL>
|
2011-08-28 04:09:27 +08:00
|
|
|
<HR>
|
|
|
|
|
|
|
|
<P><B>Mixing, shift, table, tail correction, restart, rRESPA info</B>:
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<P>This style does not support mixing. Thus, coefficients for all
|
2011-08-28 04:09:27 +08:00
|
|
|
I,J pairs must be specified explicitly.
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<P>This style does not support the <A HREF = "pair_modify.html">pair_modify</A>
|
|
|
|
shift, table, and tail options.
|
|
|
|
</P>
|
2011-08-28 04:09:27 +08:00
|
|
|
<P>This style does not write information to <A HREF = "restart.html">binary restart
|
2011-08-28 05:11:46 +08:00
|
|
|
files</A>. Thus, you need to re-specify the pair_style and
|
|
|
|
pair_coeff commands in an input script that reads a restart file.
|
2011-08-28 04:09:27 +08:00
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<P>This style can only be used via the <I>pair</I> keyword of the <A HREF = "run_style.html">run_style
|
|
|
|
respa</A> command. It does not support the <I>inner</I>,
|
2011-08-28 04:09:27 +08:00
|
|
|
<I>middle</I>, <I>outer</I> keywords.
|
|
|
|
</P>
|
|
|
|
<P><B>Restrictions:</B>
|
2011-08-28 05:11:46 +08:00
|
|
|
</P>
|
|
|
|
<P>As noted above, the Lennard-Jones parameters epsilon and sigma are set
|
|
|
|
to unity.
|
|
|
|
</P>
|
|
|
|
<P>This pair style is part of the USER-SPH 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.
|
2011-08-28 04:09:27 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "pair_coeff.html">pair_coeff</A>, pair_sph/rhosum
|
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<HR>
|
|
|
|
|
|
|
|
<A NAME = "Ree"></A>
|
|
|
|
|
|
|
|
<P><B>(Ree)</B> Ree, Journal of Chemical Physics, 73, 5401 (1980).
|
2011-08-28 04:09:27 +08:00
|
|
|
</P>
|
2011-08-28 05:11:46 +08:00
|
|
|
<A NAME = "Monoghan"></A>
|
|
|
|
|
|
|
|
<P><B>(Monaghan)</B> Monaghan and Gingold, Journal of Computational Physics,
|
|
|
|
52, 374-389 (1983).
|
2011-08-28 04:09:27 +08:00
|
|
|
</P>
|
|
|
|
</HTML>
|