Professional Documents
Culture Documents
create_box 2 whole
lattice fcc 3.52 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 1 region upper
lattice fcc 4.05 origin 0 0 0.35 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 2 region lower
#---------------------------Settings----------------------------
compute csym all centro/atom fcc
compute eng all pe/atom
compute eatoms all reduce sum c_eng
compute strs all stress/atom NULL
#----------------------Run Minimization-------------------------
reset_timestep 0
thermo 10
thermo_style custom step pe lx ly lz press pxx pyy pzz c_eatoms
dump 1 all custom 10 dump.comp.* id type xs ys zs c_csym c_eng c_strs[1] c_strs[2]
c_strs[3]
min_style cg
minimize 1e-15 1e-15 5000 5000
# SIMULATION DONE
print "All done"