Skip to main content

A Python Package for Ab initio Interface Phonon Calculations within a 3D Electronic Structure Framework

Project description

InterPhon

A Python Package for Ab initio Interface Phonon Calculations within a 3D Electronic Structure Framework.
If you have used InterPhon, please cite the following article (https://doi.org/10.1016/j.cpc.2021.108089):

"InterPhon: Ab initio Interface Phonon Calculations within a 3D Electronic Structure Framework", 
In Won Yeu, Gyuseung Han, Kun Hee Ye, Cheol Seong Hwang, and Jung-Hae Choi, 
Computer Physics Communications 268, 108089 (2021)

The description below is a basic usage guide. If you want to learn more about InterPhon, please find the user manual at https://interphon.readthedocs.io/

Installation

Latest version in development:

$ git clone https://github.com/inwonyeu/interphon.git
$ cd interphon/
$ python setup.py install

Previous stable version:

$ pip install interphon

Basic usage in conjunction with VASP

InterPhon supports a range of options to manage phonon computations and plotting styles.
In order to see all of the available options and their default values:

$ interphon --help

1. Pre-process

In the InterPhon pre-process, a file of supercell (SUPERCELL) and files of displaced supercells (POSCAR-0*) are generated:

$ interphon -enlarge "2 2 1" -pbc "1 1 0"

-> (2×2×1) supercell and displaced supercells
-> Periodic boundary conditions (1 or True) along the a1, a2 lattice directions and open (0 or False) along the a3 direction

2. Post-process

After the DFT force calculations for the displaced supercells (POSCAR-0*) are finished in each FORCE-0* folder, the evaluation of interfacial phonons can be executed by the following ways:

  • Density of states (DOS):
$ interphon FORCE-0*/vasprun.xml -kdos KPOINTS_dos
  • Thermal properties:
$ interphon FORCE-0*/vasprun.xml -kdos KPOINTS_dos -thermal
  • Band:
$ interphon FORCE-0*/vasprun.xml -kband KPOINTS_band
  • Phonon mode:
$ interphon FORCE-0*/vasprun.xml -kband KPOINTS_band -mode

Important files

1. DFT input file

InterPhon focuses on the interfacial atoms by allowing users to easily select atoms to be considered as the interface and phonon evaluation proceeds only in the selected atoms. The interfacial region is supposed to be defined through the statement of constraints on atom movements (selective dynamics). See below example of Cu(111) surface where the top three layers are selected as the surface region.

POSCAR (VASP format):

Unknown
1.00000000000000
   2.5712952614000000    0.0000000000000000    0.0000000000000000
   1.2856476307000000    2.2268070170000001    0.0000000000000000
   0.0000000000000000    0.0000000000000000   27.7901687622000004
Cu
7
Selective dynamics
Cartesian
   0.0000000000000000    0.0000000000000000    6.2983610849999998   F   F   F
   2.5712951080000002    1.4845379230000000    8.3978147799999991   F   F   F
   1.2856475540000001    0.7422689609999999   10.5098654109999998   F   F   F
   0.0000000000000000    0.0000000000000000   12.6153545979999997   F   F   F
   2.5712951080000002    1.4845379230000000   14.7267644020000006   T   T   T
   1.2856475540000001    0.7422689609999999   16.8249826169999999   T   T   T
   0.0000000000000000    0.0000000000000000   18.9121107990000006   T   T   T

2. K-points file

The abovementioned arguments of KPOINTS_dos and KPOINTS_band files, which are supported in VASP format (https://www.vasp.at/wiki/index.php/KPOINTS), are used for the mesh sampling of k-points.

KPOINTS_dos (file name is arbitrary):

kpoint
0
MP  # Monkhorst-Pack grids, use the first character ‘G’ for Gamma-centered grids.
9 9 1
0.0 0.0 0.0

KPOINTS_band (file name is arbitrary):

kpoint
41
L  # Line path
0.00 0.00 0.00  # G
0.00 0.50 0.00  # M

0.00 0.50 0.00  # M
0.333333 0.333333 0.00  # K

0.333333 0.333333 0.00  # K
0.00 0.00 0.00  # G

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

InterPhon-1.4.2.tar.gz (60.0 kB view details)

Uploaded Source

Built Distribution

InterPhon-1.4.2-py3-none-any.whl (79.1 kB view details)

Uploaded Python 3

File details

Details for the file InterPhon-1.4.2.tar.gz.

File metadata

  • Download URL: InterPhon-1.4.2.tar.gz
  • Upload date:
  • Size: 60.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for InterPhon-1.4.2.tar.gz
Algorithm Hash digest
SHA256 3b06ff2fd7b156ea85dbec5b232755096a05f61d134c0233c317e995dfe9c83a
MD5 2ef6b4ebb2cdcda8de220bb026730a74
BLAKE2b-256 5cf1fe5fedfd9686024b58f0875d0d2c41d958127141aafad50bc4aab5e574b5

See more details on using hashes here.

File details

Details for the file InterPhon-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: InterPhon-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 79.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for InterPhon-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4694f7a07691b829f89f83de40cd2b34eb8d7623c43110064353bef742b5ccbb
MD5 5784829d2321b27f12d7715f9207425d
BLAKE2b-256 bb0ce595801a32c291879121baed1ef1014652cfa92fba0d8abfd979d910aa10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page