How to set the DIRECTION of an external electric field in VASP?

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
salva
Newbie
Newbie
Posts: 11
Joined: Thu Oct 12, 2006 6:57 pm
License Nr.: 592
Contact:

How to set the DIRECTION of an external electric field in VASP?

#1 Post by salva » Tue Feb 06, 2007 3:30 pm

Hello,
It is hard for me to understand how the electric field is set up in the program.
If I define EFIELD as a vector (I want the field to be in the x-direction):
EFIELD= 0.01 0.0 0.0
I get the following error message:
internal error: XML_INCAR called with a vector, use XML_INCAR_V instead EFIELD

Nevertheless, when I write the field as an scalar:
EFIELD= 0.01
the program goes with no problem (it certainly wants to read a scalar for the field). How can I indicate the program the direction of the electric field? Or, if this is not possible, what is the default direction in which this field is defined so that I rotate my system accordingly?

Thank you in advance for your time!
Salvador.
Last edited by salva on Tue Feb 06, 2007 3:30 pm, edited 1 time in total.

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

How to set the DIRECTION of an external electric field in VASP?

#2 Post by admin » Mon Feb 12, 2007 2:03 pm

the direction of the external field is along the z axis by default,
please rotate the cell
Last edited by admin on Mon Feb 12, 2007 2:03 pm, edited 1 time in total.

salva
Newbie
Newbie
Posts: 11
Joined: Thu Oct 12, 2006 6:57 pm
License Nr.: 592
Contact:

How to set the DIRECTION of an external electric field in VASP?

#3 Post by salva » Mon Feb 19, 2007 2:29 pm

Thank you!
S.
Last edited by salva on Mon Feb 19, 2007 2:29 pm, edited 1 time in total.

Post Reply