3
# You must use moltemplate.sh to create 3 files:
4
# system.data system.in.init system.in.settings
5
# (Follow the instructions in README_setup.sh, or run it using ./README_sh.)
7
# ------------------------------- Initialization Section --------------------
11
# ------------------------------- Atom Definition Section -------------------
15
# ------------------------------- Settings Section --------------------------
17
include system.in.settings
19
# ------------------------------- Run Section -------------------------------
22
# -- minimization protocol --
24
# Note: The minimization step is not necessary in this example. However
25
# in general, it's always a good idea to minimize the system beforehand.
26
# fShakeSPCE was defined in system.in.settings. It is incompatible with "minimize".
28
minimize 1.0e-3 1.0e-5 100000 400000
29
# Now read "system.in.settings" in order to redefine fShakeSPCE again:
30
include system.in.settings
32
# -- simulation protocol --
36
dump 1 all custom 200 traj_npt.lammpstrj id mol type x y z ix iy iz
37
fix fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0
42
# Now that the system's temperature has become more equilibrated,
43
# we can increase the timestep:
48
write_data system_after_npt.data