git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13569 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-07-13 15:17:57 +00:00
parent ac35671f8a
commit 6606a836f8
2 changed files with 12 additions and 8 deletions

View File

@ -64,10 +64,12 @@ are considered. The hottest Nswap atoms in layer 1 are selected.
Similarly, the coldest Nswap atoms in the "middle" layer (see below)
are selected. The two sets of Nswap atoms are paired up and their
velocities are exchanged. This effectively swaps their kinetic
energies, assuming their masses are the same. Over time, this induces
a temperature gradient in the system which can be measured using
commands such as the following, which writes the temperature profile
(assuming z = edim) to the file tmp.profile:
energies, assuming their masses are the same. If the masses are
different, an exchange of velocities relative to center of mass motion
of the 2 atoms is performed, to conserve kinetic energy. Over time,
this induces a temperature gradient in the system which can be
measured using commands such as the following, which writes the
temperature profile (assuming z = edim) to the file tmp.profile:
</P>
<PRE>compute ke all ke/atom
variable temp atom c_ke/1.5

View File

@ -54,10 +54,12 @@ are considered. The hottest Nswap atoms in layer 1 are selected.
Similarly, the coldest Nswap atoms in the "middle" layer (see below)
are selected. The two sets of Nswap atoms are paired up and their
velocities are exchanged. This effectively swaps their kinetic
energies, assuming their masses are the same. Over time, this induces
a temperature gradient in the system which can be measured using
commands such as the following, which writes the temperature profile
(assuming z = edim) to the file tmp.profile:
energies, assuming their masses are the same. If the masses are
different, an exchange of velocities relative to center of mass motion
of the 2 atoms is performed, to conserve kinetic energy. Over time,
this induces a temperature gradient in the system which can be
measured using commands such as the following, which writes the
temperature profile (assuming z = edim) to the file tmp.profile:
compute ke all ke/atom
variable temp atom c_ke/1.5