STRESS in NPT Simulation
Moderators: Global Moderator, Moderator
-
- Jr. Member
- Posts: 51
- Joined: Thu Apr 06, 2023 12:25 pm
STRESS in NPT Simulation
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
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
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: STRESS in NPT Simulation
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:
I hope that helps answer your question.
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"]
Manuel
VASP developer
VASP developer
-
- Jr. Member
- Posts: 51
- Joined: Thu Apr 06, 2023 12:25 pm
Re: STRESS in NPT Simulation
Hi Manuel Engel,
Thanks for your info. So if PSTRESS=0, should I assume that the system is in the ambient pressure?
Regards,
Burak
Thanks for your info. So if PSTRESS=0, should I assume that the system is in the ambient pressure?
Regards,
Burak
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: STRESS in NPT Simulation
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
VASP developer
-
- Jr. Member
- Posts: 51
- Joined: Thu Apr 06, 2023 12:25 pm
Re: STRESS in NPT Simulation
Dear Manuel,
Thanks, if I set PSTRESS=0, is it ambient pressure? or I need to specifically set it to 1atm?
Regards,
Burak
Thanks, if I set PSTRESS=0, is it ambient pressure? or I need to specifically set it to 1atm?
Regards,
Burak
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: STRESS in NPT Simulation
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
VASP developer