mirror of https://github.com/phonopy/phono3py.git
Update document for removal of --tsym
This commit is contained in:
parent
4e24f82969
commit
f2db40efab
|
@ -42,7 +42,7 @@ example found in the example directory.
|
|||
|
||||
::
|
||||
|
||||
% phono3py --dim="2 2 2" --pa="0 1/2 1/2 1/2 0 1/2 1/2 1/2 0" -c POSCAR-unitcell --mesh="11 11 11" --sym_fc3r --sym_fc2 --tsym --br
|
||||
% phono3py --dim="2 2 2" --pa="0 1/2 1/2 1/2 0 1/2 1/2 1/2 0" -c POSCAR-unitcell --mesh="11 11 11" --sym-fc --br
|
||||
|
||||
Then using the output file, ``kappa-m111111.hdf5``, run
|
||||
``phono3py-kaccum`` as follows::
|
||||
|
|
|
@ -168,17 +168,18 @@ Read 3rd order force constants from ``fc3.hdf5``.
|
|||
|
||||
.. _symmetrization_option:
|
||||
|
||||
``--sym-fc2``, ``--sym-fc3r``, ``--tsym``: Symmetries force constants
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
``--sym-fc2``, ``--sym-fc3r``, ``--sym-fc``: Symmetries force constants
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
(Setting tags: ``SYMMETRIZE_FC2``, ``.TRUE.`` or ``.FALSE.``)
|
||||
(Setting tags: ``SYMMETRIZE_FC3``, ``.TRUE.`` or ``.FALSE.``)
|
||||
(Setting tags: ``TRANSLATION``, ``.TRUE.`` or ``.FALSE.``)
|
||||
(Setting tags: ``FC_SYMMETRY``, ``.TRUE.`` or ``.FALSE.``)
|
||||
|
||||
These are used to symmetrize second- and third-order force
|
||||
constants. ``--sym-fc2`` and ``--sym-fc3r`` symmetrize those in real
|
||||
space by the index exchange, respectively, and ``--tsym`` symmetrizes
|
||||
by the translational invariance, respectively.
|
||||
constants. With ``--sym-fc2`` and ``--sym-fc3r``,
|
||||
the index exchange of real space force constantsand translational
|
||||
invariance symmetry are applied, respectively. ``--sym-fc`` is an
|
||||
alias to set both of ``--sym-fc2`` and ``--sym-fc3r``.
|
||||
|
||||
..
|
||||
``--sym-fc3q`` symmetrizes third-order force constants in normal
|
||||
|
|
|
@ -50,9 +50,9 @@ copyright = u'2015, Atsushi Togo'
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '1.12.5'
|
||||
version = '1.12.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.12.5'
|
||||
release = '1.12.7'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
CRYSTAL & phono3py calculation
|
||||
==============================
|
||||
|
||||
CRYSTAL program package has a robust built-in phonon calculation
|
||||
CRYSTAL program package has a robust built-in phonon calculation
|
||||
workflow for harmonic phonon properties. However, combining CRYSTAL
|
||||
with Phono3py enables convenient access to anharmonic phonon properties.
|
||||
|
||||
|
||||
An example for CRYSTAL is found in the ``example/Si-CRYSTAL`` directory.
|
||||
|
||||
To invoke the CRYSTAL interface, ``--crystal`` option has to be always
|
||||
|
@ -26,8 +26,8 @@ only limited number of keywords that are shown in the phonopy web site
|
|||
Workflow
|
||||
---------
|
||||
|
||||
In this example (Si-CRYSTAL), the CRYSTAL output file is crystal.o.
|
||||
This is the default file name for the CRYSTAL interface,
|
||||
In this example (Si-CRYSTAL), the CRYSTAL output file is crystal.o.
|
||||
This is the default file name for the CRYSTAL interface,
|
||||
so the -c crystal.o parameter is not needed.
|
||||
|
||||
1) Create supercells with displacements
|
||||
|
@ -35,25 +35,25 @@ so the -c crystal.o parameter is not needed.
|
|||
|
||||
::
|
||||
|
||||
% phono3py --crystal --dim="2 2 2" --dim_fc2="4 4 4" -d
|
||||
% phono3py --crystal --dim="2 2 2" --dim_fc2="4 4 4" -d
|
||||
|
||||
57 supercell files (``supercell-xxx.d12/.ext``) for the third order
|
||||
force constants are created. In addition, one supercell file
|
||||
force constants are created. In addition, one supercell file
|
||||
(``supercell_fc2-00001.d12/.ext``) is created for the second order
|
||||
force constants.
|
||||
|
||||
2) To make valid CRYSTAL input files, there are two possible options:
|
||||
|
||||
a) Manually: modify the generated supercell-xxx.d12 and supercell_fc2-xxxxx.d12
|
||||
files by replacing the line ``Insert basis sets and parameters here`` with the
|
||||
files by replacing the line ``Insert basis sets and parameters here`` with the
|
||||
basis set and computational parameters.
|
||||
|
||||
b) Recommended option: before generating the supercells, include files named
|
||||
``TEMPLATE`` and ``TEMPLATE3`` in the current directory. These files should
|
||||
contain the basis sets and computational parameters for CRYSTAL (see the example).
|
||||
When phono3py finds these files it automatically generates complete
|
||||
CRYSTAL input files in the step 1.
|
||||
|
||||
CRYSTAL input files in the step 1.
|
||||
|
||||
Note that supercells with displacements must not be relaxed in the
|
||||
force calculations, because atomic forces induced by a small atomic
|
||||
displacement are what we need for phonon calculation. To get accurate
|
||||
|
@ -76,10 +76,10 @@ so the -c crystal.o parameter is not needed.
|
|||
|
||||
4) Calculate 3rd and 2nd order force constants in files ``fc3.hdf5`` and ``fc2.hdf5``::
|
||||
|
||||
% phono3py --crystal --dim="2 2 2" --dim_fc2="4 4 4" --sym_fc3r --sym_fc2 --tsym
|
||||
% phono3py --crystal --dim="2 2 2" --dim_fc2="4 4 4" --sym-fc
|
||||
|
||||
``--sym_fc2``, ``--sym_fc3r``, and ``--tsym`` are used to symmetrize second- and third-order
|
||||
force constants.
|
||||
``--sym-fc`` is used to symmetrize second- and third-order force
|
||||
constants.
|
||||
|
||||
5) Thermal conductivity calculation::
|
||||
|
||||
|
@ -89,4 +89,3 @@ so the -c crystal.o parameter is not needed.
|
|||
Add ``--isotope`` for isotope scattering.
|
||||
Check the effect of ``--nac`` for polar systems.
|
||||
Carefully test the convergence with respect to ``--mesh``!
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ generating contracted fc3 for each special ``disp_fc3.yaml``.
|
|||
300.0 119.466 119.466 119.466 -0.000 -0.000 0.000
|
||||
300.0 119.447 119.447 119.447 -0.000 -0.000 0.000
|
||||
300.0 119.445 119.445 119.445 -0.000 -0.000 0.000
|
||||
% for i in {2..10};do phono3py --dim="2 2 2" --pa="0 1/2 1/2 1/2 0 1/2 1/2 1/2 0" -c POSCAR-unitcell --mesh="11 11 11" --sym-fc3r --sym-fc2 --tsym --br -i $i -o sym-$i|tee std.sym-$i.out;done
|
||||
% for i in {2..10};do phono3py --dim="2 2 2" --pa="0 1/2 1/2 1/2 0 1/2 1/2 1/2 0" -c POSCAR-unitcell --mesh="11 11 11" --sym-fc --br -i $i -o sym-$i|tee std.sym-$i.out;done
|
||||
% for i in {2..10};do egrep '^\s+300' std.sym-$i.out;done
|
||||
300.0 124.626 124.626 124.626 -0.000 0.000 0.000
|
||||
300.0 119.721 119.721 119.721 -0.000 0.000 0.000
|
||||
|
@ -365,7 +365,7 @@ AlN-LDA
|
|||
300.0 224.645 224.645 215.260 -0.000 -0.000 -0.000
|
||||
300.0 224.769 224.769 215.220 -0.000 -0.000 -0.000
|
||||
300.0 224.650 224.650 215.090 -0.000 -0.000 -0.000
|
||||
% for i in {2..22};do phono3py --dim="3 3 2" -c POSCAR-unitcell --mesh="13 13 9" --sym-fc3r --sym-fc2 --tsym --br --nac -i $i -o sym-$i|tee std.sym-$i.out; done
|
||||
% for i in {2..22};do phono3py --dim="3 3 2" -c POSCAR-unitcell --mesh="13 13 9" --sym-fc --br --nac -i $i -o sym-$i|tee std.sym-$i.out; done
|
||||
% for i in {2..22};do egrep '^\s+300\.0' std.sym-$i.out;done
|
||||
300.0 224.122 224.122 213.086 0.000 -0.000 0.000
|
||||
300.0 225.394 225.394 215.683 0.000 -0.000 0.000
|
||||
|
|
|
@ -14,5 +14,3 @@ https://pypi.python.org/pypi/phono3py .
|
|||
Examples of silicon with VASP and Pwscf as calculators are given in
|
||||
the ``example`` directory. An example using phono3py API is found in
|
||||
the ``example/Si-PBEsol/Si.py`` but the API document has not yet written.
|
||||
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ Workflow
|
|||
|
||||
``fc3.hdf5`` and ``fc2.hdf5`` files are created by::
|
||||
|
||||
% phono3py --pwscf --dim="2 2 2" -c Si.in --sym_fc3r --sym_fc2 --tsym
|
||||
% phono3py --pwscf --dim="2 2 2" -c Si.in --sym-fc
|
||||
|
||||
5) Calculate lattice thermal conductivity, e.g., by::
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Workflow
|
|||
In this case, ``disp_fc2.yaml`` and ``POSCAR_FC2-xxxxx`` files are
|
||||
also created.
|
||||
|
||||
2. Run VASP for supercell force calculations
|
||||
2. Run VASP for supercell force calculations
|
||||
|
||||
To calculate forces on atoms in supercells, ``POSCAR-xxxxx`` (and
|
||||
``POSCAR_FC2-xxxxx`` if they exist) are used as VASP (or any force
|
||||
|
@ -54,7 +54,7 @@ Workflow
|
|||
|
||||
``disp_fc2.yaml`` is necessary in this case and ``FORCES_FC2`` is
|
||||
created.
|
||||
|
||||
|
||||
4. Create fc2.hdf and fc3.hdf
|
||||
|
||||
::
|
||||
|
@ -66,7 +66,7 @@ Workflow
|
|||
calculating fc2 and fc3 at every run time.
|
||||
|
||||
When you use larger supercell for fc2 calculation::
|
||||
|
||||
|
||||
% phono3py --dim_fc2="4 4 4" --dim="2 2 2" -c POSCAR-unitcell
|
||||
|
||||
Similarly ``fc2.hdf5`` and ``fc3.hdf5`` are created from ``FORCES_FC3``,
|
||||
|
@ -115,4 +115,3 @@ Workflow
|
|||
|
||||
Once this calculation runs without problem, separately calculated
|
||||
hdf5 files on grid points are no more necessary and may be deleted.
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ The following example is executed in the ``Si-PBE`` example.
|
|||
To avoid re-calculating fc3 and fc2, ``fc3.hdf5`` and ``fc2.hdf5`` are
|
||||
created on a single node::
|
||||
|
||||
% phono3py --dim="2 2 2" --sym-fc3r --sym-fc2 --tsym -c POSCAR-unitcell
|
||||
% phono3py --dim="2 2 2" --sym-fc -c POSCAR-unitcell
|
||||
|
||||
The indices of the irreducible grid-points neccesarry to specify
|
||||
``--ga`` option are found by :ref:`--wgp option <wgp_option>`
|
||||
|
|
Loading…
Reference in New Issue