Debian Codegraph @

examples/all_atom/force_field_OPLSAA/ethylene+benzene_PACKMOL/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"
11
12 # ------------------------------- Atom Definition Section -------------------
13
14 read_data "system.data"
15
16 # OPLSAA atom charges are stored in a separate file.
17 # Load that file now:
18
19 include "system.in.charges"
20
21 # ------------------------------- Settings Section --------------------------
22
23 include "system.in.settings"
24
25 # ------------------------------- Run Section -------------------------------
26
27
28 # -- minimization protocol --
29
30 minimize 1.0e-4 1.0e-6 100000 400000
31
32 # -- simulation protocol --
33
34 timestep 1.0
35
36 print "----------------------------------------------------------------"
37 print "--- Run a simulation using a Nose-Hoover Thermostat/Barostat ---"
38 print "----------------------------------------------------------------"
39 dump 1 all custom 1000 traj_npt.lammpstrj id mol type x y z ix iy iz
40 # temperature: 300 K, pressure: 150 atm
41 fix fxnpt all npt temp 300.0 300.0 100.0 iso 150.0 150.0 1000.0 drag 1.0
42 thermo 100
43 #thermo_modify flush yes
44
45 run 200000
46
47 write_data system_after_npt.data