I am trying to simulate a simple polymer (butane) using PCFF, but the results are too deviant. What is the problem with my input script? Please check out the input script attached. thanks in advance.
Initialization
clear
units real
dimension 3
boundary p p p
atom_style full
bond_style class2
angle_style class2
improper_style class2
dihedral_style class2
kspace_style ewald 1e-6
pair_style lj/class2/coul/long 10 10 # Adjust the parameters as needed
Atom definition
read_data butane_pcff_compostie.lmp # Provide your data file name
Force field
pair_coeff 1 1 0.054 4.01 # c-c
pair_coeff 2 2 0.02 2.995 # h-h
pair_coeff 1 2 0.0328 3.5025 # c-h
kspace_modify gewald 0.3
group l1 type 1 2
group d1 type 1 2
neigh_modify every 10 delay 10
dump sys all custom 2000 butane_sys.lammpstrj id type x y z
dump alk d1 custom 2000 butane_alk.lammpstrj id type x y z
dump_modify sys append no
dump_modify alk append no
compute t2 poly temp
compute t3 l1 temp
compute cm1 l1 com
compute ke1 all ke/atom
variable tempt1 atom c_ke12/311604.525
compute layers1 d1 chunk/atom bin/1d z lower 0.1 nchunk every units box
fix 4 all ave/chunk 1 2000 2000 layers1 v_tempt1 density/mass file nvttmp_12.profile
#fix 5 gra ave/time 1 2000 2000 c_t1 c_t2 c_t3 file nvtmeanT_14.out
#fix 6 gra ave/time 1 2000 2000 c_cm1[3] c_cm2[3] file nvtmeanCOM_14.out
thermo_style custom step temp vol pe ke etotal c_t3 density spcpu
thermo 1000
velocity all create 250 4928459 rot yes mom yes dist gaussian
minimize 1.0e-6 1.0e-6 100000 400000
restart 100000 restart.* #restartn2
timestep 0.001
fix mom all momentum 2500 linear 0 0 1 rescale
#fix 8 all nvt temp 272 272 1
fix 8 all npt temp 250 250 1 iso 0.987 0.987 5
run 500000
write_data restart1.data