Dear All,
I am a new LAMMPS user.
I am trying to equilibrate a box of Nickel atoms.
When I use periodic boundary conditions (p p p) , atoms fly off.
When any one of the boundary conditions is shrink-wrapped (for example “s p p”), atoms do not fly off after equilibration.
I am giving the input script below
Can anyone help me.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
units metal
boundary p p p
atom_style atomic
lattice fcc 3.52
region box block 0 4 0 10.0 0 4
create_box 3 box
lattice fcc 3.52 orient x 1 0 0 orient y 0 1 1 orient z 0 -1 1 &
origin 0.5 0 0
create_atoms 1 box
pair_style eam
pair_coeff * * Ni_u3.eam
neighbor 0.3 bin
neigh_modify delay 1
region lower block INF INF INF 0.9 INF INF
region upper block INF INF 6.1 INF INF INF
group lower region lower
group upper region upper
group boundary union lower upper
group mobile subtract all boundary
set group lower type 2
set group upper type 3
compute new3d mobile temp
equilibrate
minimize 1e-4 1e-6 1000 1000
velocity mobile create 300.0 5812775 temp new3d
fix 1 all nve
fix 2 boundary setforce 0.0 0.0 0.0
fix 3 mobile temp/rescale 10 300.0 300.0 10.0 1.0
fix_modify 3 temp new3d
dump 1 all xyz 100 dump.shear
thermo 25
thermo_modify temp new3d
timestep 0.001
run 10000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks in advance
sivashankar