Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tutorial1/initial.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ compute eng all pe/atom
compute eatoms all reduce sum c_eng

# 4) Monitoring
compute eng all pe/atom
compute eatoms all reduce sum c_eng
thermo 10
thermo_style custom step pe c_eatoms press lx ly lz

Expand Down
2 changes: 1 addition & 1 deletion tutorial1/shifted.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ minimize 1.0e-12 1.0e-12 10000 100000
variable ncell equal 4
variable a0 equal lx/v_ncell
variable ecoh equal pe/count(all)
print "----------------------------------------------------"
print "------- EAM: Al_zhou.eam.alloy ---------------------"
print "Number of atoms = $(count(all))"
print "Equilibrium a0 (Ang) = ${a0}"
print "Cohesive energy (eV) = ${ecoh}"
Expand Down
Binary file removed tutorial1/solution/metals-fcc-0.0-0.png
Binary file not shown.
Binary file removed tutorial1/solution/metals-fcc-0.25-0.png
Binary file not shown.
Binary file added tutorial1/solution/metals-fcc-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions tutorial1/solution/render.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@
# By Simon Gravelle, Mark A. Tschopp, Jacob R. Gissinger, and Axel Kohlmeyer
# Tutorial 1: Generate figures. Use the "Run->Set Variables dialog to change "o" to 0.25

variable o index 0.0

units metal
lattice fcc 4.049 origin $o $o $o

# adjust origin as desired
lattice fcc 4.049 origin 0.25 0.25 0.25
region box block 0 4 0 4 0 4
create_box 1 box
create_atoms 1 box

pair_style eam/alloy
pair_coeff * * Al_zhou.eam.alloy Al

dump viz all image 1 metals-fcc-${o}-*.png element type &
dump viz all image 1 metals-fcc-*.png element type &
view 60 -40 zoom 1.2 box yes 0.028 size 1200 1200 &
adiam 2.6 shiny 0.15 ssao yes 4539 0.5 fsaa yes
dump_modify viz backcolor white boxcolor midnightblue

run 0 post no
Binary file added tutorial4/solution/dimer-1x1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorial4/solution/dimer-2x1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.