Dear VASP team and forum members,
I am replicating the molecular dynamics (MD) example for an H₂O molecule provided in the tutorial Molecules Part 3 (tutorials/latest/molecules/part3/#molecules-e11). The calculation runs successfully with the default cubic unit cell provided in the tutorial.
However, when I modify the POSCAR to use a hexagonal unit cell, the MD simulation fails, and I encounter NaN values in the output. Here is a snapshot of the error:
Details of the hexagonal unit cell:
POSCAR:
H2Ogas
1.00000000000000
11.6354420844246391 0.0000000000000000 0.0000000000000000
5.8177210422123204 10.0765884293742989 0.0000000000000000
0.0000000000000000 0.0000000000000000 34.7501493397576482
O H
1 2
Selective dynamics
Direct
0.8047070044179956 0.4273817929715165 0.6367215208717263 T T T
0.8645383469782193 0.3939102533072592 0.6148022162202189 T T T
0.8154557206465911 0.4995143503966095 0.6467228606440487 T T T
INCAR:
PREC = Normal ! standard precision
ENCUT = 520
ISMEAR = 0
SIGMA = 0.1
ALGO = All
IBRION = 0 ! standard molecular dynamics (MD)
NSW = 500 ! 500 steps
POTIM = 0.5 ! timestep 0.5 fs
ISYM = 0 ! no imposed symmetry for MD
SMASS = -3
TEBEG = 673 ! temperature at beginning
TEEND = 673 ! temperature at end
LMAXMIX = 6 ! PAW flag
ADDGRID = .TRUE. ! PAW flag
LASPH = .TRUE. ! PAW flag
##LREAL = Auto
##LSCALAPACK = .TRUE.
##NBANDS = 112
NPAR = 8
POTCAR:
TITEL = PAW_PBE O 08Apr2002
TITEL = PAW_PBE H 15Jun2001
KPOINTS:
Automatic mesh
0
Gamma
1 1 1
0. 0. 0.
Are there specific considerations or adjustments required for running MD with a hexagonal unit cell? Could this issue be related to periodic boundary conditions or the setup of the simulation?
Thank you for your time and any advice on resolving this issue!
Best regards,
Pablo