Page 1 of 1

STRESS in NPT Simulation

Posted: Wed Jan 31, 2024 3:32 pm
by burakgurlek
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

Re: STRESS in NPT Simulation

Posted: Wed Jan 31, 2024 4:25 pm
by manuel_engel1
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.

Re: STRESS in NPT Simulation

Posted: Mon Feb 05, 2024 5:59 pm
by burakgurlek
Hi Manuel Engel,

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

Regards,
Burak

Re: STRESS in NPT Simulation

Posted: Tue Feb 06, 2024 9:49 am
by manuel_engel1
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.

Re: STRESS in NPT Simulation

Posted: Wed Feb 14, 2024 11:08 am
by burakgurlek
Dear Manuel,

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

Regards,
Burak

Re: STRESS in NPT Simulation

Posted: Wed Feb 14, 2024 11:39 am
by manuel_engel1
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.