STRESS in NPT Simulation

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
burakgurlek
Newbie
Newbie
Posts: 44
Joined: Thu Apr 06, 2023 12:25 pm

STRESS in NPT Simulation

#1 Post by burakgurlek » Wed Jan 31, 2024 3:32 pm

Hi,

I am running an NPT simulation and I wonder if one does not specify PSTRESS, Does VASP give a default value? At which pressure, pressure will be equilibrated?
I tried this and the simulation runs without error, but not sure what is happening.

Regards,
Burak

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: STRESS in NPT Simulation

#2 Post by manuel_engel1 » Wed Jan 31, 2024 4:25 pm

Hi Burak,

The default value for PSRESS if it is not specified is 0. I have added this information here on the VASP wiki. You can also obtain the actual value of PSTRESS used in your simulation by inspecting the vasprun.xml file: you may simply search for "PSTRESS" in the file or you may use this Xpath query:

Code: Select all

modeling/parameters/separator[@name="ionic"]/i[@name="PSTRESS"]
I hope that helps answer your question.
Manuel
VASP developer

burakgurlek
Newbie
Newbie
Posts: 44
Joined: Thu Apr 06, 2023 12:25 pm

Re: STRESS in NPT Simulation

#3 Post by burakgurlek » Mon Feb 05, 2024 5:59 pm

Hi Manuel Engel,

Thanks for your info. So if PSTRESS=0, should I assume that the system is in the ambient pressure?

Regards,
Burak

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: STRESS in NPT Simulation

#4 Post by manuel_engel1 » Tue Feb 06, 2024 9:49 am

In your case, i.e., for NPT molecular dynamics simulations, PSTRESS controls the target pressure of the barostat. If it is zero, that means there is no external pressure applied.
Manuel
VASP developer

burakgurlek
Newbie
Newbie
Posts: 44
Joined: Thu Apr 06, 2023 12:25 pm

Re: STRESS in NPT Simulation

#5 Post by burakgurlek » Wed Feb 14, 2024 11:08 am

Dear Manuel,

Thanks, if I set PSTRESS=0, is it ambient pressure? or I need to specifically set it to 1atm?

Regards,
Burak

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: STRESS in NPT Simulation

#6 Post by manuel_engel1 » Wed Feb 14, 2024 11:39 am

You will need to specify it by setting PSTRESS equal to 1atm. However, keep in mind that PSTRESS is in kB, so you have to convert the value of 1atm to the correct units in kB first.
Manuel
VASP developer

Post Reply