2011-08-30 02:44:24 +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 lj/cubic command
|
|
|
|
</H3>
|
2011-10-07 01:32:51 +08:00
|
|
|
<H3>pair_style lj/cubic/omp command
|
|
|
|
</H3>
|
2011-08-30 02:44:24 +08:00
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>pair_style lj/cubic
|
|
|
|
</PRE>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>pair_style lj/cubic
|
|
|
|
pair_coeff * * 1.0 0.8908987
|
|
|
|
</PRE>
|
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
|
|
|
<P>The <I>lj/cubic</I> style computes a truncated LJ interaction potential whose
|
2011-08-31 02:01:33 +08:00
|
|
|
energy and force are continuous everywhere.
|
|
|
|
Inside the inflection point the interaction is identical to the
|
|
|
|
standard 12/6 <A HREF = "pair_lj.html">Lennard-Jones</A> potential.
|
|
|
|
The LJ function outside the inflection point is replaced
|
2011-08-31 03:45:56 +08:00
|
|
|
with a cubic function of distance. The energy, force, and second
|
2011-08-31 02:01:33 +08:00
|
|
|
derivative are continuous at the inflection point.
|
|
|
|
The cubic coefficient A3 is chosen so
|
|
|
|
that both energy and force go to zero at the cutoff distance.
|
|
|
|
Outside the cutoff distance the energy and force are zero.
|
|
|
|
</P>
|
|
|
|
<CENTER><IMG SRC = "Eqs/pair_lj_cubic.jpg">
|
|
|
|
</CENTER>
|
|
|
|
<P>The location of the inflection point rs is defined
|
2011-08-30 02:44:24 +08:00
|
|
|
by the LJ diameter, rs/sigma = (26/7)^1/6. The cutoff distance
|
2011-08-31 03:45:56 +08:00
|
|
|
is defined by rc/rs = 67/48 or rc/sigma = 1.737....
|
|
|
|
The analytic expression for the
|
2011-08-31 02:01:33 +08:00
|
|
|
the cubic coefficient
|
2011-08-31 03:45:56 +08:00
|
|
|
A3*rmin^3/epsilon = 27.93... is given in the paper by
|
2011-08-31 02:01:33 +08:00
|
|
|
Holian and Ravelo <A HREF = "#Holian">(Holian)</A>.
|
2011-08-30 02:44:24 +08:00
|
|
|
</P>
|
2011-08-31 06:36:20 +08:00
|
|
|
<P>This potential is commonly used to study the shock mechanics
|
|
|
|
of FCC solids, as in Ravelo et al. <A HREF = "#Ravelo">(Ravelo)</A>.
|
2011-08-30 02:44:24 +08:00
|
|
|
</P>
|
2011-08-31 02:01:33 +08:00
|
|
|
<P>The following coefficients must be defined for each pair of atom
|
2011-08-30 02:44:24 +08:00
|
|
|
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the example
|
|
|
|
above, or in the data file or restart files read by the
|
|
|
|
<A HREF = "read_data.html">read_data</A> or <A HREF = "read_restart.html">read_restart</A>
|
|
|
|
commands, or by mixing as described below:
|
|
|
|
</P>
|
|
|
|
<UL><LI>epsilon (energy units)
|
|
|
|
<LI>sigma (distance units)
|
|
|
|
</UL>
|
|
|
|
<P>Note that sigma is defined in the LJ formula as the zero-crossing
|
|
|
|
distance for the potential, not as the energy minimum, which
|
2011-08-31 02:01:33 +08:00
|
|
|
is located at rmin = 2^(1/6)*sigma. In the above example, sigma = 0.8908987,
|
|
|
|
so rmin = 1.
|
2011-08-30 02:44:24 +08:00
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
2011-12-14 04:35:35 +08:00
|
|
|
<P>Styles with a <I>cuda</I>, <I>gpu</I>, <I>omp</I>, or <I>opt</I> suffix are functionally
|
|
|
|
the same as the corresponding style without the suffix. They have
|
|
|
|
been optimized to run faster, depending on your available hardware, as
|
|
|
|
discussed in <A HREF = "Section_accelerate.html">Section_accelerate</A> of the
|
|
|
|
manual. The accelerated styles take the same arguments and should
|
|
|
|
produce the same results, except for round-off and precision issues.
|
2011-10-07 01:32:51 +08:00
|
|
|
</P>
|
|
|
|
<P>These accelerated styles are part of the USER-CUDA, GPU, USER-OMP and OPT
|
|
|
|
packages, respectively. They are only enabled if LAMMPS was built with
|
|
|
|
those packages. See the <A HREF = "Section_start.html#start_3">Making LAMMPS</A>
|
|
|
|
section for more info.
|
|
|
|
</P>
|
|
|
|
<P>You can specify the accelerated styles explicitly in your input script
|
2012-01-28 07:39:14 +08:00
|
|
|
by including their suffix, or you can use the <A HREF = "Section_start.html#start_7">-suffix command-line
|
2011-10-07 01:32:51 +08:00
|
|
|
switch</A> when you invoke LAMMPS, or you can
|
|
|
|
use the <A HREF = "suffix.html">suffix</A> command in your input script.
|
|
|
|
</P>
|
2011-12-14 04:35:35 +08:00
|
|
|
<P>See <A HREF = "Section_accelerate.html">Section_accelerate</A> of the manual for
|
|
|
|
more instructions on how to use the accelerated styles effectively.
|
2011-10-07 01:32:51 +08:00
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
2011-08-30 02:44:24 +08:00
|
|
|
<P><B>Mixing, shift, table, tail correction, restart, rRESPA info</B>:
|
|
|
|
</P>
|
|
|
|
<P>For atom type pairs I,J and I != J, the epsilon and sigma coefficients
|
|
|
|
and cutoff distance for all of the lj/cut pair styles can be mixed.
|
|
|
|
The default mix value is <I>geometric</I>. See the "pair_modify" command
|
|
|
|
for details.
|
|
|
|
</P>
|
|
|
|
<P>The lj/cubic pair style does not support the
|
|
|
|
<A HREF = "pair_modify.html">pair_modify</A> shift option,
|
|
|
|
since pair interaction is already smoothed to 0.0 at the
|
|
|
|
cutoff.
|
|
|
|
</P>
|
|
|
|
<P>The <A HREF = "pair_modify.html">pair_modify</A> table option is not relevant
|
|
|
|
for this pair style.
|
|
|
|
</P>
|
|
|
|
<P>The lj/cubic pair style does not support the
|
|
|
|
<A HREF = "pair_modify.html">pair_modify</A> tail option for adding long-range tail
|
|
|
|
corrections to energy and pressure, since there are no corrections for
|
|
|
|
a potential that goes to 0.0 at the cutoff.
|
|
|
|
</P>
|
|
|
|
<P>The lj/cubic pair style writes its information to <A HREF = "restart.html">binary
|
|
|
|
restart files</A>, so pair_style and pair_coeff commands do
|
|
|
|
not need to be specified in an input script that reads a restart file.
|
|
|
|
</P>
|
|
|
|
<P>The lj/cubic pair 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>, <I>middle</I>, <I>outer</I> keywords.
|
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<P><B>Restrictions:</B> none
|
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "pair_coeff.html">pair_coeff</A>
|
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<A NAME = "Holian"></A>
|
|
|
|
|
2011-08-31 06:36:20 +08:00
|
|
|
<A NAME = "Ravelo"></A><B>(Holian)</B> Holian and Ravelo, Phys Rev B, 51, 11275 (1995).
|
|
|
|
|
|
|
|
|
|
|
|
<P><B>(Ravelo)</B> Ravelo, Holian, Germann and Lomdahl, Phys Rev B, 70, 014103 (2004).
|
2011-08-30 02:44:24 +08:00
|
|
|
</P>
|
|
|
|
</HTML>
|