-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.in.npt
45 lines (30 loc) · 1.3 KB
/
run.in.npt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# PREREQUISITES:
#
# You must use moltemplate.sh to create 3 files:
# system.data system.in.init system.in.settings
# (Follow the instructions in README_setup.sh,
# or run the file as a script using ./README_setup.sh)
#
# ------------------------------- Initialization Section --------------------
include "system.in.init"
# ------------------------------- Atom Definition Section -------------------
read_data "system.data"
# ------------------------------- Settings Section --------------------------
include "system.in.settings"
include "system.in.charges"
# ------------------------------- Run Section -------------------------------
# -- minimization protocol --
thermo 500
thermo_style custom step cpu temp etotal press vol
minimize 6.0e-5 1.0e-6 500 400000
write_data system_after_min.data
# -- simulation protocol --
reset_timestep 0
timestep 1.0
dump 1 all custom 20 traj_npt.lammpstrj id mol type x y z ix iy iz element type
dump_modify 1 element "C" "C"
velocity all create 200.0 4928459 rot yes mom yes dist gaussian
fix fxnpt all npt temp 200.0 200.0 100.0 iso 1.0 1.0 1000.0
neigh_modify delay 5 every 1 check yes
run 2000
write_data system_after_npt.data