Skip to content

Commit ff27b98

Browse files
Merge pull request #49 from lammpstutorials/retest-all-tutorials
- test all tutorials - fixed the file order in .manifest files - removed non-ascii parameters
2 parents d43500f + 40da661 commit ff27b98

27 files changed

+8634
-8592
lines changed

figures/NANOSHEAR-minimization.png

4.35 KB
Loading

figures/NANOSHEAR-profiles.png

-55.5 KB
Loading

figures/PEG-in-vacuum.png

150 KB
Loading

files/tutorial1/solution/initial.lmp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,41 @@ units lj
99
dimension 3
1010
atom_style atomic
1111
boundary p p p
12+
1213
# 2) System definition
1314
region simbox block -20 20 -20 20 -20 20
1415
create_box 2 simbox
1516
create_atoms 1 random 1500 34134 simbox overlap 0.3
1617
create_atoms 2 random 100 12756 simbox overlap 0.3
18+
1719
# 3) Settings
1820
mass 1 1.0
1921
mass 2 5.0
2022
pair_style lj/cut 4.0
2123
pair_coeff 1 1 1.0 1.0
2224
pair_coeff 2 2 0.5 3.0
25+
2326
# 4) Visualization
2427
thermo 10
2528
thermo_style custom step etotal press
29+
2630
# 5) Run
2731
minimize 1.0e-6 1.0e-6 1000 10000
28-
stop
32+
2933
# PART B - MOLECULAR DYNAMICS
3034
# 4) Visualization
3135
thermo 50
3236
thermo_style custom step temp etotal pe ke press
33-
dump viz all image 100 myimage*.ppm type type &
37+
dump viz all image 100 myimage-*.ppm type type &
3438
size 800 800 zoom 1.452 shiny 0.7 fsaa yes &
3539
view 80 10 box yes 0.025 axes no 0.0 0.0 &
3640
center s 0.483725 0.510373 0.510373
3741
dump_modify viz pad 9 boxcolor royalblue &
3842
backcolor white adiam 1 1.6 adiam 2 4.8
43+
3944
# 5) Run
4045
fix mynve all nve
4146
fix mylgv all langevin 1.0 1.0 0.1 10917
4247
timestep 0.005
4348
run 15000
49+

files/tutorial2/.manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ solution/breakable.log
2727
solution/breakable.png
2828
solution/breakable.dat
2929
solution/breakable-yaml-reader.py
30+
solution/breakable-with-tip.lmp
3031

3132
# 3) support files
3233
unbreakable-yaml-reader.py

files/tutorial3/.manifest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
##############################################################################
55
# 1) input file templates and data files
66
# the first file will be automatically loaded
7-
peg.mol
8-
water.mol
9-
parameters.inc
107
water.lmp
118
merge.lmp
129
pull.lmp
10+
peg.mol
11+
water.mol
12+
parameters.inc
1313

1414
# 2) solution files
1515
# only downloaded on request

files/tutorial3/peg.mol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# The DOI will be added upon publication
44
# Find more on GitHub: https://github.com/lammpstutorials
55

6-
PEG molecule
6+
# PEG molecule
77

88
59 atoms
99
58 bonds

files/tutorial3/pull.lmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# The DOI will be added upon publication
44
# Find more on GitHub: https://github.com/lammpstutorials
55

6-
kspace_style pull 1e-5
6+
kspace_style pppm 1e-5
77
read_restart merge.restart

files/tutorial4/.manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
##############################################################################
55
# 1) input file templates and data files
66
# the first file will be automatically loaded
7-
groups.inc
8-
parameters.inc
97
create.lmp
108
minimize.lmp
119
equilibrate.lmp
1210
shearing.lmp
11+
groups.inc
12+
parameters.inc
1313
water.mol
1414

1515
# 2) solution files

files/tutorial4/groups.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
group H2O type O H
77
group Na type Na+
8-
group Cl type Cl
8+
group Cl type Cl-
99
group ions union Na Cl
1010
group fluid union H2O ions
1111

0 commit comments

Comments
 (0)