CHGCAR format?

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
topl8921
Newbie
Newbie
Posts: 2
Joined: Thu Feb 14, 2013 12:25 pm

CHGCAR format?

#1 Post by topl8921 » Wed Feb 20, 2013 1:59 pm

How do I read CHGCAR format?

When I open CHGCAR file, that file format
Sys_name
length scale
lattice vector1
" 2
" 3
Coordinate_my_System

Next... some data..?

What is mean of some data?


How do i read another file format?
How do i get another file format explanation?
Last edited by topl8921 on Wed Feb 20, 2013 1:59 pm, edited 1 time in total.

juhL

CHGCAR format?

#2 Post by juhL » Thu Feb 21, 2013 12:29 pm

next line is NGXF*NGYF*NGZF (the FFT grid dimensions). Then a block follows where the charge density is written on this grid (X index runs first, then y and z). [Should be stated like this in the manual.]
Last edited by juhL on Thu Feb 21, 2013 12:29 pm, edited 1 time in total.

maartendft
Newbie
Newbie
Posts: 38
Joined: Sun Feb 07, 2010 7:17 pm
Location: The Hague, Netherlands

CHGCAR format?

#3 Post by maartendft » Sat Mar 16, 2013 10:24 pm

This has been discussed numerous times on the forum. See code that I posted earlier to read the CHGCAR:

http://cms.mpi.univie.ac.at/vasp-forum/ ... =4&t=11845
Last edited by maartendft on Sat Mar 16, 2013 10:24 pm, edited 1 time in total.

Post Reply