Unverified Commit 1203c2a1 authored by To Quy-Dong's avatar To Quy-Dong Committed by GitHub
Browse files

Add files via upload

parent 89f58836
Loading
Loading
Loading
Loading
+3 −0
Changes for src/USER-MISC/fix_wall_stochastic.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -96,6 +96,9 @@ FixWallStochastic::FixWallStochastic(LAMMPS *lmp, int narg, char **arg) :

      for (dir = 0; dir < 3; dir++) {
      wallvel[nwall][dir]= force->numeric(FLERR,arg[iarg+dir+3]);
      int dim = wallwhich[nwall] / 2;
      if ((wallvel[nwall][dir] !=0) & (dir == dim)) error->all(FLERR,"The wall velocity must be tangential");

       if (reflectionstyle == CERCIGNANILAMPIS) {
        wallaccom[nwall][dir]= force->numeric(FLERR,arg[iarg+dir+6]);
       } else if (reflectionstyle == MAXWELL) { 
+5 −5
Changes for src/USER-MISC/fix_wall_stochastic.h: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -57,23 +57,23 @@ Self-explanatory. Check the input script syntax and compare to the
documentation for the command.  You can use -echo screen as a
command-line option when running LAMMPS to see the offending line.

E: Wall defined twice in fix wall/diffusive command
E: Wall defined twice in fix wall/stochastic command

Self-explanatory.

E: Cannot use fix wall/diffusive in periodic dimension
E: Cannot use fix wall/stochastic in periodic dimension

Self-explanatory.

E: Cannot use fix wall/diffusive zlo/zhi for a 2d simulation
E: Cannot use fix wall/stochastic zlo/zhi for a 2d simulation

Self-explanatory.

E: Variable name for fix wall/diffusive does not exist
E: Variable name for fix wall/stochastic does not exist

Self-explanatory.

E: Variable for fix wall/diffusive is invalid style
E: Variable for fix wall/stochastic is invalid style

Only equal-style variables can be used.