Dear Juerg,<div><br></div><div>Thanks for your comments. They make sense. However, this does add complexity as we have to check the force error of the whole MD trajectory and then adjust the cutoff, if we want to be careful.</div><div><br></div><div>Thanks, Wei<br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, March 18, 2021 at 12:23:24 PM UTC-4 jgh wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi
<br>
<br>there are two sources of errors that could be relevant for this.
<br>
<br>1) by changing the cutoff, the relative position of the atoms within
<br> the real space grids change. This then leads to a change of
<br> energy and forces. This has been discussed before here.
<br>2) By default you are using multiple grids and by changing the
<br> cutoff, the change in accuracy is not linear but might jump
<br> at certain cutoffs.
<br>
<br>best regards
<br>
<br>Juerg Hutter
<br>--------------------------------------------------------------
<br>Juerg Hutter Phone : <a href="tel:+41%2044%20635%2044%2091" value="+41446354491" target="_blank" rel="nofollow">++41 44 635 4491</a>
<br>Institut für Chemie C FAX : <a href="tel:+41%2044%20635%2068%2038" value="+41446356838" target="_blank" rel="nofollow">++41 44 635 6838</a>
<br>Universität Zürich E-mail: <a href data-email-masked rel="nofollow">h...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>---------------------------------------------------------------
<br>
<br>-----<a href data-email-masked rel="nofollow">c...@googlegroups.com</a> wrote: -----
<br>To: "cp2k" <<a href data-email-masked rel="nofollow">c...@googlegroups.com</a>>
<br>From: "W. Lai"
<br>Sent by: <a href data-email-masked rel="nofollow">c...@googlegroups.com</a>
<br>Date: 03/18/2021 03:11PM
<br>Subject: [CP2K:14965] odd force drift convergence with respect to density cutoff
<br>
<br>Dear CP2k users and developers,
<br>
<br>I am seeing odd behavior on how force drift(error) change as we change the density cutoff value (from 400 to 1600 Ry), for a model material of SiC-6H. I am using the 7.1 version and I changed the force error ("Sum of Atomic Forces") to eV/A.
<br>
<br>While it is subjective to consider what is an acceptable value for the force error (i.e. 0.01 or 0.001 eV/A), such oscillation really makes it a difficult task to choose the appropriate cutoff.
<br>
<br>It is worth noting this is a hexagonal cell and force error is primarily on the z direction. Input file is enclosed.
<br>
<br>Thanks, Wei
<br>
<br>
<br>
<br>
<br>&GLOBAL
<br> PROJECT SiC
<br> RUN_TYPE ENERGY_FORCE
<br> PRINT_LEVEL LOW
<br>&END GLOBAL
<br>&FORCE_EVAL
<br> STRESS_TENSOR ANALYTICAL
<br> METHOD QS
<br> &DFT
<br> BASIS_SET_FILE_NAME BASIS_MOLOPT
<br> POTENTIAL_FILE_NAME GTH_POTENTIALS
<br>
<br> &MGRID
<br> CUTOFF 400
<br> REL_CUTOFF 60
<br> &END MGRID
<br>
<br> &QS
<br> METHOD GPW
<br> EPS_DEFAULT 1.0E-12
<br> &END QS
<br>
<br> &SCF
<br> SCF_GUESS ATOMIC
<br> MAX_SCF 100
<br> EPS_SCF 5.0E-8
<br> ADDED_MOS 60
<br> CHOLESKY INVERSE
<br> &SMEAR ON
<br> METHOD FERMI_DIRAC
<br> ELECTRONIC_TEMPERATURE [K] 300
<br> &END SMEAR
<br> &DIAGONALIZATION
<br> &END DIAGONALIZATION
<br> &MIXING
<br> METHOD BROYDEN_MIXING
<br> ALPHA 0.2
<br> &END
<br> &PRINT
<br> &RESTART OFF
<br> &END
<br> &END
<br> &END SCF
<br>
<br> &XC
<br> &XC_FUNCTIONAL PBE
<br> &END XC_FUNCTIONAL
<br> &END XC
<br>
<br> &POISSON
<br> PERIODIC XYZ
<br> &END
<br>
<br> &PRINT
<br> &E_DENSITY_CUBE OFF
<br> &EACH
<br> MD 10
<br> &END EACH
<br> STRIDE 1 1 1
<br> &END E_DENSITY_CUBE
<br> &END PRINT
<br> &END DFT
<br>
<br> &SUBSYS
<br> &KIND Si
<br> ELEMENT Si
<br> BASIS_SET DZVP-MOLOPT-SR-GTH
<br> POTENTIAL GTH-PBE
<br> &END KIND
<br> &KIND C
<br> ELEMENT C
<br> BASIS_SET DZVP-MOLOPT-SR-GTH
<br> POTENTIAL GTH-PBE
<br> &END KIND
<br> &CELL
<br> PERIODIC XYZ
<br> A 9.2430000305 0.0000000000 0.0000000000
<br> B -4.6215010811 8.0046722182 0.0000000000
<br> C 0.0000000000 0.0000000000 15.1247997284
<br> &END CELL
<br>
<br> &COORD
<br>Si 0.0 0.0 0.0
<br>Si -1.5405004 2.6682241 0.0
<br>Si -3.0810008 5.3364482 0.0
<br>Si 3.0810001 0.0 0.0
<br>Si 1.5404997 2.6682241 0.0
<br>Si -7.1525574e-07 5.3364482 0.0
<br>Si 6.1620002 0.0 0.0
<br>Si 4.6215 2.6682241 0.0
<br>Si 3.0809994 5.3364482 0.0
<br>Si 0.0 0.0 7.5623999
<br>Si -1.5405004 2.6682241 7.5623999
<br>Si -3.0810008 5.3364482 7.5623999
<br>Si 3.0810001 0.0 7.5623999
<br>Si 1.5404997 2.6682241 7.5623999
<br>Si -7.1525574e-07 5.3364482 7.5623999
<br>Si 6.1620002 0.0 7.5623999
<br>Si 4.6215 2.6682241 7.5623999
<br>Si 3.0809994 5.3364482 7.5623999
<br>Si -1.1920929e-07 1.7788159 2.5208001
<br>Si -1.5405003 4.4470396 2.5208001
<br>Si -3.0810008 7.1152635 2.5208001
<br>Si 3.0810001 1.7788159 2.5208001
<br>Si 1.5405 4.4470396 2.5208001
<br>Si -4.7683716e-07 7.1152635 2.5208001
<br>Si 6.1619997 1.7788159 2.5208001
<br>Si 4.6215 4.4470396 2.5208001
<br>Si 3.0809994 7.1152635 2.5208001
<br>Si 1.5405 0.889408 10.0832005
<br>Si -4.7683716e-07 3.5576318 10.0832005
<br>Si -1.5405007 6.2258563 10.0832005
<br>Si 4.6215 0.889408 10.0832005
<br>Si 3.0809999 3.5576318 10.0832005
<br>Si 1.5404995 6.2258563 10.0832005
<br>Si 7.7025004 0.889408 10.0832005
<br>Si 6.1620002 3.5576318 10.0832005
<br>Si 4.621501 6.2258563 10.0832005
<br>Si 1.5405001 0.889408 5.0350456
<br>Si -2.3841858e-07 3.5576318 5.0350456
<br>Si -1.5405004 6.2258563 5.0350456
<br>Si 4.6215 0.889408 5.0350456
<br>Si 3.0809999 3.5576318 5.0350456
<br>Si 1.5404995 6.2258563 5.0350456
<br>Si 7.7025004 0.889408 5.0350456
<br>Si 6.1620002 3.5576318 5.0350456
<br>Si 4.621501 6.2258563 5.0350456
<br>Si -2.3841858e-07 1.7788158 12.5974455
<br>Si -1.5405004 4.4470396 12.5974455
<br>Si -3.0810008 7.1152635 12.5974455
<br>Si 3.0810003 1.7788158 12.5974455
<br>Si 1.5405 4.4470396 12.5974455
<br>Si -4.7683716e-07 7.1152635 12.5974455
<br>Si 6.1619997 1.7788158 12.5974455
<br>Si 4.6215 4.4470396 12.5974455
<br>Si 3.0809994 7.1152635 12.5974455
<br>C -1.1920929e-07 1.7788159 0.6231418
<br>C -1.5405003 4.4470396 0.6231418
<br>C -3.0810008 7.1152635 0.6231418
<br>C 3.0810001 1.7788159 0.6231418
<br>C 1.5405 4.4470396 0.6231418
<br>C -4.7683716e-07 7.1152635 0.6231418
<br>C 6.1619997 1.7788159 0.6231418
<br>C 4.6215 4.4470396 0.6231418
<br>C 3.0809994 7.1152635 0.6231418
<br>C 1.5405 0.889408 8.1855412
<br>C -4.7683716e-07 3.5576318 8.1855412
<br>C -1.5405007 6.2258563 8.1855412
<br>C 4.6215 0.889408 8.1855412
<br>C 3.0809999 3.5576318 8.1855412
<br>C 1.5404995 6.2258563 8.1855412
<br>C 7.7025004 0.889408 8.1855412
<br>C 6.1620002 3.5576318 8.1855412
<br>C 4.621501 6.2258563 8.1855412
<br>C 1.5405001 0.889408 3.1459584
<br>C -2.3841858e-07 3.5576318 3.1459584
<br>C -1.5405004 6.2258563 3.1459584
<br>C 4.6215 0.889408 3.1459584
<br>C 3.0809999 3.5576318 3.1459584
<br>C 1.5404995 6.2258563 3.1459584
<br>C 7.7025004 0.889408 3.1459584
<br>C 6.1620002 3.5576318 3.1459584
<br>C 4.621501 6.2258563 3.1459584
<br>C -2.3841858e-07 1.7788158 10.7083578
<br>C -1.5405004 4.4470396 10.7083578
<br>C -3.0810008 7.1152635 10.7083578
<br>C 3.0810003 1.7788158 10.7083578
<br>C 1.5405 4.4470396 10.7083578
<br>C -4.7683716e-07 7.1152635 10.7083578
<br>C 6.1619997 1.7788158 10.7083578
<br>C 4.6215 4.4470396 10.7083578
<br>C 3.0809994 7.1152635 10.7083578
<br>C 0.0 0.0 5.6657501
<br>C -1.5405004 2.6682241 5.6657501
<br>C -3.0810008 5.3364482 5.6657501
<br>C 3.0810001 0.0 5.6657501
<br>C 1.5404997 2.6682241 5.6657501
<br>C -7.1525574e-07 5.3364482 5.6657501
<br>C 6.1620002 0.0 5.6657501
<br>C 4.6215 2.6682241 5.6657501
<br>C 3.0809994 5.3364482 5.6657501
<br>C 0.0 0.0 13.2281494
<br>C -1.5405004 2.6682241 13.2281494
<br>C -3.0810008 5.3364482 13.2281494
<br>C 3.0810001 0.0 13.2281494
<br>C 1.5404997 2.6682241 13.2281494
<br>C -7.1525574e-07 5.3364482 13.2281494
<br>C 6.1620002 0.0 13.2281494
<br>C 4.6215 2.6682241 13.2281494
<br>C 3.0809994 5.3364482 13.2281494
<br> &END COORD
<br> &END SUBSYS
<br>
<br> &PRINT
<br> &FORCES ON
<br> &END FORCES
<br> &TOTAL_NUMBERS ON
<br> &END TOTAL_NUMBERS
<br> &END PRINT
<br>
<br>&END FORCE_EVAL
<br>
<br>
<br> --
<br> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>.
<br> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/5e8320db-c9c9-4e13-83ee-7956b77c0d9en%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/5e8320db-c9c9-4e13-83ee-7956b77c0d9en%2540googlegroups.com&source=gmail&ust=1616209158533000&usg=AFQjCNHuLGjezxu5uxgJMpsY-4Dc1olcOg">https://groups.google.com/d/msgid/cp2k/5e8320db-c9c9-4e13-83ee-7956b77c0d9en%40googlegroups.com</a>.
<br>
<br></blockquote></div>