Hi Lammps users
I want to investigate the response of a graphene sheet under biaxial pressure.
But after equilibration I get segmentation fault in linux and in windows, program ended without any error.
What is wrong with my code?
#-------------------Initialization----------------------------------------
units metal
dimension 3
boundary p p p
atom_style atomic
log buckle.txt
#---------------------Variables--------------------------------------------
variable T equal 300
variable T2 equal 2*$T
variable ER equal 3000
variable erate equal -1.0e10
variable srate equal "v_srate / 1.0e12"
variable strain equal “(lx - v_L0)/v_L0”
variable p1 equal “v_strain”
variable p2 equal “-pxx/10000”
variable p3 equal “-pyy/10000”
variable p4 equal “-pzz/10000”
#-------------------Atom definition------------------------------------------
read_data cnt.txt
mass 1 12.0107
#----------------------Settings----------------------------------------------
neighbor 5.0 bin
neigh_modify every 1 delay 1
pair_style airebo 3.0 1 1
pair_coeff * * CH.airebo C
#---------------------Equilibrate---------------------------------------------
velocity all create ${T2} 5812 mom yes rot yes dist gaussian
fix 1 all nvt temp $T $T 0.01 drag 2.0
thermo 50
timestep 0.0001
run ${ER}
#-----------------------Deformation--------------------------------------------
fix 4 all deform 1 xy erate ${srate} units box
fix def1 all print 100 "${p1} ${p2} ${p3} ${p4}" file Buckle.txt screen no
thermo 100
run $R
Sincerely
Richard J.Ford