File: system.lt

package info (click to toggle)
moltemplate 2.22.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,084 kB
  • sloc: python: 25,770; sh: 3,746; tcl: 170; makefile: 14; awk: 4
file content (58 lines) | stat: -rw-r--r-- 1,484 bytes parent folder | download
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
46
47
48
49
50
51
52
53
54
55
56
57
58
# Minimal input deck to reproduce the error.
#
# moltemplate.sh -atomstyle "hybrid molecular ellipsoid" -molc system.lt

# Force field.
import xxx.lt

# Create the molecules.
mol0 = new XXX[1]

# Simulation box.
write_once("Data Boundary") {
-20 20 xlo xhi
-20 20 ylo yhi
-20 20 zlo zhi
}


write("In Init"){
variable run string test_01
variable temp equal 300.
echo            log
log             \$\{run\}.log
units           real
boundary        p p p
atom_style      hybrid molecular ellipsoid

# Neighbour list.
neighbor        5.0 bin
neigh_modify    check yes
}

write_once("In Run"){
# Physical observables.
compute q               all property/atom quatw quati quatj quatk
compute shape           all property/atom shapex shapey shapez
compute temp_trasl      all temp
compute temp_rot        all temp/asphere dof rotate
compute temp_rototrasl  all temp/asphere dof all
compute press_trasl     all pressure temp_trasl

# Output.
thermo          1000
thermo_style custom step etotal evdwl ecoul elong ebond ke pe temp press vol density cpu
thermo_modify temp temp_rototrasl press press_trasl flush yes

#dump 1 all custom 1000 \$\{run\}.dump &
#id type xu yu zu c_q[1] c_q[2] c_q[3] c_q[4] &
#c_shape[1] c_shape[2] c_shape[3] vx vy vz &
#angmomx angmomy angmomz mol

# 1 ns relaxation, NVT ensemble.
timestep 20.
fix             2 all nve/asphere
fix             3 all langevin \$\{temp\} \$\{temp\} 1000. 35785 angmom 0.9
fix_modify      3 temp temp_rototrasl
run    50000
}