Help please: constrained MD does not work
Posted: Fri Nov 14, 2014 3:44 pm
Hello. I would like to perform regular constrained MD, fixing a selected interatomic distance. Following the instructions in the manual, I've created a file named ICONST and specified the distance to be fixed, i.e.:
R 4 20 0
(note this is the **entire** content of the file -- no comment or blank lines)
I've run MD with that ICONST file in my working folder (see the INCAR and POSCAR files below), but the above specified constraint appears not to have any effect at all. Visualization (vasprun.xml file by VMD) reveals that the selected distance (an OH bond) shrinks and elongates, as it does in a regular MD without constraints. No REPORT file was produced (although it should be there, according to the manual).
I've tried this with two versions of VASP (5.2.12 and 5.3.5) and the result is the same in both cases -- the program appears to be completely ignoring the ICONST file, running regular unconstrained MD. Also, I found no mention of constraints in the OUTCAR file, or any indication that the ICONST file has been considered in the run.
What did I possibly do wrong? Is there something to be added to the ICONST or INCAR file?
I would appreciate any comments and suggestions -- thanks in advance!
*** INCAR file: ***
LWAVE = .TRUE. do not write WAVECAR file
LCHARG = .TRUE. do not write CHGCAR file
LVTOT = .FALSE. do not write LOCPOT file
LELF = .FALSE.
NPAR = 2
Electronic Relaxation 1
PREC = Medium Medium=default, Low, High; affects ENMAX, mesh, pspot
NELM = 100 max number of electronic steps
EDIFF = 1E-04 energy stopping-criterion for electr. iterations
EDIFFG = -.003 force stopping-criterion for geometry steps
NSIM = 40 stores dielectric matrix longer and improves convergence
Ionic Relaxation
NSW = 30000 max number of geometry steps
IBRION = 0 ionic relax: 0-MD 1-quasi-New 2-CG 3-damped dynamics
ISIF = 0 (0:force=y stress=n ions=y shape=n volume=n,
ISYM = 0 1=use symmetry, 0 = no symmetry
POTIM = 1.0 time step for geo-opt (reduce if small distances exist) and MD (in fs)
MDALGO = 2
SMASS = 0.5
TEBEG = 300.0
DOS related values:
ISMEAR = 1 -4-tet -1-fermi 1=Methfessel/Paxton 1.order
SIGMA = .05 broadening in eV
Electronic Relaxation
IALGO = 48 algorithm (8=CG for small, 48=RMM for big systems)
LREAL = A real-space projection
*** POSCAR file: ***
Generated by cif2cell 1.1.5 from CSD reference: OXACDH26. C2 H6 O6 : D.Zobel et al., Acta Crystallogr.,Sect.B:Struct.Sci. 48, 837- (1992). Species order: H C O
6.093000
1.000000000000000 0.000000000000000 0.000000000000000
0.000000000000000 0.569341867717052 0.000000000000000
-0.529324970666470 0.000000000000000 1.884396002353298
12 4 12
Direct
0.029000000000000 0.008000000000000 0.214000000000000
0.971000000000000 0.992000000000000 0.786000000000000
0.471000000000000 0.508000000000000 0.286000000000000
0.529000000000000 0.492000000000000 0.714000000000000
0.442000000000000 0.691000000000000 0.119000000000000
0.558000000000000 0.309000000000000 0.881000000000000
0.058000000000000 0.191000000000000 0.381000000000000
0.942000000000000 0.809000000000000 0.619000000000000
0.636000000000000 0.470000000000000 0.150000000000000
0.364000000000000 0.530000000000000 0.850000000000000
0.864000000000000 0.970000000000000 0.350000000000000
0.136000000000000 0.030000000000000 0.650000000000000
0.955170000000000 0.059520000000000 0.052080000000000
0.044830000000000 0.940480000000000 0.947920000000000
0.544830000000000 0.559520000000000 0.447920000000000
0.455170000000000 0.440480000000000 0.552080000000000
0.085280000000000 0.944620000000000 0.150360000000000
0.914720000000000 0.055380000000000 0.849640000000000
0.414720000000000 0.444620000000000 0.349640000000000
0.585280000000000 0.555380000000000 0.650360000000000
0.778510000000000 0.244980000000000 0.036320000000000
0.221490000000000 0.755020000000000 0.963680000000000
0.721490000000000 0.744980000000000 0.463680000000000
0.278510000000000 0.255020000000000 0.536320000000000
0.548390000000000 0.634770000000000 0.178460000000000
0.451610000000000 0.365230000000000 0.821540000000000
0.951610000000000 0.134770000000000 0.321540000000000
0.048390000000000 0.865230000000000 0.678460000000000
R 4 20 0
(note this is the **entire** content of the file -- no comment or blank lines)
I've run MD with that ICONST file in my working folder (see the INCAR and POSCAR files below), but the above specified constraint appears not to have any effect at all. Visualization (vasprun.xml file by VMD) reveals that the selected distance (an OH bond) shrinks and elongates, as it does in a regular MD without constraints. No REPORT file was produced (although it should be there, according to the manual).
I've tried this with two versions of VASP (5.2.12 and 5.3.5) and the result is the same in both cases -- the program appears to be completely ignoring the ICONST file, running regular unconstrained MD. Also, I found no mention of constraints in the OUTCAR file, or any indication that the ICONST file has been considered in the run.
What did I possibly do wrong? Is there something to be added to the ICONST or INCAR file?
I would appreciate any comments and suggestions -- thanks in advance!
*** INCAR file: ***
LWAVE = .TRUE. do not write WAVECAR file
LCHARG = .TRUE. do not write CHGCAR file
LVTOT = .FALSE. do not write LOCPOT file
LELF = .FALSE.
NPAR = 2
Electronic Relaxation 1
PREC = Medium Medium=default, Low, High; affects ENMAX, mesh, pspot
NELM = 100 max number of electronic steps
EDIFF = 1E-04 energy stopping-criterion for electr. iterations
EDIFFG = -.003 force stopping-criterion for geometry steps
NSIM = 40 stores dielectric matrix longer and improves convergence
Ionic Relaxation
NSW = 30000 max number of geometry steps
IBRION = 0 ionic relax: 0-MD 1-quasi-New 2-CG 3-damped dynamics
ISIF = 0 (0:force=y stress=n ions=y shape=n volume=n,
ISYM = 0 1=use symmetry, 0 = no symmetry
POTIM = 1.0 time step for geo-opt (reduce if small distances exist) and MD (in fs)
MDALGO = 2
SMASS = 0.5
TEBEG = 300.0
DOS related values:
ISMEAR = 1 -4-tet -1-fermi 1=Methfessel/Paxton 1.order
SIGMA = .05 broadening in eV
Electronic Relaxation
IALGO = 48 algorithm (8=CG for small, 48=RMM for big systems)
LREAL = A real-space projection
*** POSCAR file: ***
Generated by cif2cell 1.1.5 from CSD reference: OXACDH26. C2 H6 O6 : D.Zobel et al., Acta Crystallogr.,Sect.B:Struct.Sci. 48, 837- (1992). Species order: H C O
6.093000
1.000000000000000 0.000000000000000 0.000000000000000
0.000000000000000 0.569341867717052 0.000000000000000
-0.529324970666470 0.000000000000000 1.884396002353298
12 4 12
Direct
0.029000000000000 0.008000000000000 0.214000000000000
0.971000000000000 0.992000000000000 0.786000000000000
0.471000000000000 0.508000000000000 0.286000000000000
0.529000000000000 0.492000000000000 0.714000000000000
0.442000000000000 0.691000000000000 0.119000000000000
0.558000000000000 0.309000000000000 0.881000000000000
0.058000000000000 0.191000000000000 0.381000000000000
0.942000000000000 0.809000000000000 0.619000000000000
0.636000000000000 0.470000000000000 0.150000000000000
0.364000000000000 0.530000000000000 0.850000000000000
0.864000000000000 0.970000000000000 0.350000000000000
0.136000000000000 0.030000000000000 0.650000000000000
0.955170000000000 0.059520000000000 0.052080000000000
0.044830000000000 0.940480000000000 0.947920000000000
0.544830000000000 0.559520000000000 0.447920000000000
0.455170000000000 0.440480000000000 0.552080000000000
0.085280000000000 0.944620000000000 0.150360000000000
0.914720000000000 0.055380000000000 0.849640000000000
0.414720000000000 0.444620000000000 0.349640000000000
0.585280000000000 0.555380000000000 0.650360000000000
0.778510000000000 0.244980000000000 0.036320000000000
0.221490000000000 0.755020000000000 0.963680000000000
0.721490000000000 0.744980000000000 0.463680000000000
0.278510000000000 0.255020000000000 0.536320000000000
0.548390000000000 0.634770000000000 0.178460000000000
0.451610000000000 0.365230000000000 0.821540000000000
0.951610000000000 0.134770000000000 0.321540000000000
0.048390000000000 0.865230000000000 0.678460000000000