Electric field calculation

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
ornis
Newbie
Newbie
Posts: 3
Joined: Sat Jan 21, 2017 11:14 am

Electric field calculation

#1 Post by ornis » Mon Mar 13, 2017 11:21 am

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.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Re: Electric field calculation

#2 Post by admin » Tue Mar 14, 2017 2:30 pm

The VASP calculates the total local potential (LVTOT=.TRUE.)

ornis
Newbie
Newbie
Posts: 3
Joined: Sat Jan 21, 2017 11:14 am

Re: Electric field calculation

#3 Post by ornis » Wed Mar 15, 2017 1:57 am

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.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Re: Electric field calculation

#4 Post by admin » Wed Mar 15, 2017 9:17 am

There is a script for displaying the electrostatic potential
http://cms.mpi.univie.ac.at/vasp-forum/ ... tav#p17361

User avatar
SKM
Full Member
Full Member
Posts: 125
Joined: Wed Oct 30, 2019 5:39 am
License Nr.: 5-516

Re: Electric field calculation

#5 Post by SKM » Mon Oct 10, 2022 12:39 pm

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
Regards
SKM

fabien_tran1
Global Moderator
Global Moderator
Posts: 418
Joined: Mon Sep 13, 2021 11:02 am

Re: Electric field calculation

#6 Post by fabien_tran1 » Mon Oct 10, 2022 12:47 pm


User avatar
SKM
Full Member
Full Member
Posts: 125
Joined: Wed Oct 30, 2019 5:39 am
License Nr.: 5-516

Re: Electric field calculation

#7 Post by SKM » Mon Oct 10, 2022 10:57 pm

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?
You do not have the required permissions to view the files attached to this post.
Regards
SKM

User avatar
SKM
Full Member
Full Member
Posts: 125
Joined: Wed Oct 30, 2019 5:39 am
License Nr.: 5-516

Re: Electric field calculation

#8 Post by SKM » Mon Oct 10, 2022 10:58 pm

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?
Regards
SKM

fabien_tran1
Global Moderator
Global Moderator
Posts: 418
Joined: Mon Sep 13, 2021 11:02 am

Re: Electric field calculation

#9 Post by fabien_tran1 » Mon Oct 17, 2022 11:57 am

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?

fabien_tran1
Global Moderator
Global Moderator
Posts: 418
Joined: Mon Sep 13, 2021 11:02 am

Re: Electric field calculation

#10 Post by fabien_tran1 » Mon Oct 17, 2022 12:34 pm

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.

Post Reply