I want to calculate the mass density profile of a pure organic solution over the course of an npt simulation in LAMMPS. Looking at the documentation there are a number of ways you can do this depending on how you carve up your system. My initial though was simply the mass of the molecules in the simulation (Nmolecules * (molar mass/ Avagadro's constant)) divided by the cell volume. However, if there is a choice in the way you carve up the system surely this will change the volume you are using?

The decision on how to 'chunk' your space can be done by specifying an atom type, a molecule or spatially (1D, 2D or 3D), presumably all these methods would give different volumes so affect the outcome. What would be the most reasonable way? 

More James McDonagh's questions See All
Similar questions and discussions