Skip to content

Commit

Permalink
addressed the concerns of issue #98 (confusing example explanation)
Browse files Browse the repository at this point in the history
  • Loading branch information
jewettaij committed Dec 4, 2024
1 parent 8d8e112 commit 092e533
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
11 changes: 10 additions & 1 deletion examples/all_atom/force_field_AMBER/hexadecane/run.in.npt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ include system.in.settings

# ------------------------------- Run Section -------------------------------

# To avvoid explosions, I have a 4-step equilibraion process (expand, minimize,
# Explanation.
# Unless you use packmol (or some other geometry generation program),
# the initial geometry created by moltemplate using a lattice is
# extremely unrealistic for a liquid, and likely to put the system
# a kinetic trap (local minimum). So this example uses high temperatures
# to completely obliterate any memory of that initial lattice shape.
# Then it uses a combination of high pressures and cooling to bring
# the system back down to a temperature and density of a liquid at 1atm, 300K.

# I am using a 4-step equilibraion process (expand, minimize,
# reorient, compress). The system (as defined in the "system.data" file)
# is already expanded. That means there are 3 steps left:

Expand Down
11 changes: 10 additions & 1 deletion examples/all_atom/force_field_COMPASS/hexadecane/run.in.npt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ include system.in.charges

# ------------------------------- Run Section -------------------------------

# To avoid explosions, I have a 4-step equilibraion process (expand, minimize,
# Explanation.
# Unless you use packmol (or some other geometry generation program),
# the initial geometry created by moltemplate using a lattice is
# extremely unrealistic for a liquid, and likely to put the system
# a kinetic trap (local minimum). So this example uses high temperatures
# to completely obliterate any memory of that initial lattice shape.
# Then it uses a combination of high pressures and cooling to bring
# the system back down to a temperature and density of a liquid at 1atm, 300K.

# I am using a 4-step equilibraion process (expand, minimize,
# reorient, compress). The system (as defined in the "system.data" file)
# is already expanded. That means there are 3 steps left:

Expand Down
13 changes: 11 additions & 2 deletions examples/all_atom/force_field_OPLSAA/hexadecane/run.in.npt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ include system.in.charges

# ------------------------------- Run Section -------------------------------

# To avoid explosions, I have a 4-step equilibraion process (expand, minimize,
# Explanation.
# Unless you use packmol (or some other geometry generation program),
# the initial geometry created by moltemplate using a lattice is
# extremely unrealistic for a liquid, and likely to put the system
# a kinetic trap (local minimum). So this example uses high temperatures
# to completely obliterate any memory of that initial lattice shape.
# Then it uses a combination of high pressures and cooling to bring
# the system back down to a temperature and density of a liquid at 1atm, 300K.

# I am using a 4-step equilibraion process (expand, minimize,
# reorient, compress). The system (as defined in the "system.data" file)
# is already expanded. That means there are 3 steps left:

Expand Down Expand Up @@ -49,7 +58,7 @@ dump dumpeq2 all custom 200 traj_eq2_reorient.lammpstrj id mol type x y z ix iy
# using fix langevin (and fix nve). Then I switch to fix nvt (Nose-Hoover).
# (If I start with fix nvt (Nose-Hoover), it seems to get "stuck" for a while.)

# Give each atom a random initial velocity consistent with a system at 300K.
# Give each atom a random initial velocity consistent with a system at 900K.
velocity all create 900.0 12345

# Run a short simulation using a Langevin thermostat.
Expand Down

0 comments on commit 092e533

Please sign in to comment.