Thanks very much,
The simulation is currently running (taking a long time, even with parallel computing). However, as of yet there has been no penetration of atoms into the vacuum. However, because the boundaries are set with no initial velocity, the temperature is much less than the prescribed 50K (although that is not all that important)…
Now the question remains… What would happen if I removed the “boundaries”… These must effect the indentation response.
There is another interesting point- after I unfix indent to “relax” the crystal, there is no irreversible deformation… I mentioned this earlier and Steve Plimpton explained that irreversible deformation only occurs if I prescribe sufficiently high stress to cause irreversible processes (I assume dislocation generation). How could I achieve that?
My code so far:
clear
units metal
dimension 3
boundary p p p
#boundary p s p
atom_style atomic
lattice fcc 3.615
#-------- Define region dimensions
region Total block 0 40 0 80 0 40 units box
region Substrate block 0 40 0 40 0 40 units box
region Vacuum block 0 40 40 80 0 40 units box
region surface1 block 0 40 0 2 0 40 units box
region surface2 block 0 40 38 40 0 40 units box
create_box 1 Total
#create_box 1 Substrate
create_atoms 1 region Substrate units box
group Boundary region surface1
group Boundary2 region surface2
group Substrate region Substrate
group Between subtract Substrate Boundary Boundary2
pair_style eam/alloy
pair_coeff * * Cu.set Cu
compute csym all centro/atom fcc
compute pe all pe/atom
timestep 0.0005
thermo 1000
thermo_style custom temp press lx ly lz vol etotal pe
timestep 0.0005
velocity Between create 50 12345 mom yes rot no
fix 1 all nvt temp 50 50 1 drag 1.0
#fix 1 all nvt temp 50 50 1
fix 3 Boundary setforce 0.0 0.0 0.0
fix 4 Boundary2 setforce 0.0 0.0 0.0
dump 1 all cfg 1000 dump.Nanoindent_*.cfg id type xs ys zs c_csym c_pe fx fy fz
shell mkdir Dump1
shell cd Dump1
run 30000
unfix 1
undump 1
#--------Indent at constant volume
reset_timestep 0
fix 1 all nvt temp 50 50 1 drag 1.0
#------- Set indent velocity
variable y equal 42
variable yInd equal “ylat-0.005*step”
fix 2 all indent 50.0 sphere 20.0 v_yInd 20.0 5.0 side out units box
fix_modify 2 energy yes
shell mkdir Dump2
shell cd Dump2
dump 1 all cfg 250 dump.Nanoindent_*.cfg id type xs ys zs c_csym c_pe fx fy fz
run 10000
#------- relax
unfix 2
run 2000
Cheers!
Nathaniel