Hello I am trying to plot potential vs distance plot for silicon and other particle but lammps giving me
Pair style does not support pair_write (src/pair.cpp:1781)
Last command: pair_write 1 2 500 r 0.1 3.0 table.txt LJ
How should i plot PE vs r plot then?
Here i am pasting my script file:
units metal
dimension 3
boundary p p p
atom_style atomic
variable a equal 5.431
variable t equal 2200.0
lattice custom $a &
a1 1.0 0.0 0.0 &
a2 0.0 1.0 0.0 &
a3 0.0 0.0 1.0 &
basis 0.5 0.5 0.0 &
basis 0.0 0.5 0.5 &
basis 0.5 0.0 0.5 &
basis 0.25 0.25 0.25 &
basis 0.25 0.75 0.75 &
basis 0.75 0.25 0.75 &
basis 0.75 0.75 0.25
region box block 0 4 0 4 0 4
create_box 2 box
create_atoms 1 box
create_atoms 2 random 1 423412 box
mass 1 28.06
mass 2 28.06
velocity all create $t 12345
group si type 1
group pr type 2
pair_style hybrid lj/cut 2.5 sw
pair_coeff * * sw Si.sw Si NULL
pair_coeff 1 2 lj/cut 1.0 2.0951 2.351670237
pair_modify shift yes
pair_coeff 2 2 lj/cut 1.0 1.0 2.5
pair_write 1 2 500 r 0.1 3.0 table.txt LJ
neighbor 0.3 bin
neigh_modify every 1 delay 0 check yes
minimize 1.0e-6 1.0e-8 1000 1000
timestep 0.001
thermo 10
thermo_style custom step temp ke pe etotal density vol press
fix 1 all nvt temp $t $t 1.0
dump id all atom 100 SiBath.dump
run_style verlet
run 5000