Debian Codegraph @

examples/all_atom/force_field_OPLSAA/waterTIP3P+methane/run.in.npt

raw
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 # (Follow the instructions in README_setup.sh,
6 # or run the file as a script using ./README_setup.sh)
7 #
8 # ------------------------------- Initialization Section --------------------
9
10 include "system.in.init" # specify the style of force field used
11
12 # ------------------------------- Atom Definition Section -------------------
13
14 read_data "system.data"
15
16 # ------------------------------- Settings Section --------------------------
17
18 include "system.in.settings" # load the force field parameters
19 include "system.in.charges" # load the charge of each atom
20
21 # ------------------------------- Run Section -------------------------------
22
23
24 # -- minimization protocol --
25
26 unfix fShakeTIP3P # Disable SHAKE during minimization and pressure equilibr
27
28 minimize 1.0e-4 1.0e-6 100000 400000
29
30 # Optional: write the coordinates after minimization
31 write_data "system_after_min.data"
32
33
34 # -- simulation protocol --
35
36
37 timestep 1.0
38 dump 1 all custom 5000 traj_npt.lammpstrj id mol type x y z ix iy iz
39
40
41 # Turn on the barostat and thermostat
42 fix fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0
43
44 thermo 100
45
46 run 100000
47
48 write_data "system_after_npt.data"