Dear Vaspusers,
how can i read rho(x), rho(y), rho(z) values from CHGCAR file seperately?
What is the algorithm that VASP used to write datas to CHGCAR file?
Best regards,
Beyza
CHGCAR file
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 3
- Joined: Wed Nov 18, 2009 8:23 am
CHGCAR file
Last edited by beyza on Tue Jul 13, 2010 9:36 am, edited 1 time in total.
-
- Sr. Member
- Posts: 339
- Joined: Mon Apr 24, 2006 9:07 am
- License Nr.: 173
- Location: Gothenburg, Sweden
CHGCAR file
The way the CHGCAR file is written is stated in the manual:
http://cms.mpi.univie.ac.at/vasp/vasp/CHGCAR_file.html
There have also been multiple threads on the format structure. So for a more elobaration on the format, please just search the forum threads.
Cheers,
/Dan
http://cms.mpi.univie.ac.at/vasp/vasp/CHGCAR_file.html
There have also been multiple threads on the format structure. So for a more elobaration on the format, please just search the forum threads.
Cheers,
/Dan
Last edited by forsdan on Tue Jul 13, 2010 11:02 am, edited 1 time in total.
-
- Newbie
- Posts: 3
- Joined: Wed Nov 18, 2009 8:23 am
CHGCAR file
Thank you for your advice but,
what does it mean that the x index is the fastest index, and the z index is the slowest index that written in manual?
How can i exactly read rho(x), rho(y) and rho(z) from CHGCAR file?
Which one is rho(x), rho(y) and rho(z) in CHGCAR file?
Best regards
Beyza
what does it mean that the x index is the fastest index, and the z index is the slowest index that written in manual?
How can i exactly read rho(x), rho(y) and rho(z) from CHGCAR file?
Which one is rho(x), rho(y) and rho(z) in CHGCAR file?
Best regards
Beyza
Last edited by beyza on Thu Jul 15, 2010 11:27 am, edited 1 time in total.
-
- Newbie
- Posts: 46
- Joined: Sun Jul 22, 2007 2:32 pm
- License Nr.: 5-254
- Location: Bilkent University, Ankara, TURKEY
- Contact:
CHGCAR file
you can examine my read_chg.m matlab function which i use to plot average charge density profile along z-direction. Just copy all the files at http://unam.bilkent.edu.tr/mt2/random/read_chg/ into your computer and type chg_profile in matlab or octave console.
Mehmet
Mehmet
Last edited by metosa on Mon Aug 09, 2010 7:35 pm, edited 1 time in total.
-
- Newbie
- Posts: 4
- Joined: Thu Jul 22, 2010 2:41 am
- Contact:
CHGCAR file
Dear everyone~
I find there have many negative values in my CHGCAR file,I wonder know why?Dos any body have gain the same situation,how to deal with it?
thank you!
<span class='smallblacktext'>[ Edited Sat Aug 14 2010, 03:32PM ]</span>
I find there have many negative values in my CHGCAR file,I wonder know why?Dos any body have gain the same situation,how to deal with it?
thank you!
<span class='smallblacktext'>[ Edited Sat Aug 14 2010, 03:32PM ]</span>
Last edited by hanyuhonest on Sat Aug 14, 2010 11:53 am, edited 1 time in total.