deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
174 stars 136 forks source link

Question: a rough test indicates the accuracy of grid integration cannot converge to < 1 kcal/mol level smoothly #5529

Closed kirk0830 closed 7 hours ago

kirk0830 commented 3 days ago

Describe the bug

I am working on exploring the possibility to evaluate energies with ABACUS LCAO with so-called chemical accuracy (< 1 kcal/mol). The keyword ecutwfc in LCAO case is for controlling the precision of grid integration. However, I find the following behavior: Image regular scale. If we plot in logscale, we can find ... Image

I generate some spherical waves (with different kinetic energy. Higher kinetic energy indicates the basis function oscillates more significantly) as basis functions, then use vion_in_h 0 to explicitly exclude the local term in pseudopotential (which is the term also involves grid integration). Then I can evaluate the precision and convergence behavior of grid integration straightforwardly.

The range I vary the ecutwfc is from 50 to 200 Ry. The energy difference w.r.t. the last point (with the highest ecutwfc) can not smoothly decrease, this is quite unexpected and indicates now the data yield from ABACUS LCAO calculation has uncertainty of 1 kcal/mol. I think this is a numerical problem that needs more developers focus on.

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)