[CP2K-user] [CP2K:19790] Cons. Qty for different ensembles + Pressure fluctuation

Krack Matthias matthias.krack at psi.ch
Mon Jan 22 13:28:58 UTC 2024


Hi

The GMAX parameter for Ewald is a bit sloppy in these inputs. Suggested values are 1 to 2 points per Angstrom based on the cell edge lengths, i.e. GMAX 20 is numerically more appropriate. In the example I gave you the GMAX value is automatically adapted to the cell size.

Best

Matthias

From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of Léon Luntadila Lufungula <Leon.luntadilalufungula at uantwerpen.be>
Date: Monday, 22 January 2024 at 14:13
To: cp2k <cp2k at googlegroups.com>
Subject: Re: [CP2K:19788] Cons. Qty for different ensembles + Pressure fluctuation
P.S. These calculations were done based of the input files in https://www.cp2k.org/exercises:2018_uzh_acpc2:mol_sol, because the Fist regtest-water folder was not yet available at the time, but the FF params are correct, the coordinates are just different than the one molecule box in the tests directory.

On Monday 22 January 2024 at 14:03:06 UTC+1 Léon Luntadila Lufungula wrote:
Dear Matthias,

I have similar results for a box of 256 water molecules:
NVT:
[https://groups.google.com/group/cp2k/attach/721f9288cda1e/NVT-256.png?part=0.1&view=1]
NPT: (fluctuations are a bit smaller but still in the range of several kbar...)
[https://groups.google.com/group/cp2k/attach/721f9288cda1e/NPT-256.png?part=0.3&view=1][https://groups.google.com/group/cp2k/attach/721f9288cda1e/Pressure-256.png?part=0.2&view=1]

You say that the sample should be equilibrated well in advance before starting the sampling run, so do you mean I should run an NVT simulation for longer until it equilibrates before running an NPT from the thermalized end structure? Or do you mean both NVT and NPT should be run for longer until the Cons. Qty. is also equilibrated? Because in both cases the temperature seems to be equilibrated quite well and the pressure in the NPT ensemble is also constant albeit with very large oscillations...

Kind regards,
Léon


On Monday 22 January 2024 at 13:40:05 UTC+1 Krack Matthias wrote:
Dear Léon

a 32 H2O cell is still a relatively small system which can cause large fluctuations. I suggest to try at least the 6x6x6 = 216 H2O input<https://github.com/cp2k/cp2k/blob/master/tests/Fist/regtest-water/H2O-TIP3P-6x6x6.inp>. The sample should be equilibrated well in advance before starting the sampling run.

HTH

Matthias

From: cp... at googlegroups.com <cp... at googlegroups.com> on behalf of Léon Luntadila Lufungula <Leon.luntad... at uantwerpen.be>
Date: Monday, 22 January 2024 at 12:56
To: cp2k <cp... at googlegroups.com>
Subject: [CP2K:19784] Cons. Qty for different ensembles + Pressure fluctuation
Dear all,

I ran several simulations on a box of 32 water molecules with the TIP3P force field:
1) 1 ns NVE trajectory with timestep 0.5 fs
2) 1 ns NVT trajectory at 298.15K with timestep 0.5 fs and thermostat time constant of 100fs
 3) 1 ns NPT_I trajectory restarted from the final structure of the NVT trajectory at 298.15K and 1 bar with timestep 0.5 and thermostat and barostat time constants of 100 fs

I plotted the Cons. Qty [a.u.] vs. Time [fs] for the three simulations and saw that the constant of motion was only more or less constant for the NVE trajectory. The NVT and NPT trajectories both had strong oscillations and significant drift of the constant of motion (see below) and I was wondering if this is normal behaviour or that this means that the system is not yet equilibrated? I would think that the Cons. Qty. should remain constant but I can also understand that the thermostat and barostat might influence its behaviour in a way.
NVE:
[https://groups.google.com/group/cp2k/attach/720b7b929b503/NVE.png?part=0.1&view=1]
NVT:
[https://groups.google.com/group/cp2k/attach/720b7b929b503/NVT.png?part=0.4&view=1]
NPT:
[https://groups.google.com/group/cp2k/attach/720b7b929b503/NPT.png?part=0.3&view=1]
The simulations of the water box were small test cases, but I also need to know what behaviour to expect when going to my production runs with my systems of interest...

Additionally, in the NPT ensemble, the pressure seems to fluctuate very strongly from -20000 to +20000 bar which seems to be quite excessive to me. Is this normal? I've also seen this asked in another post<https://groups.google.com/g/cp2k/c/gxA8r6wmyF4/m/k8QT7iglAAAJ>, but that person did not get a reply unfortunately....
[https://groups.google.com/group/cp2k/attach/720b7b929b503/Pressure.png?part=0.2&view=1]

Thanks in advance for the help!

Kind regards,
Léon
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns... at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/76d3e94b-4a67-4fcc-8861-78a566ebb107n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/76d3e94b-4a67-4fcc-8861-78a566ebb107n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/e6d4002e-91a7-45cd-817c-adc66616d1d6n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/e6d4002e-91a7-45cd-817c-adc66616d1d6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ZRAP278MB082736BE0B4ECAEF2E055D0EF4752%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240122/99fac041/attachment-0001.htm>


More information about the CP2K-user mailing list