Hello,
I read the example of deposition from Lammps software.
in.deposit.atom.lmp (1.2 KB)
One question I have is that why fix nve is set for the addatoms and mobile separately, and how the two groups of atoms would interact energetically in this case?
The fix nve commands have no impact on the interaction between the atoms. They just provide plain time integration as explained in the manual. This is the same whether there is one or two fixes. Having the deposited atoms in a separate group has advantages when looking at thermodynamic data.