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

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/OPLSAA_force_field_examples/ethylene/run.in.nvt

  • 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
 
#   1) 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, or run it using ./README_sh.)
6
 
#   2) You must equilibrate the system beforehand using "run.in.npt".
7
 
#      This will create the file "system_after_npt.data" which this file reads.
8
 
#      (Note: I have not verified that this equilibration protocol works well.)
9
 
 
10
 
# ------------------------------- Initialization Section --------------------
11
 
 
12
 
include         "system.in.init"
13
 
 
14
 
# ------------------------------- Atom Definition Section -------------------
15
 
 
16
 
# Read the coordinates generated by an earlier NPT simulation
17
 
 
18
 
read_data       "system_after_npt.data"
19
 
 
20
 
# OPLSAA atom charges are stored in a separate file.
21
 
# Load that file now:
22
 
 
23
 
include         "system.in.charges"
24
 
 
25
 
# ------------------------------- Settings Section --------------------------
26
 
 
27
 
include         "system.in.settings"
28
 
 
29
 
 
30
 
# (The "write_restart" and "read_restart" commands were buggy in 2012, 
31
 
#  but they should work also.  I prefer "write_data" and "read_data".)
32
 
 
33
 
# ------------------------------- Settings Section --------------------------
34
 
 
35
 
include         system.in.settings
36
 
 
37
 
# ------------------------------- Run Section -------------------------------
38
 
 
39
 
# -- simulation protocol --
40
 
 
41
 
 
42
 
timestep        1.0
43
 
dump            1 all custom 5000 traj_nvt.lammpstrj id mol type x y z ix iy iz
44
 
fix             fxnvt all nvt temp 300.0 300.0 500.0 tchain 1
45
 
thermo          500
46
 
#thermo_modify  flush yes
47
 
 
48
 
run             200000
49
 
 
50
 
write_restart   system_after_nvt.data