My lammps data file has 12 molecules that are compressed under npt ensemble to generate densities and energies at room temperature and pressure. Since its a mixture of different kinds of molecules interacting to form a material property, I am a little bit confused about the mean square displacement values that I am getting. I am using the script below.
Are the values of MSD an average for all molecules or if the values are averages of different molecules at a particular instant?
Also, as per the lammps guide, if " If the average option is set to yes. It only makes sense to use this option if the atoms are not diffusing, so that their average positions relative to the centre of mass of the system are stationary. The most common case is crystalline solids undergoing thermal motion."
How can I make the mixture of molecule diffuse altogether like a single material.
I totally understand that my question can be confusing, but supportive answers will be very much appreciated.
compute msd all msd
fix 5 all vector 1 c_msd c_msd c_msd c_msd
Thank you for your response @akohlmey
Inconvenience regretted. I am a novice and trying to learn lammps on my own.
The reason I put a comment on the average option is that I do not see the group of atoms displace from one position to other in the XYZ file but are only vibrating at a fixed position which actually happens in crystals. But my system is a representation of liquid and I want to see diffusive action of group of atoms.
Please see the following two recent comments about the feasibility of learning MD and LAMMPS on your own.
Well, if your system is not behaving like a liquid on visualization, it is not likely going to have a diffusivity of a liquid, and changing a flag in an analysis tool does not change the trajectory.
The fact that you have this line of thought underlines that you need to find a sufficiently experienced tutor.