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
Fail to constrain a cubic cell with fixed shape
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 11
- Joined: Sun Nov 17, 2019 9:42 am
Fail to constrain a cubic cell with fixed shape
You do not have the required permissions to view the files attached to this post.
-
- Global Moderator
- Posts: 314
- Joined: Mon Sep 13, 2021 12:45 pm
Re: Fail to constrain a cubic cell with fixed shape
Dear Hua Tian,
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
I see that the difference in the lattice vectors is <1E-6, which is within the default accuracy.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.
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
-
- Newbie
- Posts: 11
- Joined: Sun Nov 17, 2019 9:42 am
Re: Fail to constrain a cubic cell with fixed shape
Dear Dr. Tal,
Thank you very much for your guidance! I will try using these two keywords to reduce the differences.
Sincerely,
Tian Hua
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,
I see that the difference in the lattice vectors is <1E-6, which is within the default accuracy.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.
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