Dear Lammps users,
i am using dump cfg command in my input file. while running it is giving error: invalid dump command
i am using lammps 2009 version.
this is my input file:
Input file for uniaxial compression loading of single crystal copper
units metal
dimension 3
boundary p p p
atom_style atomic
variable latice equal 3.615
variable T equal 300.0
echo log
lattice fcc {latice}
lattice fcc {latice} orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
read_data input_datafile_comp_Cu
pair_style eam
pair_coeff * * Cu_u3.eam
timestep 0.001 # timestep is 1 femto second
velocity all create 300 12345 mom yes rot no
fix 1 all nvt $T $T 100.0 drag 1
thermo 1
thermo_style custom step lx ly lz press pxx pyy pzz pe temp
thermo_modify lost ignore flush yes
compute csym all centro/atom
compute peratom all pe/atom
run 100
unfix 1
reset_timestep 0
variable tmp equal “lx”
variable L0 equal {tmp}
print "Initial Length, L0: {L0}"
fix 1 all nvt 300.0 300.0 100.0 drag 1
variable srate equal 1.0e10
variable srate1 equal “-v_srate / 1.0e12” # strain rate is 0.1 angstroms
fix 2 all deform 1 x erate ${srate1} units box remap x
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”
fix def1 all print 100 “{p1} {p2} {p3} {p4}” file cu_100.def1.txt screen no
thermo 1
thermo_style custom step v_strain temp v_p2 v_p3 v_p4 ke pe press
thermo_modify lost ignore flush yes
dump 1 all cfg 50 dump.compress..cfg id type xs ys zs id type c_csym fx fy fz
dump_modify 1 element Cu first yes
dump 2 all image 250 dump.cu_comp..jpg type1 2.42 atom yes bond none axes 0.02 0.02 0.02
dump_modify 2 every 50 element Cu image yes
run 100
waiting for quick reply…