~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/force_field_OPLSAA/waterSPCE+methane/run.in.npt

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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"
 
11
 
 
12
# ------------------------------- Atom Definition Section -------------------
 
13
 
 
14
read_data       "system.data"
 
15
 
 
16
# ------------------------------- Settings Section --------------------------
 
17
 
 
18
include         "system.in.settings"
 
19
include         "system.in.charges"
 
20
 
 
21
 
 
22
# ------------------------------- Run Section -------------------------------
 
23
 
 
24
 
 
25
# -- minimization protocol --
 
26
 
 
27
# Note: The minimization step is not necessary in this example.  However
 
28
#       in general, it's always a good idea to minimize the system beforehand.
 
29
#       (The "fShakeSPCE" fix was defined in system.in.settings. 
 
30
#        It is incompatible with "minimize", so we disable it first.)
 
31
unfix         fShakeSPCE
 
32
thermo        50
 
33
minimize 1.0e-4 1.0e-6 100000 400000
 
34
 
 
35
# Now read "system.in.settings" in order to enable fShakeSPCE again:
 
36
include       system.in.settings
 
37
 
 
38
# Optional: write the coordinates after minimization
 
39
write_data   system_after_min.data
 
40
 
 
41
 
 
42
# -- simulation protocol --
 
43
 
 
44
 
 
45
timestep        1.0
 
46
dump            1 all custom 10000 traj_npt.lammpstrj id mol type x y z ix iy iz
 
47
fix             fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0
 
48
thermo          100
 
49
 
 
50
run             2000000
 
51
 
 
52
write_data   system_after_npt.data