Dear all,
In my research, I am performing non-equilibrium simulations in which a species (type 1) is converted (via fix atom/swap) to another species (type 2), which then can form bonds (via fix bond/create).
This requires some extra space in the topology lists, which I am providing via the "extra/*/per/atom" options of the read_data or create_box command.
When restarting a simulation (with read_restart) in which the conversion process is not finished, the system crashes and LAMMPS complains about "number of special bonds exceeded".
The LAMMPS version I am using is "29 Jun 2018".
I have created a MWE based on the in.lj example provided in examples/accelerate and append it here.
First, I run "in.swap_initial.lmp", to create a restart file in which conversion is not finished. This input file runs stable for arbitrary times (t >> 1000).
However, when I stop the simulation after e.g. 100 steps and restart it then with "in.swap_restart.lmp", it soon crashes with the error message "ERROR on proc 0: New bond exceeded special list size in fix bond/create (../fix_bond_create.cpp:508)".
To my understanding, this seems to be related to the extra/*/per/atom information not being included in restart files, combined with the read_restart command not offering an option to add this.
I would like to hear your thoughts on whether my assessment of the problem is correct and, if so, whether there is an easy way to fix it.
Best wishes,
Svenja Wagner
First file: in.swap_initial.lmp
in.swap_initial.lmp (950 Bytes)
in.swap_restart.lmp (390 Bytes)