PSTRESS: Difference between revisions

From VASP Wiki
No edit summary
(Edit brief description how to correct for Pulay stress)
Line 4: Line 4:


----
----
If the {{TAG|PSTRESS}} tag is specified VASP will add this stress to the stress tensor, and an energy <math> E= V * \mathrm{PSTRESS} </math> to the energy. This allows the user to converge to a specified external pressure. Before using this tag please read the section {{TAG | Energy vs volume Volume relaxations and Pulay stress}}
If the {{TAG|PSTRESS}} tag is specified VASP will add this pressure to the diagonals of the stress tensor and add an energy term <math> E= V * \mathrm{PSTRESS} </math> to the energy. This allows the user to converge to a specified external pressure.
 
{{TAG|PSTRESS}} can be also used to correct for errors cause by the Pulay stress, that is, errors in the calculated stress tensor causes by basis set incompleteness errors. In order to correct for the Pulay stress error, set {{TAG|PSTRESS}} to the negative value, that you obtain by calculating the pressure at a very large cutoff and the desired cutoff. Before using this tag in this way, please read the section {{TAG | Energy vs volume Volume relaxations and Pulay stress}}


In molecular dynamics calculations within the {{TAG|NpT ensemble}} this tag controls the target pressure. The unit of {{TAG|PSTRESS}} is in kB.
In molecular dynamics calculations within the {{TAG|NpT ensemble}} this tag controls the target pressure. The unit of {{TAG|PSTRESS}} is in kB.

Revision as of 18:45, 29 March 2022

PSTRESS = [real] 

Description: This flag controls whether Pulay corrections are added to the stress tensor or not. In molecular dynamics calculations it controls the pressure.


If the PSTRESS tag is specified VASP will add this pressure to the diagonals of the stress tensor and add an energy term to the energy. This allows the user to converge to a specified external pressure.

PSTRESS can be also used to correct for errors cause by the Pulay stress, that is, errors in the calculated stress tensor causes by basis set incompleteness errors. In order to correct for the Pulay stress error, set PSTRESS to the negative value, that you obtain by calculating the pressure at a very large cutoff and the desired cutoff. Before using this tag in this way, please read the section Energy vs volume Volume relaxations and Pulay stress

In molecular dynamics calculations within the NpT ensemble this tag controls the target pressure. The unit of PSTRESS is in kB.

Examples that use this tag