Tons of “dangerous builds” can be solved by a larger skin distance of neighbor ,such as 1.0 bin.
I have changed the datafile to “3 extra bond per atom” with a “special_bonds lj 0 1 1 extra 3” and indeed found 3 bonds formed in a single type5 bead connecting 3 type4 beads.
Then I changed the datafile back to “2 extra bond per atom” and input to “special_bonds lj 0 1 1 extra 2”
Then I have changed following command:
fix cratebond1 all bond/create 200 1 2 1 1 iparam 1 3 jparam 1 4 prob 0.5 1126546
fix cratebond2 all bond/create 200 3 2 1 1 iparam 2 5 jparam 1 4 prob 0.5 16464221
to:
fix cratebond1 all bond/create 200 1 2 1 1 iparam 1 3 jparam 1 4 prob 0.5 1126546
fix cratebond2 all bond/create 200 3 2 1 1 iparam 1 5 jparam 1 4 prob 0.5 16464221 (Iparam 1 5 differ from previous …)
This seems give correct simulatin results.
However:
http://lammps.sandia.gov/doc/fix_bond_create.html says:
The iparam and jparam keywords can be used to limit the bonding functionality of the participating atoms. Each atom keeps track of how many bonds of bondtype it already has. If atom I of itype already has maxbond bonds (as set by the iparam keyword), then it will not form any more. Likewise for atom J. If maxbond is set to 0, then there is no limit on the number of bonds that can be formed with that atom.