Unstable pressure

Hi all,

I’ve faced an issue which is related to the used force fields and my experience and I would like to share it with you for figuring out my mistake. I recently came up with a need to validate the available DMF (N,N-dimetylformamide) force fields, e.g. GROMACS 54a7 and OPLSAA.

I’ve created a simulation box whose edge’s length is 2.5x larger than the cutoff, while the cutoff is 1.2nm and the vdw interaction is shifted (just potential) and the long range coulombic interaction is treated via P3M on LAMMPS, and PME on GROMACS.

Both ffs result in the correct and expected density at pressure 1 atm and temperature 300K under a NPT simulation for 1ns, although the pressure relaxation time must be 2ps for GROMACS, and the compressibility value was chosen 6.27e-5 1/bar. 1ps is a short time and the box’s size is changed dramatically, anyway this is not my concern since LAMMPS gives the same result for 1ps.

The issue is related to the NVT simulation, where I would like to measure the derived pressure and would like to study the system’s dynamics. the pressure is extremely sensitive to the simulation box and each change of 0.5 \AA can change the average pressure, in addition, the pressure values sweep a wide range from -2000 to 2000 atms.

I can share my files and logs with you—please let me know your thoughts and insights.
I used the same force fields and parameters for both ensemble-dependent simulations.
I generated the parameters using both LigParGen (OPLS-AA) and the ATB server (GROMACS).

Best
Russell

Neither the large change in pressure for an ~1.5% change in volume, nor the overall large pressure fluctuations given that you have a very small system size are a big surprise, but rather expected behavior.

I’ve measured the diffusion coefficient of the molecules as a key for validating the system’s dynamics, but the derived value is 0.26e-9 m^2/s while the reported values is 1.6e-9 m^2/s.

I’m actually wonder I have to seek the issue in either my script or in the ffs parameters.

That is a question for the people that have a vested interest in your research like your adviser or senior colleagues or competent collaborators. It is not a LAMMPS problem. LAMMPS just uses whatever parameters and settings you feed it and executes the selected calculations. It doesn’t care whether those a suitable or not suitable. That is for you and the people that work with you to figure out.

Alright, Thank you!