lammps/doc/fix_wall_colloid.txt

90 lines
3.2 KiB
Plaintext

"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)
:line
fix wall/colloid command :h3
[Syntax:]
fix ID group-ID wall/colloid style coord A sigma cutoff :pre
ID, group-ID are documented in "fix"_fix.html command
wall/colloid = style name of this fix command
style = {xlo} or {xhi} or {ylo} or {yhi} or {zlo} or {zhi}
coord = position of wall (distance units)
A = Hamaker constant for colloid-wall interactions (energy units)
sigma = size of constituent LJ particle that integration is done over (distance units)
cutoff = distance from wall at which wall-particle interaction is cut off (distance units) :ul
[Examples:]
fix wallhi all wall/colloid xhi 10.0 20.0 1.0 2.5
fix leftwall all wall/colloid zlo 0.0 10.0 1.0 0.858 :pre
[Description:]
Bound the simulation domain on one of its faces with a wall of
Lennard-Jones particles that interacts with finite-size colloidal
particles in the group. The energy E of wall-colloid interactions is
given by an integrated form of the "pair_style
colloid"_pair_colloid.html potential
:c,image(Eqs/fix_wall_colloid.jpg)
where A is the specified Hamaker constant for the colloid-wall
interaction, {r} is the distance from the center of the particle to
the wall {coord}, {R} is the radius of the colloid particle, {D} is
the distance from the surface of the colloid particle to the wall
(r-R), sigma is the size of the constituent LJ particle integrated
over as described below, and Rc is the cutoff value specified in the
fix command and is the distance from the particle center to the wall.
This colloid/wall interaction is derived by integrating over both the
constituent LJ particles in the colloid particle and a 3d half-lattice
of Lennard-Jones 12-6 particles in the wall.
The wall potential is shifted so that the energy of a wall-particle
interaction is 0.0 at the cutoff distance.
[Restart, fix_modify, output, run start/stop, minimize info:]
No information about this fix is written to "binary restart
files"_restart.html.
The "fix_modify"_fix_modify.html {energy} option is supported by this
fix to add the energy of interaction between atoms and the wall to the
system's potential energy as part of "thermodynamic
output"_thermo_style.html.
This fix computes a scalar energy and a 3-vector of forces (on the
wall), which can be accessed by various "output
commands"_Section_howto.html#4_15. The scalar and vector values
calculated by this fix are "extensive", meaning they scale with the
number of atoms in the simulation.
No parameter of this fix can be used with the {start/stop} keywords of
the "run"_run.html command.
The forces due to this fix are imposed during an energy minimization,
invoked by the "minimize"_minimize.html command.
IMPORTANT NOTE: If you want the atom/wall interaction energy to be
included in the total potential energy of the system (the quantity
being minimized), you MUST enable the "fix_modify"_fix_modify.html
{energy} option for this fix.
[Restrictions:]
Any dimension (xyz) that has a colloid wall must be non-periodic.
[Related commands:]
"fix wall/lj93"_fix_wall_lj93.html, "pair_style
colloid"_pair_colloid.html
[Default:] none