Plotting Charge density
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 29
- Joined: Mon Jun 19, 2006 7:03 am
- License Nr.: 853
- Location: FAMU
Plotting Charge density
I tried to plot charge density from CHGCAR using VMD software. I get some plots of the cluster structure. Most of the plot is centered around the origin of the 3D plot. Some of the charge plots are rapped around the corner of the supercell.
My input coordinates for the cluster have both negative and positive values since the cluster is centered at the origin. I know VASP translates the negative values to positive values by adding the basis vectors and taking them to equivalent points. I tried to work with all positive coordinates and the plots did not change.
If some one can tell the solution to my problem or an alternative method to plot the Charge density, I would appreciate very much.
My input coordinates for the cluster have both negative and positive values since the cluster is centered at the origin. I know VASP translates the negative values to positive values by adding the basis vectors and taking them to equivalent points. I tried to work with all positive coordinates and the plots did not change.
If some one can tell the solution to my problem or an alternative method to plot the Charge density, I would appreciate very much.
Last edited by vasp on Tue Jul 23, 2013 4:33 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
Plotting Charge density
You may try VESTA to plot chg densities.
I dont know cluster models but there is a way which works in supercells. You may double your geometry in all directions (x,y,z) or in which you need to see the whole picture. Then you can crop the unwanted parts of your chg graphics.
I dont know cluster models but there is a way which works in supercells. You may double your geometry in all directions (x,y,z) or in which you need to see the whole picture. Then you can crop the unwanted parts of your chg graphics.
Last edited by ccccc on Tue Jul 23, 2013 4:40 pm, edited 1 time in total.
-
- Newbie
- Posts: 27
- Joined: Wed Dec 28, 2011 7:13 pm
Plotting Charge density
Is there any reason your cluster needs to be centered at the origin? Can you center it at (0.5, 0.5, 0.5) instead? VASP should still recognize the symmetry of the cluster (if that's even important to you).
Last edited by WolverBean on Wed Jul 24, 2013 3:59 am, edited 1 time in total.
-
- Newbie
- Posts: 29
- Joined: Mon Jun 19, 2006 7:03 am
- License Nr.: 853
- Location: FAMU
Plotting Charge density
I actually translated the origin so that I get all positive coordinates. So the location of the origin is not an issue.
I have never used VESTA. Used VMD to visualize. How does one crop up?
I have never used VESTA. Used VMD to visualize. How does one crop up?
Last edited by vasp on Wed Jul 24, 2013 11:49 am, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
Plotting Charge density
Vesta is a very user friendly program. You can just download it on your desktop via internet, no need installation. (There is a exe file.) Take your CHGCAR files , or partial charge density files on you desktop. when you open VESTA, you can insert your charge files through File/Open section. Then you can double your geometry, remove unwanted parts and export your chg graphics or you can export your graphics in different formats like jpeg, pdf.. then crop it with another simple drawing program.
Last edited by ccccc on Wed Jul 24, 2013 12:36 pm, edited 1 time in total.
-
- Newbie
- Posts: 29
- Joined: Mon Jun 19, 2006 7:03 am
- License Nr.: 853
- Location: FAMU
Plotting Charge density
CCCCC,
Sorry I got sidetracked.
I downloaded VESTA (Mac Version) and opened VESTA. I tried to open CHGCAR, but VESTA does not see it (the file is gray). Then I copied OUTCAR to the same directory, but that does not help either.
I'm using VASP 4.6 and my mac is running Mac OX 10.8.2.
Sorry I got sidetracked.
I downloaded VESTA (Mac Version) and opened VESTA. I tried to open CHGCAR, but VESTA does not see it (the file is gray). Then I copied OUTCAR to the same directory, but that does not help either.
I'm using VASP 4.6 and my mac is running Mac OX 10.8.2.
Last edited by vasp on Wed Jul 31, 2013 11:56 am, edited 1 time in total.
-
- Newbie
- Posts: 29
- Joined: Sat Sep 27, 2008 5:35 pm
- Location: Halifax, Canada
Plotting Charge density
To get Vesta to read CHGCAR on Mac, you have to grab the CHGCAR file and dump it into the Vesta window (where it says "VESTA Visualization for Electronic and STructural Analysis"). If you have a PC, vaspview may help.
Vahid
Vahid
Last edited by Vahid Askarpour on Wed Jul 31, 2013 11:54 pm, edited 1 time in total.
-
- Newbie
- Posts: 29
- Joined: Mon Jun 19, 2006 7:03 am
- License Nr.: 853
- Location: FAMU
Plotting Charge density
Thank you Vahid. It worked.
Last edited by vasp on Thu Aug 01, 2013 8:44 am, edited 1 time in total.