Added group keywords to fix gcmc

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13454 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2015-05-08 17:28:15 +00:00
parent 5779fc4097
commit 4dff676396
2 changed files with 34 additions and 10 deletions

View File

@ -37,7 +37,7 @@
<LI>zero or more keyword/value pairs may be appended to args
<LI>keyword = <I>mol</I>, <I>region</I>, <I>maxangle</I>, <I>pressure</I>, <I>fugacity_coeff</I>, <I>full_energy</I>, or <I>charge</I>
<LI>keyword = <I>mol</I>, <I>region</I>, <I>maxangle</I>, <I>pressure</I>, <I>fugacity_coeff</I>, <I>full_energy</I>, <I>charge</I>, <I>group</I> or <I>grouptype</I>
<PRE> <I>mol</I> value = template-ID
template-ID = ID of molecule template specified in a separate <A HREF = "molecule.html">molecule</A> command
@ -46,10 +46,15 @@
<I>region</I> value = region-ID
region-ID = ID of region to use as an exchange/move volume
<I>maxangle</I> value = maximum molecular rotation angle (degrees)
<I>pressure</I> value = pressue of the gas reservoir (pressure units)
<I>pressure</I> value = pressure of the gas reservoir (pressure units)
<I>fugacity_coeff</I> value = fugacity coefficient of the gas reservoir (unitless)
<I>full_energy</I> = compute the entire system energy when performing MC moves
<I>charge</I> value = charge of inserted atoms (charge units)
<I>charge</I> value = charge of inserted atoms (charge units)
<I>group</I> value = group-ID
group-ID = group-ID for inserted atoms (string)
<I>grouptype</I> values = type group-ID
type = atom type (int)
group-ID = group-ID for inserted atoms (string)
</PRE>
</UL>
@ -85,9 +90,11 @@ translations are attempted 100% of the time. For MC exchanges of
either molecular or atomic gasses, deletions and insertions are each
attempted with 50% probability.
</P>
<P>All inserted particles are assigned to two groups: the default group
<P>All inserted particles are always assigned to two groups: the default group
"all" and the group specified in the fix gcmc command (which can also
be "all"). If inserted particles are individual atoms, they are
be "all"). In addition, particles are also added to any groups specified
by the <I>group</I> and <I>grouptype</I> keywords.
If inserted particles are individual atoms, they are
assigned the specified atom type. If they are molecules, the type of
each atom in the inserted molecule is specified in the file read by
the <A HREF = "molecule.html">molecule</A> command, and those values are added to
@ -231,6 +238,11 @@ derived from LJ paramters for argon, where h* = h/sqrt(sigma^2 *
epsilon * mass), sigma = 3.429 angstroms, epsilon/k = 121.85 K, and
mass = 39.948 amu.
</P>
<P>The <I>group</I> keyword assigns all inserted atoms to the <A HREF = "group.html">group</A>
the group-ID value. The <I>grouptype</I> keyword assigns all
inserted atoms of the specified type to the <A HREF = "group.html">group</A>
of the group-ID value.
</P>
<P><B>Restart, fix_modify, output, run start/stop, minimize info:</B>
</P>
<P>This fix writes the state of the fix to <A HREF = "restart.html">binary restart

View File

@ -23,7 +23,7 @@ T = temperature of the ideal gas reservoir (temperature units) :l
mu = chemical potential of the ideal gas reservoir (energy units) :l
displace = maximum Monte Carlo displacement distance (length units) :l
zero or more keyword/value pairs may be appended to args :l
keyword = {mol}, {region}, {maxangle}, {pressure}, {fugacity_coeff}, {full_energy}, or {charge} :l
keyword = {mol}, {region}, {maxangle}, {pressure}, {fugacity_coeff}, {full_energy}, {charge}, {group} or {grouptype} :l
{mol} value = template-ID
template-ID = ID of molecule template specified in a separate "molecule"_molecule.html command
{shake} value = fix-ID
@ -31,10 +31,15 @@ keyword = {mol}, {region}, {maxangle}, {pressure}, {fugacity_coeff}, {full_energ
{region} value = region-ID
region-ID = ID of region to use as an exchange/move volume
{maxangle} value = maximum molecular rotation angle (degrees)
{pressure} value = pressue of the gas reservoir (pressure units)
{pressure} value = pressure of the gas reservoir (pressure units)
{fugacity_coeff} value = fugacity coefficient of the gas reservoir (unitless)
{full_energy} = compute the entire system energy when performing MC moves
{charge} value = charge of inserted atoms (charge units) :pre
{charge} value = charge of inserted atoms (charge units)
{group} value = group-ID
group-ID = group-ID for inserted atoms (string)
{grouptype} values = type group-ID
type = atom type (int)
group-ID = group-ID for inserted atoms (string) :pre
:ule
[Examples:]
@ -69,9 +74,11 @@ translations are attempted 100% of the time. For MC exchanges of
either molecular or atomic gasses, deletions and insertions are each
attempted with 50% probability.
All inserted particles are assigned to two groups: the default group
All inserted particles are always assigned to two groups: the default group
"all" and the group specified in the fix gcmc command (which can also
be "all"). If inserted particles are individual atoms, they are
be "all"). In addition, particles are also added to any groups specified
by the {group} and {grouptype} keywords.
If inserted particles are individual atoms, they are
assigned the specified atom type. If they are molecules, the type of
each atom in the inserted molecule is specified in the file read by
the "molecule"_molecule.html command, and those values are added to
@ -215,6 +222,11 @@ derived from LJ paramters for argon, where h* = h/sqrt(sigma^2 *
epsilon * mass), sigma = 3.429 angstroms, epsilon/k = 121.85 K, and
mass = 39.948 amu.
The {group} keyword assigns all inserted atoms to the "group"_group.html
the group-ID value. The {grouptype} keyword assigns all
inserted atoms of the specified type to the "group"_group.html
of the group-ID value.
[Restart, fix_modify, output, run start/stop, minimize info:]
This fix writes the state of the fix to "binary restart