I get the error: Error: incorrect arg for pair coefficients (src/REAXFF/pair_reaxff.cpp:280)
The force field contains characters Cu and O.
What did I do wrong? Should I modify the ID in molecule command for 2 or how could I distinguish copper and oxygen IDs?
It depends, how many atom types you have in final_configuration_middle.data?
Note that the molecule command does not create any molecule, it only defines a molecule template, see this page. Another strange thing with your input is the use of a timestep of 1 attosecond.
That was not my question, I was asking about the number of atom types in your simulation.
If you don’t know what atom types means to LAMMPS, I think that you should take a step back and follow tutorials and classes for beginners. If you don’t, you will keep facing similar issues that are easy to solve when you know the basics of LAMMPS.
Sorry for the not accurate answer!
I used only one atom type (for copper).
Should I distinguish the oxygen, that will be connected to the copper, and the other oxygen, that is connected to another oxygen atom as well?
I am not sure how that would work with a reaxff system, because an oxygen initially connected to a copper can end up connected to another oxygen atom (at least that’s what I assume from your question). If your force field appropriately describes the situation that you are simulating (which is a big if), then the changes in property of oxygen atoms based on their local environment should be automatic.
And how many atom type does the pair_coeff command uses? If you don’t know the answer, you can take a look here, particularly this example:
As an example, say your LAMMPS simulation has 4 atom types and the elements are ordered as C, H, O, N in the ffield file. If you want the LAMMPS atom type 1 and 2 to be C, type 3 to be N, and type 4 to be H, you would use the following pair_coeff command: