truncating of CHGCAR

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


Moderators: Global Moderator, Moderator

Locked
Message
Author
Borninger
Newbie
Newbie
Posts: 11
Joined: Mon Nov 13, 2006 9:49 am

truncating of CHGCAR

#1 Post by Borninger » Fri Jan 25, 2008 12:14 pm

Hello everyone,

I have a problem that I'm occupied with for some months now. I want to calculate the difference of two CHGCARs. One of them is an onedimensional infinite wire and the other is one atome in a supercell of 10 times the cell of the infinite chain. What I want to do is:

I want to cut out the chargedensity in the center part of the supercell.

After that I can do the rest (difference ...). Until now I thought that I just have to take the CHGCAR, cut the first lines, then truncate the rest into 20 parts and catting the 10th and 11th part and the first lines (with adapted NGX as NGX_original / 10). But this does not work out, so I'm hoping that some of you can help me.

Thx.

Borninger
Last edited by Borninger on Fri Jan 25, 2008 12:14 pm, edited 1 time in total.

support_vasp
Global Moderator
Global Moderator
Posts: 1817
Joined: Mon Nov 18, 2019 11:00 am

Re: truncating of CHGCAR

#2 Post by support_vasp » Wed Sep 11, 2024 1:41 pm

Hi,

We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.

Best wishes,

VASP


Locked