How to maintain constant density of water with NPT ensemble?

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
jun_yin2
Newbie
Newbie
Posts: 25
Joined: Wed Jul 20, 2022 7:18 am

How to maintain constant density of water with NPT ensemble?

#1 Post by jun_yin2 » Sat Jun 10, 2023 3:40 am

Dear all,

I have constructed a solid-liquid interface model with water as the liquid phase. During the AIMD simulation, I used the NPT ensemble. However, I noticed that under the NPT ensemble, the entire model's lattice changes significantly, especially the volume of the water in the upper liquid phase, which leads to an inconsistent density. I would like to know if there is a way to maintain a constant density of 1 g/cm3 for the water box while using the NPT ensemble?

Hope you can help me.

marie-therese.huebsch
Full Member
Full Member
Posts: 212
Joined: Tue Jan 19, 2021 12:01 am

Re: How to maintain constant density of water with NPT ensemble?

#2 Post by marie-therese.huebsch » Mon Jun 12, 2023 5:32 am

Hi,

In principle, it is not surprising the volume changes in an NpT ensemble. Can you specify what you mean by inconsistent density? Often it is hard to find a suitable value for LANGEVIN_GAMMA_L and PMASS. If they are too large, the simulation time becomes very long; if they are too small, the system can blow up (meaning that there are large fluctuations in pressure and volume).

To help further, I would need to see the input and main output as described in the forum guidelines.

Marie-Therese

Locked