Debian Codegraph @

examples/all_atom/force_field_AMBER/waterTIP3P+isobutane/run.in.npt

raw
1 # PREREQUISITES:
2 #
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,
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 # Weird LAMMPS issue:
13 # The "system.in.init" file contains definitions for bond, angle, dihedral,
14 # and improper interactions that were defined in the AMBER/GAFF2 force-field.
15 # But since the molecules in this example do not have any improper interactions,
16 # LAMMPS will crash. To get around this, tell LAMMPS to disable all
17 # improper interactions:
18
19 improper_style none
20
21
22 # ------------------------------- Atom Definition Section -------------------
23
24 read_data "system.data" # load atom coordinates and topology
25
26 # ------------------------------- Settings Section --------------------------
27
28 include "system.in.settings" # load the force field parameters
29
30 # ------------------------------- Run Section -------------------------------
31
32
33 # -- minimization protocol --
34
35 unfix fShakeTIP3P # Disable SHAKE during minimization and pressure equilibr
36
37 minimize 1.0e-4 1.0e-6 100000 400000
38
39
40 # -- simulation protocol --
41
42
43 timestep 1.0
44
45 thermo 100
46 #thermo_modify flush yes
47
48 dump 1 all custom 2000 traj_npt.lammpstrj id mol type x y z ix iy iz
49
50 thermo_style custom step temp ke pe etotal epair ebond eangle edihed press vol
51
52 fix fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0
53
54 run 50000
55
56 write_data "system_after_npt.data"