Fail to constrain a cubic cell with fixed shape

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
xiancai
Newbie
Newbie
Posts: 4
Joined: Sun Nov 17, 2019 9:42 am

Fail to constrain a cubic cell with fixed shape

#1 Post by xiancai » Wed Jan 24, 2024 2:43 pm

Dear VASP developers and users,

I performed a FPMD simulation in the NPT ensemble using VASP 6.4.1, during which the simulation cell was constrained as a cubic cell with variable volume but fixed shape through the ICONST file. However, I found that the side lengths were not strictly equal to each other, and the angles among lattice vectors were not strictly constrained either. All input files (i.e., INCAR, ICONST, POSCAR, POTCAR, and KPOINTS) as well as the outputted XDATCAR and CONTCAR files, are provided as attachments. I am wondering if this phenomenon is normal, or if there are any problems in my input files.

Thank you for your time and I am looking forward to your reply.
Sincerely
Hua Tian
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 229
Joined: Mon Sep 13, 2021 12:45 pm

Re: Fail to constrain a cubic cell with fixed shape

#2 Post by alexey.tal » Thu Jan 25, 2024 10:33 am

Dear Hua Tian,
However, I found that the side lengths were not strictly equal to each other, and the angles among lattice vectors were not strictly constrained either.
I see that the difference in the lattice vectors is <1E-6, which is within the default accuracy.
VASP uses the Shake and Rattle algorithm to impose constraints on the system, as for example the lattice. The accuracy of this method can be set by the SHAKETOL tag.
You can also increase the maximum number of steps of the shake algorithm for better accuracy with SHAKEMAXITER

xiancai
Newbie
Newbie
Posts: 4
Joined: Sun Nov 17, 2019 9:42 am

Re: Fail to constrain a cubic cell with fixed shape

#3 Post by xiancai » Fri Jan 26, 2024 12:18 pm

Dear Dr. Tal,

Thank you very much for your guidance! I will try using these two keywords to reduce the differences.

Sincerely,
Tian Hua
alexey.tal wrote: Thu Jan 25, 2024 10:33 am Dear Hua Tian,
However, I found that the side lengths were not strictly equal to each other, and the angles among lattice vectors were not strictly constrained either.
I see that the difference in the lattice vectors is <1E-6, which is within the default accuracy.
VASP uses the Shake and Rattle algorithm to impose constraints on the system, as for example the lattice. The accuracy of this method can be set by the SHAKETOL tag.
You can also increase the maximum number of steps of the shake algorithm for better accuracy with SHAKEMAXITER

Post Reply