From 787ae9235a2804c0f83b1cb3e4bc793f8ecb149a Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 18 Nov 2009 15:22:46 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3430 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/fix_ave_atom.html | 2 ++ doc/fix_ave_atom.txt | 2 ++ doc/fix_wall.html | 40 +++++++++++++++++++++++++--------------- doc/fix_wall.txt | 40 +++++++++++++++++++++++++--------------- 4 files changed, 54 insertions(+), 30 deletions(-) diff --git a/doc/fix_ave_atom.html b/doc/fix_ave_atom.html index 41577cc1f9..7fdcd96c2a 100644 --- a/doc/fix_ave_atom.html +++ b/doc/fix_ave_atom.html @@ -121,6 +121,8 @@ been previously defined in the input script. Variables of style fixes, or variables when they are evaluated, so this is a very general means of generating per-atom quantities to time average.

+
+

Restart, fix_modify, output, run start/stop, minimize info:

No information about this fix is written to binary restart diff --git a/doc/fix_ave_atom.txt b/doc/fix_ave_atom.txt index 5eba18043d..77b22fa2d1 100644 --- a/doc/fix_ave_atom.txt +++ b/doc/fix_ave_atom.txt @@ -110,6 +110,8 @@ been previously defined in the input script. Variables of style fixes, or variables when they are evaluated, so this is a very general means of generating per-atom quantities to time average. +:line + [Restart, fix_modify, output, run start/stop, minimize info:] No information about this fix is written to "binary restart diff --git a/doc/fix_wall.html b/doc/fix_wall.html index c0638b4e6d..c99fd36676 100644 --- a/doc/fix_wall.html +++ b/doc/fix_wall.html @@ -25,7 +25,7 @@

  • one or more keyword/value pairs may be appended -
  • keyword = xlo or xhi or ylo or yhi or zlo or zhi or vel or wiggle +
  • keyword = xlo or xhi or ylo or yhi or zlo or zhi or vel or wiggle/sin or wiggle/cos
      xlo, xhi, ylo, yhi, zlo, zhi values = coord epsilon sigma cutoff
         coord = position of wall (distance units)
    @@ -108,23 +108,33 @@ each wall moves outward, away from the center of the box.  If you want
     different walls to move with different velocities, then you need to
     use multiple fix wall commands.
     

    -

    If the wiggle keyword is specified, the position of all walls will -oscillate sinusoidally during the simulation in the perpendicular +

    If the wiggle/sin keyword is specified, the position of all walls +will oscillate sinusoidally during the simulation in the perpendicular direction, according to the equation:

    -
    position = pos0 + A sin (omega * delta) 
    +
    position = pos0 + A sin(omega*delta) 
     
    -

    where pos0 is the position at the beginning of the simulation, A -is the amplitude, omega is 2 PI / period, and delta is the -time elapsed since the beginning of the simulation. See the note -below about making a wall oscillate continuously across multiple runs. -A positive amplitude means each wall initially moves inward, towards -the center of the box. I.e. an xlo wall will move initially in the -+x direction and an xhi wall will move initially in the -x -direction. A negative velocity means each wall moves initially -outward, away from the center of the box. If you want different walls -to oscillate with different amplitudes or periods, then you need to -use multiple fix wall commands. +

    If the wiggle/cos keyword is specified, the position of all walls +will oscillate sinusoidally during the simulation in the perpendicular +direction, according to the equation: +

    +
    position = pos0 + A (1 - cos(omega*delta)) 
    +
    +

    In both cases, pos0 is the position at the beginning of the +simulation, A is the amplitude, omega is 2 PI / period, and +delta is the time elapsed since the beginning of the simulation. +See the note below about making a wall oscillate continuously across +multiple runs. A positive amplitude means each wall initially moves +inward, towards the center of the box. I.e. an xlo wall will move +initially in the +x direction and an xhi wall will move initially in +the -x direction. A negative velocity means each wall moves initially +outward, away from the center of the box. Note that the wiggle/sin +option oscillates with amplitude A around the pos0 position and the +velocity of the wall is a maximum at time 0. By contrast, for the +wiggle/cos option the wall moves up to 2A away from pos0 in one +direction and the velocity of the wall is 0 at time 0. If you want +different walls to oscillate with different amplitudes or periods, +then you need to use multiple fix wall commands.

    Restart, fix_modify, output, run start/stop, minimize info:

    diff --git a/doc/fix_wall.txt b/doc/fix_wall.txt index 5894ba8256..a1e84dfe08 100644 --- a/doc/fix_wall.txt +++ b/doc/fix_wall.txt @@ -17,7 +17,7 @@ fix ID group-ID style keyword values ... :pre ID, group-ID are documented in "fix"_fix.html command :ulb,l style = {wall/lj93} or {wall/lj126} or {wall/colloid} :l one or more keyword/value pairs may be appended :l -keyword = {xlo} or {xhi} or {ylo} or {yhi} or {zlo} or {zhi} or {vel} or {wiggle} :l +keyword = {xlo} or {xhi} or {ylo} or {yhi} or {zlo} or {zhi} or {vel} or {wiggle/sin} or {wiggle/cos} :l {xlo}, {xhi}, {ylo}, {yhi}, {zlo}, {zhi} values = coord epsilon sigma cutoff coord = position of wall (distance units) epsilon = strength factor for wall-particle interaction (energy units) @@ -98,23 +98,33 @@ each wall moves outward, away from the center of the box. If you want different walls to move with different velocities, then you need to use multiple fix wall commands. -If the {wiggle} keyword is specified, the position of all walls will -oscillate sinusoidally during the simulation in the perpendicular +If the {wiggle/sin} keyword is specified, the position of all walls +will oscillate sinusoidally during the simulation in the perpendicular direction, according to the equation: -position = pos0 + A sin (omega * delta) :pre +position = pos0 + A sin(omega*delta) :pre -where {pos0} is the position at the beginning of the simulation, {A} -is the {amplitude}, {omega} is 2 PI / {period}, and {delta} is the -time elapsed since the beginning of the simulation. See the note -below about making a wall oscillate continuously across multiple runs. -A positive amplitude means each wall initially moves inward, towards -the center of the box. I.e. an {xlo} wall will move initially in the -+x direction and an {xhi} wall will move initially in the -x -direction. A negative velocity means each wall moves initially -outward, away from the center of the box. If you want different walls -to oscillate with different amplitudes or periods, then you need to -use multiple fix wall commands. +If the {wiggle/cos} keyword is specified, the position of all walls +will oscillate sinusoidally during the simulation in the perpendicular +direction, according to the equation: + +position = pos0 + A (1 - cos(omega*delta)) :pre + +In both cases, {pos0} is the position at the beginning of the +simulation, {A} is the {amplitude}, {omega} is 2 PI / {period}, and +{delta} is the time elapsed since the beginning of the simulation. +See the note below about making a wall oscillate continuously across +multiple runs. A positive amplitude means each wall initially moves +inward, towards the center of the box. I.e. an {xlo} wall will move +initially in the +x direction and an {xhi} wall will move initially in +the -x direction. A negative velocity means each wall moves initially +outward, away from the center of the box. Note that the {wiggle/sin} +option oscillates with amplitude {A} around the pos0 position and the +velocity of the wall is a maximum at time 0. By contrast, for the +{wiggle/cos} option the wall moves up to {2A} away from pos0 in one +direction and the velocity of the wall is 0 at time 0. If you want +different walls to oscillate with different amplitudes or periods, +then you need to use multiple fix wall commands. [Restart, fix_modify, output, run start/stop, minimize info:]