Dear Sir or Madam,
I would appreciate if you could help on my question of calculation using pair_style coul and buck/coul. I need to find the bond length of several compounds, and my input of NaCl is following:
---------- Initialize Simulation ---------------------
clear
units metal
dimension 3
boundary p p p
atom_style charge
---------- Create Atoms ---------------------
read_data data_NaCl_test.MO
mass 1 22.99 #Na
mass 2 35.446 #Cl
pair_style coul/cut 10.0
pair_coeff * *
neigh_modify every 1 delay 0 check yes
---------- Run Minimization ---------------------
reset_timestep 0
#dump 1 all custom 400 dump.relax.1.* id type x y z
fix 1 all box/relax aniso 0.0 vmax 0.001
thermo 100
thermo_style custom step pe lx ly lz press pxx pyy pzz
min_style cg
minimize 1e-10 1e-10 5000 10000
However, after minimization is done, the pressure is very high as shown below
Step PotEng Lx Ly Lz Press Pxx Pyy Pzz c_eatoms
0 -21761.235 23.6 23.6 23.6 -884171.73 -884171.73 -884171.73 -884171.73 -21761.235
13 -21788.723 23.570226 23.570226 23.570226 -888647.75 -888647.75 -888647.75 -888647.75 -21788.723
Loop time of 0.802116 on 4 procs for 13 steps with 1000 atoms
I have no idea why the pressure is so high while the minimization is converged. For your information, I also attached my data file.
Would you please check this for me and let me know where I got wrong so I can fix it? Many thanks!
Best,
Siming
data_NaCl_test.MO (46.2 KB)