| 1 |
# PREREQUISITES: |
| 2 |
# |
| 3 |
# You must use moltemplate.sh to create 4 files: |
| 4 |
# system.data system.in.init system.in.settings system.in.charges |
| 5 |
# (See README_setup.sh for details.) |
| 6 |
|
| 7 |
# ------------------------------- Initialization Section -------------------- |
| 8 |
|
| 9 |
include system.in.init |
| 10 |
|
| 11 |
# ------------------------------- Atom Definition Section ------------------- |
| 12 |
|
| 13 |
read_data system.data |
| 14 |
|
| 15 |
# ------------------------------- Settings Section -------------------------- |
| 16 |
|
| 17 |
include system.in.settings |
| 18 |
|
| 19 |
# ------------------------------- Run Section ------------------------------- |
| 20 |
|
| 21 |
|
| 22 |
# -- files containing trajectory data and other information -- |
| 23 |
|
| 24 |
thermo_style custom step temp pe etotal epair ebond eangle edihed |
| 25 |
thermo_modify norm yes |
| 26 |
thermo 100 |
| 27 |
dump 1 all custom 1000 traj_min.lammpstrj id mol type x y z ix iy iz |
| 28 |
|
| 29 |
# -- minimization protocol -- |
| 30 |
|
| 31 |
timestep 0.05 |
| 32 |
|
| 33 |
group gRigid union gH2O gH2O |
| 34 |
group gFlexible subtract all gRigid |
| 35 |
|
| 36 |
fix fxRigid gH2O rigid/nve/small molecule |
| 37 |
fix fxFlexible gFlexible nve/limit 0.0001 |
| 38 |
fix fxLanvegin all langevin 298 0 10.0 48279 |
| 39 |
|
| 40 |
run 10000 |
| 41 |
|
| 42 |
|
| 43 |
write_data system_after_min.data |