Electron Density as a Function of Position from CHGCAR
Posted: Sat Aug 25, 2012 1:00 am
I understand that this may be a super rudimentary question but how can I get a grid of the electron density from a CHGCAR file? Basically, I would like to know (x, y, z, rho) for the system (to within the accuracy of the calculation).
Looking at the CHGCAR, I can clearly see where it gives me the lattice vectors and atomic coordinates. Beyond those, though, I am at a loss as to how to interpret the data. I've looked at the VASP documentation but honestly I'm not exactly clear on what the all of the values mean. Based on what I've read: somewhere in there it should have rho(r)*V-cell, but the position of ?r? or if the V-cell is referring to the total volume of the system or the volume of some tinier, grid-sized, cell remains nebulous. And I assume that I might just not be reading the documentation correctly or overlooking something therein.
If you're curious, I'm looking to get the CHGCAR data into a more manageable format so I can look at various topological properties of electron density and see how the relate to material properties. But first, I'd like to be able to get the electron density data into something I can more easily play around with.
Thanks.
Looking at the CHGCAR, I can clearly see where it gives me the lattice vectors and atomic coordinates. Beyond those, though, I am at a loss as to how to interpret the data. I've looked at the VASP documentation but honestly I'm not exactly clear on what the all of the values mean. Based on what I've read: somewhere in there it should have rho(r)*V-cell, but the position of ?r? or if the V-cell is referring to the total volume of the system or the volume of some tinier, grid-sized, cell remains nebulous. And I assume that I might just not be reading the documentation correctly or overlooking something therein.
If you're curious, I'm looking to get the CHGCAR data into a more manageable format so I can look at various topological properties of electron density and see how the relate to material properties. But first, I'd like to be able to get the electron density data into something I can more easily play around with.
Thanks.