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

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/waterSPCE+Na+Cl/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, or run it using ./README_sh.)
6
 
 
7
 
# ------------------------------- Initialization Section --------------------
8
 
 
9
 
include         system.in.init
10
 
 
11
 
# ------------------------------- Atom Definition Section -------------------
12
 
 
13
 
read_data       system.data
14
 
 
15
 
# ------------------------------- Settings Section --------------------------
16
 
 
17
 
include         system.in.settings
18
 
 
19
 
# ------------------------------- Run Section -------------------------------
20
 
 
21
 
 
22
 
# -- minimization protocol --
23
 
 
24
 
# Note: The minimization step is not necessary in this example.  However
25
 
#       in general, it's always a good idea to minimize the system beforehand.
26
 
# fShakeSPCE was defined in system.in.settings. It is incompatible with "minimize".
27
 
unfix         fShakeSPCE
28
 
minimize 1.0e-3 1.0e-5 100000 400000
29
 
# Now read "system.in.settings" in order to redefine fShakeSPCE again:
30
 
include       system.in.settings
31
 
 
32
 
# -- simulation protocol --
33
 
 
34
 
 
35
 
timestep        1.0
36
 
dump            1 all custom 200 traj_npt.lammpstrj id mol type x y z ix iy iz
37
 
fix             fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0
38
 
thermo          100
39
 
 
40
 
run             10000
41
 
 
42
 
# Now that the system's temperature has become more equilibrated,
43
 
# we can increase the timestep:
44
 
 
45
 
timestep        2.0
46
 
run             50000
47
 
 
48
 
write_data   system_after_npt.data