Can VESTA visualise XY-plane CHGCAR file or .grd file?

364 views
Skip to first unread message

KK M

unread,
Aug 7, 2023, 3:42:56 AM8/7/23
to 'M, Christina' via VESTA users' list, Koichi Momma
Hi all,

i am trying to work on CHGCAR file from VASP and to edit data so that i want to get charge density values be integrated over Z-axis, and have final data file as XY-plane grid based charge density values.

1. i tried to generate some say, 'ppppppp.grd' grid file using VASPKIT tools. it also generated x.grd and Y.grd files. i tried to open such .grd file in VESTA but its not opening.

2. Also, i am thinking of generating the charge density XY-plane grid file integrating the density along Z-direction. but i have to know if such XY-plane CHGCAR values be visualised from VESTA. i presume this would be similar to the 'slice' 2D display option in VESTA. but want to confirm from the users, please.

Regards  

KK M

unread,
Aug 9, 2023, 7:36:50 AM8/9/23
to 'M, Christina' via VESTA users' list, Koichi Momma
any suggestions, please?

Koichi Momma

unread,
Aug 12, 2023, 8:14:20 AM8/12/23
to VESTA users' list
Open the original CHGCAR file with VESTA and use the "2D Data Display" window to integrate data along the Z-axis. In that window, create a slice with "Project along [hkl] axis" mode. Then, once you get the projection, use File -> "Export 2D data" menu.

Please see users manual for more detail.
http://jp-minerals.org/vesta/en/doc/VESTAch15.html#x34-21400015

Best regards,
Koichi
--
Koichi Momma
National Museum of Nature and Science
4-1-1 Amakubo, Tsukuba, Ibaraki 305-0005, Japan
TEL: +81-29-853-8163
FAX: +81-29-853-8998
k-m...@kahaku.go.jp
vest...@gmail.com

KK M

unread,
Aug 12, 2023, 9:25:41 AM8/12/23
to vesta-...@googlegroups.com
Thanks a lot Dr Koichi Momma-san.

--

---
You received this message because you are subscribed to the Google Groups "VESTA users' list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vesta-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vesta-discuss/1215d117-7c35-be66-5ba6-2ff4a00dfe0e%40gmail.com.

KK M

unread,
Aug 12, 2023, 8:43:01 PM8/12/23
to vesta-...@googlegroups.com
Dr Koichi Momma-san,

I am trying to understand the manual for the option "Project along [hkl] axis". As I have not done such an option before, it's a bit complex to me to give the input values(?). As given, this option gives us, cumulative data of a series of (hkl) slices summed up along the [hkl] direction in a user-specified range. This is a very good option for critical analysis of density. 
But in my case, I currently need cumulative data for the entire crystal in summing up all z-direction integrated charge densities and projected on xy-plane i.e. (001).  So, is there an option to select, directly, such cumulative densities in any desired plane projection? 
Say, for the moment I need integration among z-direction, but if anyone wants in other directions, cumulative along x-, or y- directions? is it possible? 

Kind regards
 

KK M

unread,
Aug 17, 2023, 4:16:39 AM8/17/23
to vesta-...@googlegroups.com
Dr Koichi Momma,
I tried to draw the 2D plot of an Z-direction integrated CHGCAR display on an XY-plane. for a model (Two layered Graphene) using the option you suggested. But I feel the result is not as expected. May please see the pictures below. In fact i wanted to plot this integrated display of a CHGCAR difference plot (i.e. Non-optimised CHGCAR is subtracted from the Optimised CHGCAR model). I expect the outcome to be somewhat symmetric, or some systematic charge density distribution. Whereas I saw a concentrated charge density at some specific region. I don't think this is correct. May I know what could have gone wrong in plotting, or selecting the 2D display integration?
I am attaching the optimised, non-optimised and the charge-difference 2D plots for the same set of parameters given in the 'slice' dialog box.
 
CHGDIFF-5-2D-display.png
CHGCAR-5-opti-2D-display.png
CHGCAR-5-non-opti-2D-display.png
Reply all
Reply to author
Forward
0 new messages