From 6a0abc7bfb45fffad00d20d4efa838a49f95b94e Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 10 Mar 2014 15:21:49 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11609 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/Section_commands.html | 14 ++++---- doc/Section_commands.txt | 1 + doc/fix_oneway.html | 69 +++++++++++++++++++++++++++++++++++++++ doc/fix_oneway.txt | 60 ++++++++++++++++++++++++++++++++++ doc/fix_wall_reflect.html | 2 +- doc/fix_wall_reflect.txt | 2 +- 6 files changed, 139 insertions(+), 9 deletions(-) create mode 100644 doc/fix_oneway.html create mode 100644 doc/fix_oneway.txt diff --git a/doc/Section_commands.html b/doc/Section_commands.html index c8a3f4c630..b847c19c7e 100644 --- a/doc/Section_commands.html +++ b/doc/Section_commands.html @@ -399,13 +399,13 @@ of each style or click on the style itself for a full description: gldgravityheatindentlangevinlineforcemomentummove msstnebnphnphugnph/aspherenph/spherenptnpt/asphere npt/spherenvenve/aspherenve/asphere/noforcenve/bodynve/limitnve/linenve/noforce -nve/spherenve/trinvtnvt/aspherenvt/sllodnvt/sphereorient/fccplaneforce -poemspourpress/berendsenprintproperty/atomqeq/combreax/bondsrecenter -restrainrigidrigid/nphrigid/nptrigid/nverigid/nvtrigid/smallsetforce -shakespringspring/rgspring/selfsrdstore/forcestore/statetemp/berendsen -temp/csvrtemp/rescalethermal/conductivitytmdttmtune/kspacevectorviscosity -viscouswall/colloidwall/granwall/harmonicwall/lj1043wall/lj126wall/lj93wall/piston -wall/reflectwall/regionwall/srd +nve/spherenve/trinvtnvt/aspherenvt/sllodnvt/sphereonewayorient/fcc +planeforcepoemspourpress/berendsenprintproperty/atomqeq/combreax/bonds +recenterrestrainrigidrigid/nphrigid/nptrigid/nverigid/nvtrigid/small +setforceshakespringspring/rgspring/selfsrdstore/forcestore/state +temp/berendsentemp/csvrtemp/rescalethermal/conductivitytmdttmtune/kspacevector +viscosityviscouswall/colloidwall/granwall/harmonicwall/lj1043wall/lj126wall/lj93 +wall/pistonwall/reflectwall/regionwall/srd

These are fix styles contributed by users, which can be used if diff --git a/doc/Section_commands.txt b/doc/Section_commands.txt index b6251e6f92..56331a9e29 100644 --- a/doc/Section_commands.txt +++ b/doc/Section_commands.txt @@ -513,6 +513,7 @@ of each style or click on the style itself for a full description: "nvt/asphere"_fix_nvt_asphere.html, "nvt/sllod"_fix_nvt_sllod.html, "nvt/sphere"_fix_nvt_sphere.html, +"oneway"_fix_oneway.html, "orient/fcc"_fix_orient_fcc.html, "planeforce"_fix_planeforce.html, "poems"_fix_poems.html, diff --git a/doc/fix_oneway.html b/doc/fix_oneway.html new file mode 100644 index 0000000000..02f7a2d358 --- /dev/null +++ b/doc/fix_oneway.html @@ -0,0 +1,69 @@ + +

LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands +
+ + + + + + +
+ +

fix oneway command +

+

Syntax: +

+
fix ID group-ID N oneway region-ID direction 
+
+ +

Examples: +

+
fix ions 10 oneway semi -x
+fix all 1 oneway left -z
+fix all 1 oneway right z 
+
+

Description: +

+

Enforce that particles in the group and in a given region can only +move in one direction. This is done by reversing a particle's +velocity component, if it has the wrong sign in the specified +dimension. The effect is that the particle moves in one direction +only. +

+

This can be used, for example, as a simple model of a semi-permeable +membrane, or as an implementation of Maxwell's demon. +

+
+ +

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

+

No information about this fix is written to binary restart +files. None of the fix_modify options +are relevant to this fix. No global or per-atom quantities are stored +by this fix for access by various output +commands. No parameter of this fix can +be used with the start/stop keywords of the run command. +This fix is not invoked during energy minimization. +

+

Restrictions: none +

+

Related commands: +

+

fix wall/reflect command +

+

Default: none +

+
+ + diff --git a/doc/fix_oneway.txt b/doc/fix_oneway.txt new file mode 100644 index 0000000000..4f0b4ae279 --- /dev/null +++ b/doc/fix_oneway.txt @@ -0,0 +1,60 @@ +"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 oneway command :h3 + +[Syntax:] + +fix ID group-ID N oneway region-ID direction :pre + +ID, group-ID are documented in "fix"_fix.html command :ulb,l +oneway = style name of this fix command :l +N = apply this fix every this many timesteps :l +region-ID = ID of region where fix is active :l +direction = {x} or {-x} or {y} or {-y} or {z} or {-z} = coordinate and direction of the oneway constraint :l +:ule + +[Examples:] + +fix ions 10 oneway semi -x +fix all 1 oneway left -z +fix all 1 oneway right z :pre + +[Description:] + +Enforce that particles in the group and in a given region can only +move in one direction. This is done by reversing a particle's +velocity component, if it has the wrong sign in the specified +dimension. The effect is that the particle moves in one direction +only. + +This can be used, for example, as a simple model of a semi-permeable +membrane, or as an implementation of Maxwell's demon. + +:line + +[Restart, fix_modify, output, run start/stop, minimize info:] + +No information about this fix is written to "binary restart +files"_restart.html. None of the "fix_modify"_fix_modify.html options +are relevant to this fix. No global or per-atom quantities are stored +by this fix for access by various "output +commands"_Section_howto.html#howto_15. No parameter of this fix can +be used with the {start/stop} keywords of the "run"_run.html command. +This fix is not invoked during "energy minimization"_minimize.html. + +[Restrictions:] none + +[Related commands:] + +"fix wall/reflect"_fix_wall_reflect.html command + +[Default:] none + +:line + diff --git a/doc/fix_wall_reflect.html b/doc/fix_wall_reflect.html index 47fb6c1e86..8e87e80db5 100644 --- a/doc/fix_wall_reflect.html +++ b/doc/fix_wall_reflect.html @@ -161,7 +161,7 @@ error.

Related commands:

-

fix wall/lj93 command +

fix wall/lj93, fix oneway

Default: none

diff --git a/doc/fix_wall_reflect.txt b/doc/fix_wall_reflect.txt index 1087fe733d..df3a5481bc 100644 --- a/doc/fix_wall_reflect.txt +++ b/doc/fix_wall_reflect.txt @@ -150,7 +150,7 @@ error. [Related commands:] -"fix wall/lj93"_fix_wall.html command +"fix wall/lj93"_fix_wall.html, "fix oneway"_fix_oneway.html [Default:] none