git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5715 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
1
examples/USER/eff/H2/README
Normal file
1
examples/USER/eff/H2/README
Normal file
@ -0,0 +1 @@
|
||||
This example demonstrates the use of several eff-related commands. No particular physics is explored.
|
||||
144
examples/USER/eff/H2/data.h2
Normal file
144
examples/USER/eff/H2/data.h2
Normal file
@ -0,0 +1,144 @@
|
||||
Created with h2.pl
|
||||
|
||||
128 atoms
|
||||
2 atom types
|
||||
|
||||
0.000000 12.895936 xlo xhi
|
||||
0.000000 12.895936 ylo yhi
|
||||
0.000000 12.895936 zlo zhi
|
||||
|
||||
Masses
|
||||
|
||||
1 1.007940
|
||||
2 1.000000
|
||||
|
||||
Atoms
|
||||
|
||||
1 1 1.000000 0 0.000000 1.611992 1.611992 2.111992
|
||||
2 1 1.000000 0 0.000000 1.611992 1.611992 4.335976
|
||||
3 1 1.000000 0 0.000000 1.611992 1.611992 8.559960
|
||||
4 1 1.000000 0 0.000000 1.611992 1.611992 10.783944
|
||||
5 1 1.000000 0 0.000000 1.611992 4.835976 2.111992
|
||||
6 1 1.000000 0 0.000000 1.611992 4.835976 4.335976
|
||||
7 1 1.000000 0 0.000000 1.611992 4.835976 8.559960
|
||||
8 1 1.000000 0 0.000000 1.611992 4.835976 10.783944
|
||||
9 1 1.000000 0 0.000000 1.611992 8.059960 2.111992
|
||||
10 1 1.000000 0 0.000000 1.611992 8.059960 4.335976
|
||||
11 1 1.000000 0 0.000000 1.611992 8.059960 8.559960
|
||||
12 1 1.000000 0 0.000000 1.611992 8.059960 10.783944
|
||||
13 1 1.000000 0 0.000000 1.611992 11.283944 2.111992
|
||||
14 1 1.000000 0 0.000000 1.611992 11.283944 4.335976
|
||||
15 1 1.000000 0 0.000000 1.611992 11.283944 8.559960
|
||||
16 1 1.000000 0 0.000000 1.611992 11.283944 10.783944
|
||||
17 1 1.000000 0 0.000000 4.835976 1.611992 2.111992
|
||||
18 1 1.000000 0 0.000000 4.835976 1.611992 4.335976
|
||||
19 1 1.000000 0 0.000000 4.835976 1.611992 8.559960
|
||||
20 1 1.000000 0 0.000000 4.835976 1.611992 10.783944
|
||||
21 1 1.000000 0 0.000000 4.835976 4.835976 2.111992
|
||||
22 1 1.000000 0 0.000000 4.835976 4.835976 4.335976
|
||||
23 1 1.000000 0 0.000000 4.835976 4.835976 8.559960
|
||||
24 1 1.000000 0 0.000000 4.835976 4.835976 10.783944
|
||||
25 1 1.000000 0 0.000000 4.835976 8.059960 2.111992
|
||||
26 1 1.000000 0 0.000000 4.835976 8.059960 4.335976
|
||||
27 1 1.000000 0 0.000000 4.835976 8.059960 8.559960
|
||||
28 1 1.000000 0 0.000000 4.835976 8.059960 10.783944
|
||||
29 1 1.000000 0 0.000000 4.835976 11.283944 2.111992
|
||||
30 1 1.000000 0 0.000000 4.835976 11.283944 4.335976
|
||||
31 1 1.000000 0 0.000000 4.835976 11.283944 8.559960
|
||||
32 1 1.000000 0 0.000000 4.835976 11.283944 10.783944
|
||||
33 1 1.000000 0 0.000000 8.059960 1.611992 2.111992
|
||||
34 1 1.000000 0 0.000000 8.059960 1.611992 4.335976
|
||||
35 1 1.000000 0 0.000000 8.059960 1.611992 8.559960
|
||||
36 1 1.000000 0 0.000000 8.059960 1.611992 10.783944
|
||||
37 1 1.000000 0 0.000000 8.059960 4.835976 2.111992
|
||||
38 1 1.000000 0 0.000000 8.059960 4.835976 4.335976
|
||||
39 1 1.000000 0 0.000000 8.059960 4.835976 8.559960
|
||||
40 1 1.000000 0 0.000000 8.059960 4.835976 10.783944
|
||||
41 1 1.000000 0 0.000000 8.059960 8.059960 2.111992
|
||||
42 1 1.000000 0 0.000000 8.059960 8.059960 4.335976
|
||||
43 1 1.000000 0 0.000000 8.059960 8.059960 8.559960
|
||||
44 1 1.000000 0 0.000000 8.059960 8.059960 10.783944
|
||||
45 1 1.000000 0 0.000000 8.059960 11.283944 2.111992
|
||||
46 1 1.000000 0 0.000000 8.059960 11.283944 4.335976
|
||||
47 1 1.000000 0 0.000000 8.059960 11.283944 8.559960
|
||||
48 1 1.000000 0 0.000000 8.059960 11.283944 10.783944
|
||||
49 1 1.000000 0 0.000000 11.283944 1.611992 2.111992
|
||||
50 1 1.000000 0 0.000000 11.283944 1.611992 4.335976
|
||||
51 1 1.000000 0 0.000000 11.283944 1.611992 8.559960
|
||||
52 1 1.000000 0 0.000000 11.283944 1.611992 10.783944
|
||||
53 1 1.000000 0 0.000000 11.283944 4.835976 2.111992
|
||||
54 1 1.000000 0 0.000000 11.283944 4.835976 4.335976
|
||||
55 1 1.000000 0 0.000000 11.283944 4.835976 8.559960
|
||||
56 1 1.000000 0 0.000000 11.283944 4.835976 10.783944
|
||||
57 1 1.000000 0 0.000000 11.283944 8.059960 2.111992
|
||||
58 1 1.000000 0 0.000000 11.283944 8.059960 4.335976
|
||||
59 1 1.000000 0 0.000000 11.283944 8.059960 8.559960
|
||||
60 1 1.000000 0 0.000000 11.283944 8.059960 10.783944
|
||||
61 1 1.000000 0 0.000000 11.283944 11.283944 2.111992
|
||||
62 1 1.000000 0 0.000000 11.283944 11.283944 4.335976
|
||||
63 1 1.000000 0 0.000000 11.283944 11.283944 8.559960
|
||||
64 1 1.000000 0 0.000000 11.283944 11.283944 10.783944
|
||||
65 2 0.000000 -1 1.823572 1.611992 1.611992 2.111992
|
||||
66 2 0.000000 1 1.823572 1.611992 1.611992 4.335976
|
||||
67 2 0.000000 -1 1.823572 1.611992 1.611992 8.559960
|
||||
68 2 0.000000 1 1.823572 1.611992 1.611992 10.783944
|
||||
69 2 0.000000 -1 1.823572 1.611992 4.835976 2.111992
|
||||
70 2 0.000000 1 1.823572 1.611992 4.835976 4.335976
|
||||
71 2 0.000000 -1 1.823572 1.611992 4.835976 8.559960
|
||||
72 2 0.000000 1 1.823572 1.611992 4.835976 10.783944
|
||||
73 2 0.000000 -1 1.823572 1.611992 8.059960 2.111992
|
||||
74 2 0.000000 1 1.823572 1.611992 8.059960 4.335976
|
||||
75 2 0.000000 -1 1.823572 1.611992 8.059960 8.559960
|
||||
76 2 0.000000 1 1.823572 1.611992 8.059960 10.783944
|
||||
77 2 0.000000 -1 1.823572 1.611992 11.283944 2.111992
|
||||
78 2 0.000000 1 1.823572 1.611992 11.283944 4.335976
|
||||
79 2 0.000000 -1 1.823572 1.611992 11.283944 8.559960
|
||||
80 2 0.000000 1 1.823572 1.611992 11.283944 10.783944
|
||||
81 2 0.000000 -1 1.823572 4.835976 1.611992 2.111992
|
||||
82 2 0.000000 1 1.823572 4.835976 1.611992 4.335976
|
||||
83 2 0.000000 -1 1.823572 4.835976 1.611992 8.559960
|
||||
84 2 0.000000 1 1.823572 4.835976 1.611992 10.783944
|
||||
85 2 0.000000 -1 1.823572 4.835976 4.835976 2.111992
|
||||
86 2 0.000000 1 1.823572 4.835976 4.835976 4.335976
|
||||
87 2 0.000000 -1 1.823572 4.835976 4.835976 8.559960
|
||||
88 2 0.000000 1 1.823572 4.835976 4.835976 10.783944
|
||||
89 2 0.000000 -1 1.823572 4.835976 8.059960 2.111992
|
||||
90 2 0.000000 1 1.823572 4.835976 8.059960 4.335976
|
||||
91 2 0.000000 -1 1.823572 4.835976 8.059960 8.559960
|
||||
92 2 0.000000 1 1.823572 4.835976 8.059960 10.783944
|
||||
93 2 0.000000 -1 1.823572 4.835976 11.283944 2.111992
|
||||
94 2 0.000000 1 1.823572 4.835976 11.283944 4.335976
|
||||
95 2 0.000000 -1 1.823572 4.835976 11.283944 8.559960
|
||||
96 2 0.000000 1 1.823572 4.835976 11.283944 10.783944
|
||||
97 2 0.000000 -1 1.823572 8.059960 1.611992 2.111992
|
||||
98 2 0.000000 1 1.823572 8.059960 1.611992 4.335976
|
||||
99 2 0.000000 -1 1.823572 8.059960 1.611992 8.559960
|
||||
100 2 0.000000 1 1.823572 8.059960 1.611992 10.783944
|
||||
101 2 0.000000 -1 1.823572 8.059960 4.835976 2.111992
|
||||
102 2 0.000000 1 1.823572 8.059960 4.835976 4.335976
|
||||
103 2 0.000000 -1 1.823572 8.059960 4.835976 8.559960
|
||||
104 2 0.000000 1 1.823572 8.059960 4.835976 10.783944
|
||||
105 2 0.000000 -1 1.823572 8.059960 8.059960 2.111992
|
||||
106 2 0.000000 1 1.823572 8.059960 8.059960 4.335976
|
||||
107 2 0.000000 -1 1.823572 8.059960 8.059960 8.559960
|
||||
108 2 0.000000 1 1.823572 8.059960 8.059960 10.783944
|
||||
109 2 0.000000 -1 1.823572 8.059960 11.283944 2.111992
|
||||
110 2 0.000000 1 1.823572 8.059960 11.283944 4.335976
|
||||
111 2 0.000000 -1 1.823572 8.059960 11.283944 8.559960
|
||||
112 2 0.000000 1 1.823572 8.059960 11.283944 10.783944
|
||||
113 2 0.000000 -1 1.823572 11.283944 1.611992 2.111992
|
||||
114 2 0.000000 1 1.823572 11.283944 1.611992 4.335976
|
||||
115 2 0.000000 -1 1.823572 11.283944 1.611992 8.559960
|
||||
116 2 0.000000 1 1.823572 11.283944 1.611992 10.783944
|
||||
117 2 0.000000 -1 1.823572 11.283944 4.835976 2.111992
|
||||
118 2 0.000000 1 1.823572 11.283944 4.835976 4.335976
|
||||
119 2 0.000000 -1 1.823572 11.283944 4.835976 8.559960
|
||||
120 2 0.000000 1 1.823572 11.283944 4.835976 10.783944
|
||||
121 2 0.000000 -1 1.823572 11.283944 8.059960 2.111992
|
||||
122 2 0.000000 1 1.823572 11.283944 8.059960 4.335976
|
||||
123 2 0.000000 -1 1.823572 11.283944 8.059960 8.559960
|
||||
124 2 0.000000 1 1.823572 11.283944 8.059960 10.783944
|
||||
125 2 0.000000 -1 1.823572 11.283944 11.283944 2.111992
|
||||
126 2 0.000000 1 1.823572 11.283944 11.283944 4.335976
|
||||
127 2 0.000000 -1 1.823572 11.283944 11.283944 8.559960
|
||||
128 2 0.000000 1 1.823572 11.283944 11.283944 10.783944
|
||||
49
examples/USER/eff/H2/in.h2
Normal file
49
examples/USER/eff/H2/in.h2
Normal file
@ -0,0 +1,49 @@
|
||||
variable sname index h2
|
||||
log ${sname}.spe.log
|
||||
|
||||
units electron
|
||||
newton on
|
||||
boundary p p p
|
||||
|
||||
atom_style electron
|
||||
|
||||
read_data data.${sname}
|
||||
|
||||
pair_style eff/cut 6.447968 0 1
|
||||
pair_coeff * *
|
||||
|
||||
communicate single vel yes
|
||||
|
||||
min_style cg
|
||||
min_modify line quadratic
|
||||
minimize 0 1.0e-6 1000 2000
|
||||
|
||||
region part block INF 2.0 INF 2.0 INF 5.0 units box
|
||||
group sub id < 32
|
||||
|
||||
compute effTemp all temp/eff
|
||||
compute effPress all pressure effTemp
|
||||
compute regionT sub temp/region/eff part
|
||||
|
||||
compute peratom all stress/atom
|
||||
compute p all reduce sum c_peratom[1] c_peratom[2] c_peratom[3]
|
||||
variable press equal -(c_p[1]+c_p[2]+c_p[3])/(3*vol)
|
||||
|
||||
thermo 100
|
||||
thermo_style custom step etotal pe ke temp press v_press c_regionT
|
||||
thermo_modify temp effTemp press effPress
|
||||
|
||||
#velocity all create 300.0 4928459 rot yes dist gaussian
|
||||
|
||||
fix 3 all temp/rescale/eff 10 0.0 300.0 0.02 1.0
|
||||
fix 1 all nve/eff
|
||||
|
||||
run 10000
|
||||
unfix 3
|
||||
|
||||
#fix 1 all npt/eff temp 3000.0 3000.0 0.1 iso 1e7 1e7 1.0 drag 0.5
|
||||
#dump 1 all custom 100 dump.file id type q spin eradius x y z
|
||||
|
||||
#fix 1 all nve/eff
|
||||
|
||||
run 100000
|
||||
Reference in New Issue
Block a user