I try to simulate the diffusion of cobalt and diamond under high pressure and high temperature conditions(50000bar and 1700K), however, it could not be stable and always report the error:
ERROR: Lost atoms: original 4424 current 4422 (src/thermo.cpp:439)
Last command: run 1000
here is my in file:
#basic
units metal
atom_style full
dimension 3
boundary p p p
neighbor 2.0 bin
neigh_modify delay 0
timestep 0.001
#structure #Create box
region box block 0 50 0 25 0 25 units box
create_box 2 box
#model Co lattice hcp 2.507
lattice fcc 3.544
region Cobalt block 26 INF INF INF INF INF units box
create_atoms 1 region Cobalt
#model diamond
lattice diamond 3.567
region Carbon block INF 24 INF INF INF INF units box
create_atoms 2 region Carbon
As a new participant in this forum, you should first read the post with the guidelines and suggestions completely and follow the advice and suggestions given as closely as possible.
It explains which questions to ask and what other information to provide. For example, you did do not quote your input file correctly and are leaving out important information about your LAMMPS version and platform. Beyond that, the issue you are reporting has been discussed many, many times before, and also is discussed in the LAMMPS manual. So you should not only state that you have problems running your simulation, but also which of the steps previously suggested you have tried out and if they made any difference.
Is this the lattice constant for cobalt under your pressure and temperature conditions? Have you run a Co-only system with your settings to confirm.
Is this potential suitable for these conditions? What does the corresponding publication say?
Same as above.
Ditto.
3 Å seems a very small cutoff for an LJ potential in metal units. Where did you get this parameter from?
Same as above, are these parameters suitable for the conditions at hand? Where did you take them from?
High temperature, high pressure means that atoms can get very close to each other and thus may have very high repulsive forces, which in turn may require a shortened time step to do the numerical integration of the equations of motion without divergence. Have you tested if 1fs is a suitable choice?
When you have stability issues, you should first try running with fix nvt or fix nve + fix langevin (for equilibration, the latter is often more effective).