Quang Nguyen

Personal website

CHGCAR Utility: Update 1

This program is for manipulating CHGCAR file(s) created by VASP calculation(s)

- Support non-collinear calculation
- Support non-spin polarized calculation
- Get spin density difference
- Split charge density into up and down
- Print out volume, species information
- Fix unit of XSF file (e/Angstrom^3 -> e/Bohr^3)
- Set output files for VASPVIEW

VASP 4.x: POTCAR, PARCHG/CHGCAR file(s) from VASP calculation(s)
VASP 5.x: PARCHG/CHGCAR file(s) from VASP calculation(s)

chgutil -h : Display program help
chgutil -x file : Split charge into up and down
chgutil -s file : Get spin density
chgutil -c file : Get charge density
chgutil -ds file file1 file2 : Get spin density difference
chgutil -dc file file1 file2 : Get charge density difference

For charge/spin difference, the first file is CHGCAR of full system and only information of this file is printed out.

Get spin density from CHGCAR
chgutil -s CHGCAR -> create SPNDEN.xsf & SPNDEN.vasp
Get charge density difference
chgutil -dc CHGCAR CHGCAR1 CHGCAR2 -> create CHGDIFF.xsf & CHGDIFF.vasp

This program is a closed source software. Free for non-commercial use.

Select the appropriate platform to download a binary of the program:
If there is any problem, please contact me.