lattice parametrs optemization

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


Moderators: Global Moderator, Moderator

Locked
Message
Author
chemical

lattice parametrs optemization

#1 Post by chemical » Sat Jul 12, 2008 5:56 am

Hi Dear vasp user,
I’m trying to optimize the lattice parameters. I'm working hexagonal structure (a=b#c and ß=120). I’wd like to use the cell volume in my POSCAR file instead a,b andc. But my file is not working.

POSCAR:
System=surface1
203.098
2.48 0.0 0.0
0.0 2.48 0.0
0.0 0.0 5.86
DIRECT
0.0 0.0 0.0
0.66 0.33 0.33
0.33 0.66 0.66

I would appreciate if someone tell me why it’s not working.


regards
Last edited by chemical on Sat Jul 12, 2008 5:56 am, edited 1 time in total.

forsdan
Sr. Member
Sr. Member
Posts: 339
Joined: Mon Apr 24, 2006 9:07 am
License Nr.: 173
Location: Gothenburg, Sweden

lattice parametrs optemization

#2 Post by forsdan » Sat Jul 12, 2008 11:31 am

If you read the poscar.F source code, you will find that you have to put "-V" (where V is your volume) in order to interpret the scaling value as a volume. So if you just add a minus sign in front of 203.098 you will get what you want.

EDIT: Note: You also have to add the number of atoms per species after the three basis vectors to get a correct POSCAR.

Best regards,
/Dan Fors


<span class='smallblacktext'>[ Edited Sat Jul 12 2008, 10:00PM ]</span>
Last edited by forsdan on Sat Jul 12, 2008 11:31 am, edited 1 time in total.

Locked