Skip to content

Commit 822ee0f

Browse files
committed
corrected tutorial 7
1 parent 0140a34 commit 822ee0f

3 files changed

Lines changed: 57 additions & 3 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Chunk-averaged data for fix myac and group all
2+
# Timestep Number-of-chunks Total-count
3+
# Chunk Coord1 Ncount density/number
4+
2000000 50 200.00000000000003
5+
1 -49 5.69915 0.000949858
6+
2 -47 5.4982 0.000916367
7+
3 -45 5.32855 0.000888092
8+
4 -43 5.41055 0.000901758
9+
5 -41 5.3636 0.000893933
10+
6 -39 5.30235 0.000883725
11+
7 -37 5.3703 0.00089505
12+
8 -35 5.2055 0.000867583
13+
9 -33 5.22545 0.000870908
14+
10 -31 5.2985 0.000883083
15+
11 -29 5.1786 0.0008631
16+
12 -27 5.04815 0.000841358
17+
13 -25 4.99715 0.000832858
18+
14 -23 4.81415 0.000802358
19+
15 -21 4.7467 0.000791117
20+
16 -19 4.6744 0.000779067
21+
17 -17 4.6556 0.000775933
22+
18 -15 4.3582 0.000726367
23+
19 -13 3.65155 0.000608592
24+
20 -11 1.9337 0.000322283
25+
21 -9 0.25315 4.21917e-05
26+
22 -7 0.10885 1.81417e-05
27+
23 -5 0.1126 1.87667e-05
28+
24 -3 0.11675 1.94583e-05
29+
25 -1 0.1013 1.68833e-05
30+
26 1 0.10905 1.8175e-05
31+
27 3 0.1177 1.96167e-05
32+
28 5 0.12105 2.0175e-05
33+
29 7 0.12405 2.0675e-05
34+
30 9 0.24035 4.00583e-05
35+
31 11 1.9057 0.000317617
36+
32 13 3.69235 0.000615392
37+
33 15 4.46135 0.000743558
38+
34 17 4.7479 0.000791317
39+
35 19 4.9579 0.000826317
40+
36 21 5.09875 0.000849792
41+
37 23 5.2203 0.00087005
42+
38 25 5.36995 0.000894992
43+
39 27 5.40725 0.000901208
44+
40 29 5.3136 0.0008856
45+
41 31 5.32625 0.000887708
46+
42 33 5.4165 0.00090275
47+
43 35 5.51355 0.000918925
48+
44 37 5.46145 0.000910242
49+
45 39 5.37015 0.000895025
50+
46 41 5.4601 0.000910017
51+
47 43 5.4684 0.0009114
52+
48 45 5.46425 0.000910708
53+
49 47 5.55965 0.000926608
54+
50 49 5.61945 0.000936575

files/tutorial7/solution/free-sampling.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
},
117117
{
118118
"cell_type": "code",
119-
"execution_count": 221,
119+
"execution_count": null,
120120
"id": "72dc5ab9",
121121
"metadata": {},
122122
"outputs": [
@@ -131,7 +131,7 @@
131131
"source": [
132132
"profile = np.loadtxt(\"free-sampling.dat\", skiprows=4)\n",
133133
"\n",
134-
"R = 8.31446 # J⋅K1⋅mol1\n",
134+
"R = 8.31446 # J⋅K-1⋅mol-1\n",
135135
"T = 119.8 # K\n",
136136
"x_md = profile.T[1]\n",
137137
"rho_md = profile.T[3]\n",

files/tutorial7/solution/free-sampling.lmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ variable n_center equal count(all,mymes)
3535
thermo_style custom step temp etotal v_n_center
3636
thermo 2000
3737

38-
dump viz all image 50000 myimage-*.ppm type type &
38+
dump viz all image 5000 myimage-*.ppm type type &
3939
shiny 0.1 box yes 0.01 view 180 90 zoom 6 size 1600 500 fsaa yes
4040
dump_modify viz backcolor white acolor 1 cyan adiam 1 3 boxcolor black
4141

0 commit comments

Comments
 (0)