git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13798 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1,297 +1,126 @@
|
||||
<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>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>compute centro/atom command — LAMMPS 15 May 2015 version documentation</title>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="_static/sphinxcontrib-images/LightBox2/lightbox2/css/lightbox.css" type="text/css" />
|
||||
|
||||
|
||||
|
||||
<link rel="top" title="LAMMPS 15 May 2015 version documentation" href="index.html"/>
|
||||
|
||||
|
||||
<script src="_static/js/modernizr.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav" role="document">
|
||||
|
||||
<div class="wy-grid-for-nav">
|
||||
|
||||
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||||
<div class="wy-side-nav-search">
|
||||
|
||||
|
||||
|
||||
<a href="Manual.html" class="icon icon-home"> LAMMPS
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||||
<input type="text" name="q" placeholder="Search docs" />
|
||||
<input type="hidden" name="check_keywords" value="yes" />
|
||||
<input type="hidden" name="area" value="default" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||
|
||||
|
||||
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_intro.html">1. Introduction</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_start.html">2. Getting Started</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_commands.html">3. Commands</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_packages.html">4. Packages</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_accelerate.html">5. Accelerating LAMMPS performance</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_howto.html">6. How-to discussions</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_example.html">7. Example problems</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_perf.html">8. Performance & scalability</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_tools.html">9. Additional tools</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_modify.html">10. Modifying & extending LAMMPS</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_python.html">11. Python interface to LAMMPS</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_errors.html">12. Errors</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="Section_history.html">13. Future and history</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
|
||||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||||
|
||||
|
||||
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
||||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||||
<a href="Manual.html">LAMMPS</a>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="wy-nav-content">
|
||||
<div class="rst-content">
|
||||
<div role="navigation" aria-label="breadcrumbs navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="Manual.html">Docs</a> »</li>
|
||||
|
||||
<li>compute centro/atom command</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
|
||||
|
||||
<a href="http://lammps.sandia.gov">Website</a>
|
||||
<a href="Section_commands.html#comm">Commands</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
|
||||
</div>
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<div class="section" id="compute-centro-atom-command">
|
||||
<span id="index-0"></span><h1>compute centro/atom command<a class="headerlink" href="#compute-centro-atom-command" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="syntax">
|
||||
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python"><div class="highlight"><pre>compute ID group-ID centro/atom lattice
|
||||
</pre></div>
|
||||
</div>
|
||||
<ul class="simple">
|
||||
<li>ID, group-ID are documented in <a class="reference internal" href="compute.html"><em>compute</em></a> command</li>
|
||||
<li>centro/atom = style name of this compute command</li>
|
||||
<li>lattice = <em>fcc</em> or <em>bcc</em> or N = # of neighbors per atom to include</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="examples">
|
||||
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python"><div class="highlight"><pre>compute 1 all centro/atom fcc
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="highlight-python"><div class="highlight"><pre>compute 1 all centro/atom 8
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="description">
|
||||
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Define a computation that calculates the centro-symmetry parameter for
|
||||
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>compute centro/atom command
|
||||
</H3>
|
||||
<P><B>Syntax:</B>
|
||||
</P>
|
||||
<PRE>compute ID group-ID centro/atom lattice
|
||||
</PRE>
|
||||
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
||||
<LI>centro/atom = style name of this compute command
|
||||
<LI>lattice = <I>fcc</I> or <I>bcc</I> or N = # of neighbors per atom to include
|
||||
</UL>
|
||||
<P><B>Examples:</B>
|
||||
</P>
|
||||
<PRE>compute 1 all centro/atom fcc
|
||||
</PRE>
|
||||
<PRE>compute 1 all centro/atom 8
|
||||
</PRE>
|
||||
<P><B>Description:</B>
|
||||
</P>
|
||||
<P>Define a computation that calculates the centro-symmetry parameter for
|
||||
each atom in the group. In solid-state systems the centro-symmetry
|
||||
parameter is a useful measure of the local lattice disorder around an
|
||||
atom and can be used to characterize whether the atom is part of a
|
||||
perfect lattice, a local defect (e.g. a dislocation or stacking
|
||||
fault), or at a surface.</p>
|
||||
<p>The value of the centro-symmetry parameter will be 0.0 for atoms not
|
||||
in the specified compute group.</p>
|
||||
<p>This parameter is computed using the following formula from
|
||||
<a class="reference internal" href="#kelchner"><span>(Kelchner)</span></a></p>
|
||||
<img alt="_images/centro_symmetry.jpg" class="align-center" src="_images/centro_symmetry.jpg" />
|
||||
<p>where the <em>N</em> nearest neighbors or each atom are identified and Ri and
|
||||
fault), or at a surface.
|
||||
</P>
|
||||
<P>The value of the centro-symmetry parameter will be 0.0 for atoms not
|
||||
in the specified compute group.
|
||||
</P>
|
||||
<P>This parameter is computed using the following formula from
|
||||
<A HREF = "#Kelchner">(Kelchner)</A>
|
||||
</P>
|
||||
<CENTER><IMG SRC = "Eqs/centro_symmetry.jpg">
|
||||
</CENTER>
|
||||
<P>where the <I>N</I> nearest neighbors or each atom are identified and Ri and
|
||||
Ri+N/2 are vectors from the central atom to a particular pair of
|
||||
nearest neighbors. There are N*(N-1)/2 possible neighbor pairs that
|
||||
can contribute to this formula. The quantity in the sum is computed
|
||||
for each, and the N/2 smallest are used. This will typically be for
|
||||
pairs of atoms in symmetrically opposite positions with respect to the
|
||||
central atom; hence the i+N/2 notation.</p>
|
||||
<p><em>N</em> is an input parameter, which should be set to correspond to the
|
||||
central atom; hence the i+N/2 notation.
|
||||
</P>
|
||||
<P><I>N</I> is an input parameter, which should be set to correspond to the
|
||||
number of nearest neighbors in the underlying lattice of atoms. If
|
||||
the keyword <em>fcc</em> or <em>bcc</em> is used, <em>N</em> is set to 12 and 8
|
||||
respectively. More generally, <em>N</em> can be set to a positive, even
|
||||
integer.</p>
|
||||
<p>For an atom on a lattice site, surrounded by atoms on a perfect
|
||||
the keyword <I>fcc</I> or <I>bcc</I> is used, <I>N</I> is set to 12 and 8
|
||||
respectively. More generally, <I>N</I> can be set to a positive, even
|
||||
integer.
|
||||
</P>
|
||||
<P>For an atom on a lattice site, surrounded by atoms on a perfect
|
||||
lattice, the centro-symmetry parameter will be 0. It will be near 0
|
||||
for small thermal perturbations of a perfect lattice. If a point
|
||||
defect exists, the symmetry is broken, and the parameter will be a
|
||||
larger positive value. An atom at a surface will have a large
|
||||
positive parameter. If the atom does not have <em>N</em> neighbors (within
|
||||
positive parameter. If the atom does not have <I>N</I> neighbors (within
|
||||
the potential cutoff), then its centro-symmetry parameter is set to
|
||||
0.0.</p>
|
||||
<p>Only atoms within the cutoff of the pairwise neighbor list are
|
||||
0.0.
|
||||
</P>
|
||||
<P>Only atoms within the cutoff of the pairwise neighbor list are
|
||||
considered as possible neighbors. Atoms not in the compute group are
|
||||
included in the <em>N</em> neighbors used in this calculation.</p>
|
||||
<p>The neighbor list needed to compute this quantity is constructed each
|
||||
included in the <I>N</I> neighbors used in this calculation.
|
||||
</P>
|
||||
<P>The neighbor list needed to compute this quantity is constructed each
|
||||
time the calculation is performed (e.g. each time a snapshot of atoms
|
||||
is dumped). Thus it can be inefficient to compute/dump this quantity
|
||||
too frequently or to have multiple compute/dump commands, each with a
|
||||
<em>centro/atom</em> style.</p>
|
||||
<p><strong>Output info:</strong></p>
|
||||
<p>This compute calculates a per-atom vector, which can be accessed by
|
||||
<I>centro/atom</I> style.
|
||||
</P>
|
||||
<P><B>Output info:</B>
|
||||
</P>
|
||||
<P>This compute calculates a per-atom vector, which can be accessed by
|
||||
any command that uses per-atom values from a compute as input. See
|
||||
<a class="reference internal" href="Section_howto.html#howto-15"><span>Section_howto 15</span></a> for an overview of
|
||||
LAMMPS output options.</p>
|
||||
<p>The per-atom vector values are unitless values >= 0.0. Their
|
||||
<A HREF = "Section_howto.html#howto_15">Section_howto 15</A> for an overview of
|
||||
LAMMPS output options.
|
||||
</P>
|
||||
<P>The per-atom vector values are unitless values >= 0.0. Their
|
||||
magnitude depends on the lattice style due to the number of
|
||||
contibuting neighbor pairs in the summation in the formula above. And
|
||||
it depends on the local defects surrounding the central atom, as
|
||||
described above.</p>
|
||||
<p>Here are typical centro-symmetry values, from a a nanoindentation
|
||||
described above.
|
||||
</P>
|
||||
<P>Here are typical centro-symmetry values, from a a nanoindentation
|
||||
simulation into gold (FCC). These were provided by Jon Zimmerman
|
||||
(Sandia):</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre>Bulk lattice = 0
|
||||
(Sandia):
|
||||
</P>
|
||||
<PRE>Bulk lattice = 0
|
||||
Dislocation core ~ 1.0 (0.5 to 1.25)
|
||||
Stacking faults ~ 5.0 (4.0 to 6.0)
|
||||
Free surface ~ 23.0
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>These values are <em>not</em> normalized by the square of the lattice
|
||||
parameter. If they were, normalized values would be:</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre>Bulk lattice = 0
|
||||
Free surface ~ 23.0
|
||||
</PRE>
|
||||
<P>These values are *not* normalized by the square of the lattice
|
||||
parameter. If they were, normalized values would be:
|
||||
</P>
|
||||
<PRE>Bulk lattice = 0
|
||||
Dislocation core ~ 0.06 (0.03 to 0.075)
|
||||
Stacking faults ~ 0.3 (0.24 to 0.36)
|
||||
Free surface ~ 1.38
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>For BCC materials, the values for dislocation cores and free surfaces
|
||||
Free surface ~ 1.38
|
||||
</PRE>
|
||||
<P>For BCC materials, the values for dislocation cores and free surfaces
|
||||
would be somewhat different, due to their being only 8 neighbors instead
|
||||
of 12.</p>
|
||||
</div>
|
||||
<div class="section" id="restrictions">
|
||||
<h2>Restrictions<a class="headerlink" href="#restrictions" title="Permalink to this headline">¶</a></h2>
|
||||
<blockquote>
|
||||
<div>none</div></blockquote>
|
||||
</div>
|
||||
<div class="section" id="related-commands">
|
||||
<h2>Related commands<a class="headerlink" href="#related-commands" title="Permalink to this headline">¶</a></h2>
|
||||
<p><a class="reference internal" href="compute_cna_atom.html"><em>compute cna/atom</em></a></p>
|
||||
<p><strong>Default:</strong> none</p>
|
||||
<hr class="docutils" />
|
||||
<p id="kelchner"><strong>(Kelchner)</strong> Kelchner, Plimpton, Hamilton, Phys Rev B, 58, 11085 (1998).</p>
|
||||
</div>
|
||||
</div>
|
||||
of 12.
|
||||
</P>
|
||||
<P><B>Restrictions:</B> none
|
||||
</P>
|
||||
<P><B>Related commands:</B>
|
||||
</P>
|
||||
<P><A HREF = "compute_cna_atom.html">compute cna/atom</A>
|
||||
</P>
|
||||
<P><B>Default:</B> none
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
<A NAME = "Kelchner"></A>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>
|
||||
© Copyright .
|
||||
</p>
|
||||
</div>
|
||||
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>.
|
||||
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT:'./',
|
||||
VERSION:'15 May 2015 version',
|
||||
COLLAPSE_INDEX:false,
|
||||
FILE_SUFFIX:'.html',
|
||||
HAS_SOURCE: true
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="_static/jquery.js"></script>
|
||||
<script type="text/javascript" src="_static/underscore.js"></script>
|
||||
<script type="text/javascript" src="_static/doctools.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
<script type="text/javascript" src="_static/sphinxcontrib-images/LightBox2/lightbox2/js/jquery-1.11.0.min.js"></script>
|
||||
<script type="text/javascript" src="_static/sphinxcontrib-images/LightBox2/lightbox2/js/lightbox.min.js"></script>
|
||||
<script type="text/javascript" src="_static/sphinxcontrib-images/LightBox2/lightbox2-customize/jquery-noconflict.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="_static/js/theme.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(function () {
|
||||
SphinxRtdTheme.StickyNav.enable();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<P><B>(Kelchner)</B> Kelchner, Plimpton, Hamilton, Phys Rev B, 58, 11085 (1998).
|
||||
</P>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user