Skip to content

Commit 9e163c7

Browse files
committed
further cleaning of tutorial 6
1 parent 6482909 commit 9e163c7

4 files changed

Lines changed: 138 additions & 177 deletions

File tree

files/tutorial6/solution/cracking.lmp

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,17 @@ read_data generate.data
1010

1111
pair_coeff * * SiO.1990.vashishta Si O
1212

13-
dump mydmp all image 200 myimage-*.ppm type type &
14-
shiny 0.1 box no 0.01 view 180 90 zoom 1.2 size 1000 650
15-
dump_modify mydmp backcolor white &
16-
acolor Si yellow adiam Si 2.5 &
17-
acolor O red adiam O 2
13+
dump viz all image 200 myimage-*.ppm type type &
14+
shiny 0.1 box no 0.01 view 180 90 zoom 1.6 size 1000 650
15+
dump_modify viz backcolor white acolor Si yellow &
16+
adiam Si 2.5 acolor O red adiam O 2
1817

19-
thermo 1000
18+
thermo 200
2019
thermo_style custom step temp etotal vol lx ly lz
2120

22-
fix nvt1 all nvt temp 300 300 0.1
23-
2421
timestep 0.001
25-
thermo 1000
26-
27-
#variable var loop 45
28-
#label loop
22+
fix nvt1 all nvt temp 300 300 0.1
2923
fix mydef all deform 1 x erate 0.015
30-
#change_box all x scale 1.005 remap
3124
run 20000
32-
#next var
33-
#jump cracking.lmp
3425

3526
write_data cracking.data

files/tutorial6/solution/gcmc.lmp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ variable oxygen atom type==label2type(atom,OW)
3131
group oxygen dynamic all var oxygen
3232
variable nO equal count(oxygen)
3333

34-
fix shak H2O shake 1.0e−4 200 0 b OW-HW a HW-OW-HW mol h2omol
35-
36-
delete_atoms overlap 2 H2O SiO mol yes
34+
fix shak H2O shake 1.0e−5 200 0 b OW-HW a HW-OW-HW mol h2omol
3735

3836
dump mydmp all image 200 myimage-*.ppm type type &
39-
shiny 0.1 box no 0.01 view 180 90 zoom 1.2 size 1000 650
37+
shiny 0.1 box no 0.01 view 180 90 zoom 1.6 size 1000 650
4038
dump_modify mydmp backcolor white &
4139
acolor Si yellow adiam Si 2.5 &
4240
acolor O red adiam O 2 &

files/tutorial6/solution/generate.lmp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ replicate 5 4 4
1111

1212
pair_coeff * * SiO.1990.vashishta Si O
1313

14-
dump mydmp all image 200 myimage-*.ppm type type &
15-
shiny 0.1 box no 0.01 view 180 90 zoom 1.2 size 1000 650
16-
dump_modify mydmp backcolor white &
14+
dump viz all image 200 myimage-*.ppm type type &
15+
shiny 0.1 box no 0.01 view 180 90 zoom 1.6 size 1000 650
16+
dump_modify viz backcolor white &
1717
acolor Si yellow adiam Si 2.5 &
1818
acolor O red adiam O 2
1919

0 commit comments

Comments
 (0)