(example of don't-remember-what-but-it-gives-you-an-idea)
The Point: You need this file to do simulated STS and STM.
Prerequisites: An optimized job with a preconverged WAVECAR. You will need to resubmit, and you may consider creating a new folder for this job using the new atomic coordinates (so change CONTCAR to POSCAR).
Notes: This is a very fast calculation, so the majority of your work has already been done. For more information, check here.
You'll need to add some more lines to your INCAR file, and in particular you care about setting the following lines (which you can just copy/paste into your file):
ISTART = 1Once you have set these, you're ready to submit a job as you normally would.
LWAVE=.FALSE.
LPARD=.TRUE.
LCHARG=.TRUE.
EINT=-1 0
NBMOD=-3
In the case shown above, the EINT setting specifies to include electrons who energies ranges from -1 V up to the Fermi energy. The negative sign indicates that you are looking at occupied states of the system (and for unoccupied, you would use a positive number). The NBMOD setting specifies that the Fermi energy is treated as being 0 in energy. These energies refer to the voltage bias that you would have been scanning at, and it is common to use a higher (in absolute magnitude) bias. In this case, the presumption of the bias would be -1 V, a fairly common parameter, and so the treat the tip as sampling electrons in the range from -1 V to 0 V.
Alternatively, if you specifically want certain "bands", indexed the same way they are in the EIGENVAL file, you would use:
LPARD=.TRUE. #calculate partial charge densityFor your specific case you would change EINT or IBAND according to what you need. And, if you look at the manual link above, you'll see there are other variations as well.
IBAND= 1 2 3 5 10 20 #indexes of bands to be included in partial charge density
A caveat from Jon: "Now, all that said... there is one additionally confusing thing which I think people generally ignore. The energies that come out of DFT are the "Kohn-Sham energies" which don't necessarily match the real-life electron energies... though people have found you can re-scale them to match correctly. We always ignore that (we don't rescale or anything... and without having more information there really isn't a way to do so) - so it's just an extra tidbit of knowledge that you can't really do anything about and it can just sit in the back of your mind and nag at you."
Hi, I followed the steps as mentioned in the notes and generated a PARCHG file for the energy range as shown above !! I am getting a huge file of possibly 200,000 lines !! How can I read the data from the file , what does they imply ?
ReplyDeleteI need to evaluate partial charges in some specific bands !!
Use the Vesta program
DeleteThe represent the electron densities in each point of space.
DeleteAs noted above, you can use VESTA to visualize this, or HIVE-STM (https://dannyvanpoucke.be/hive-stm-en/) in case of STM simulations.
I need to plot the planar average of PARCHG along x-y plane with respect to z axis of my supercell. My PARCHG consists of 40x40x280 grid points. I am not sure how the charge density is written? Can someone suggest a script?
ReplyDeleteVesta can do the post processing for you.
ReplyDeleteThank you, it was really useful.
ReplyDeleteThank you so much for such explanation..
ReplyDeleteBut i want to plot charge density of a particular band at a particular k point. I am bit confused in setting "KPUSE" in vasp.
Kindly suggest me any possible way for this