Update document

This commit is contained in:
Atsushi Togo 2016-11-27 12:17:41 +09:00
parent efae387117
commit f1ab975cc8
1 changed files with 57 additions and 13 deletions

View File

@ -3,36 +3,53 @@
Tips
=====
Convergence check in calculation
---------------------------------
.. _brillouinzone_sum:
Brillouin zone summation
~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------
Brillouin zone sums appear at different two points for phonon lifetime
calculation. First it is used for the Fourier transform of force
constans, and then to obtain imaginary part of phonon-self-energy. In
the numerical calculation, uniform sampling meshes are employed for
these summations. To obtain more accurate result, it is always better
to use denser meshes. But the denser mesh requires more
to use denser meshes. But the denser mesh is more
computationally demanding.
The second Brillouin zone sum contains delta functions. In phono3py
calculation, a linear tetrahedron method (``--thm``, default option)
and a smearing method (``--sigma``) can be used for this Brillouin
zone integration. Smearing parameter is used to approximate delta
zone integration. In most cases, the tetrahedron method is better,
therefore it is the default choice in phono3py. Especially in high
thermal conductivity materials, the smearing method results in
underestimation of thermal conductivity.
The figure below shows Si thermal conductivity convergence with
respect to number of mesh points along an axis from n=19 to 65. This
is calculated with RTA and the linear tetrahedron method. Within the
methods and phono3py implementation, it is converging at around n=55,
however this computational demanding is not trivial. Extrapolation to
:math:`1/n \rightarrow 0` seems not a good idea, since it is
converging. This plot shows that we have to decide how much value is
acceptable as thermal conductivity value. What is important is that
the obtained value has to be shown accompanied with the information of
the computational settings. The BZ integration method and sampling
mesh are definitely those of them.
.. |isiconv| image:: Si-convergence.png
:width: 25%
|isiconv|
In case the smearing method is necessary to use, the convergence of
q-point mesh together with smearing width has to be checked
carefully. Smearing parameter is used to approximate delta
functions. Small ``sigma`` value is better to describe the detailed
structure of three-phonon-space, but it requires a denser mesh to
converge.
..
The first and second meshes have to be same or the first
mesh is integral multiple of the second mesh, i.e., the first and
second meshes have to overlap and the first mesh is the same as or
denser than the second mesh.
To check the convergence with respect to the ``sigma`` value, multiple
sigma values can be set. This can be computationally efficient, since
it is avoided to re-calculate phonon-phonon interaction strength for
@ -49,7 +66,7 @@ recommended to use. A drawback of using the tetrahedron method is that
it is slower and consumes more memory space.
Numerical quality of force constants
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------
Third-order force constants are much weaker to numerical noise of a
force calculator than second-order force constants. Therefore
@ -75,3 +92,30 @@ Mode-Gruneisen-parameters calculated from third-order force constants
look very sensitive to numerical noise near the Gamma point. Therefore
symmetrization is recommended.
Overall, numerical quality of forces given by force calculators is
the most important factor for the numerical quality of the thermal
conductivity. We may be able to apply symmetry constraints to the
force constants during the calculation e.g. using statistical
approach, but the quality of force constants will be bad if that of
forces are bad. Just they suffice the symmetry and the intensity is
not reliable. Therefore what we can do best is to use the best
calculator as the first priority. If we use ab-initio code, the
knowledge about the ab-initio calculation from practical points like
usage to method and theory is mandatory for the good thermal
conductivity calculation.
To reduce computational demands
--------------------------------
Here it is assumed ab-initio code is used as the force
calculator. Then the most heavy part of thermal conductivity
calculation is a set of many supercell force calculations by ab-initio code.
The number of force calculation is reduced by employing crystal
symmetry. This is only valid if the crystal we focus on has high
symmetry. Therefore we need another strategy. Introducing cutoff
distance to consider interaction among atoms is an idea. For this
phono3py has a marginal option but it is not very recommended to use
since there is a better code to do this task, which is the `ALM code
<http://alamode.readthedocs.io/en/latest/input/inputalm.html>`_ in
alamode package. The ALM interface for phono3py is now preparing.