Page 1 of 1
Electric field calculation
Posted: Mon Mar 13, 2017 11:21 am
by ornis
Dear Altruists
For my VASP.5.4.1 calculation I have two metal surfaces (flat and corrugated) and I have to calculate their corresponding electric field. Hence I would like to know two points-
1. Is it possible to get the electric field directly from VASP? If possible then how, as VASP manual does not give any explicit idea regarding this analysis.
2. If VASP does not give any direct calculation of electric field is there any other way to get the electric field within VASP?
Thank you very much.
Re: Electric field calculation
Posted: Tue Mar 14, 2017 2:30 pm
by admin
The VASP calculates the total local potential (LVTOT=.TRUE.)
Re: Electric field calculation
Posted: Wed Mar 15, 2017 1:57 am
by ornis
Dear Admin
Thank you very much for your prompt response. Although I am aware of the "LOCPOT" file for local electrostatic potential (LVTOT=.TRUE.; LVHAR=.TRUE.), I would like to know is there any script available to calculate the electric field (derivative of electrostatic potential) from the "LOCPOT" file?
Thank you again.
Re: Electric field calculation
Posted: Wed Mar 15, 2017 9:17 am
by admin
There is a script for displaying the electrostatic potential
http://cms.mpi.univie.ac.at/vasp-forum/ ... tav#p17361
Re: Electric field calculation
Posted: Mon Oct 10, 2022 12:39 pm
by SKM
hi
i could not open the lick.
can you give full address of the link?
i tried to search with the serial number at the end. but in vain.
Thank you
Re: Electric field calculation
Posted: Mon Oct 10, 2022 12:47 pm
by fabien_tran1
Re: Electric field calculation
Posted: Mon Oct 10, 2022 10:57 pm
by SKM
Hi
thank you for the reply.
But, the intention i was looking for the script is different.
I was under the impression that, this electric field calculation gives a result something like CHGCAR format, showing the electrostatic potential around, each atom. Not sure my expectation is correct as per this thread intended? my intention is to get the profile like below picture attached. Kindly suggest, how to get this type of electrostatic profiles from VASP runs?
Re: Electric field calculation
Posted: Mon Oct 10, 2022 10:58 pm
by SKM
Hi
thank you for the reply.
But, the intention i was looking for the script is different.
I was under the impression that, this electric field calculation gives a result something like CHGCAR format, showing the electrostatic potential around, each atom. Not sure my expectation is correct as per this thread intended? my intention is to get the profile like below picture attached. Kindly suggest, how to get this type of electrostatic profiles from VASP runs?
Re: Electric field calculation
Posted: Mon Oct 17, 2022 11:57 am
by fabien_tran1
As explained at
LVHAR if you set LVHAR=.TRUE. in INCAR, then the file LOCPOT will contain the total (e.g., from the electrons and nuclei) electrostatic potential. Is it what you want?
Re: Electric field calculation
Posted: Mon Oct 17, 2022 12:34 pm
by fabien_tran1
However, note the important point: In the PAW spheres, the electrostatic potential written in LOCPOT misses a contribution. Is it a problem depends on your purpose.