Hi all,
I am running some high energy impact simulations on a mineral. I am using ReaxFF so I am seeing some molecules being ejected from the surface.
Is there a way to get the kinetic energy of the molecules? Due to bond breaking and formation of ReaxFF the molecules that are ejected don’t have the same mol_ID.
Many thanks,
Anastasis
You could re-assign the molecule IDs based on the per-atom property computed by fix reaxff/species.
You could also identify ejected atoms using a region.
1 Like
Thanks for the reply! I implimented these methods and can get the KE of each individual ejected atom, but not sure on how to obtain the KE of the molecule.
You could define a compute chunk/atom based on the fix reaxff/species per-atom data, then define a compute ke/atom and finally use compute reduce/chunk on the ke/atom data to sum the per-atom energies into per-chunk energies, which would correspond to the per-molecule kinetic energy.
1 Like