Hi,
I used the ovito to delete the atoms and create the data, so how can I remap the atom id through lammps using what command as a result of so many atoms, it is hard to find through data.file.
Regards.
Hi,
I used the ovito to delete the atoms and create the data, so how can I remap the atom id through lammps using what command as a result of so many atoms, it is hard to find through data.file.
Regards.
Hi,
I used the ovito to delete the atoms and create the data, so how can I remap
the atom id through lammps using what command as a result of so many atoms,
it is hard to find through data.file.
how about using the delete_atoms command with the compress yes option?
just pick a condition, that won't delete atom atoms.
axel.
Hi axel,
It is a solution, but I want to do some other structures like" I had made a structure and used the ovito to rotate the structure to combine them together. And they have the same id. I felt it was not easy to change id in the data.file as so many atoms. So I hope if I can use some command to get it done.
Regards
Hi axel,
It is a solution, but I want to do some other structures like" I had made a
structure and used the ovito to rotate the structure to combine them
together. And they have the same id. I felt it was not easy to change id in
the data.file as so many atoms. So I hope if I can use some command to get
it done.
first of all, what you are describing is really an ovito problem, not
a LAMMPS problem.
regardless, have you actually tried my suggestion?
axel.
Hi Axel,
I had already tried to use the delete_atoms command before, it can delete the atoms and remap the atoms id without any problems. But I just want to ask if it has a command to remap the atom id, not only with regard to delete_atoms.
Regards
Hi Axel,
I had already tried to use the delete_atoms command before, it can delete
the atoms and remap the atoms id without any problems. But I just want to
ask if it has a command to remap the atom id, not only with regard to
delete_atoms.
you have not paid proper attention to what i suggested. read it again
and try it out.
axel.
Hi Alex,
I got it, Thank you.
Regards