Skip to main content

Convergence test for vasp.

Project description

README

convtest is an open source code to do the convergence test by vasp. It supports ANY parameters.

Features

  1. Support ANY parameters in INCAR add KPOINTS and EOS. (Of course, all the values for the parameters should be correct).

    Note: The EOS keyword is conducted by changing the scale factor, as a result, the coordinate system of the atom position should be fraction, not Cartesian

  2. Support run VASP in the script, and generate the shell or qsub(pbs) scripts to submit the jobs.

Install

pip install convtest-prl

Usage

  1. Prepare the template of All VASP-needed files [INCAR, POSCAR, POTCAR, KPOINTS]
  2. Prepare the INPUT.convtest file to specify the parameters for convergence test.
  3. If run the test on HPC using PBS(now, it only support PBS now), prepare the pbs scripts.

INPUT file format

Syntax States Examples
PARAM Specify the parameters for convergence test, case insensitive PARAM ENCUT
PARAMLIST The value list of the parameters, case insensitive
There are two ways to specify the value
1. Keep in one line with the PARAMLIST key words
2. Multilines(must with end mark END_PARAMLIST)
1.For cut-off
PARAMLIST 200..30..500(two dots)
or
PARAMLIST 200 230 260 ... 500
2.For KPOINTS
PARAMLIST
2 3 4
3 4 5
...
END_PARAMLIST
VASPRUN 1(Default) for run the VASP code in the script
0 for generate *.sh or *.pbs script according to your template
VASPRUN 1
KEEPRESULT ALL(Default) : for keep all the result generated by vasp(several folders)
MIN : for minimum results (Only the data file will be reserved)
KEEPRESULT ALL
ISTEST 1 means TEST mode, it doesn't run the vasp, and the energy is random
0(Default) means not test mode, run the vasp

TODO

The convergence of size in doping or defect system?

1. How?

  • The error caused by the size effect is most ascribed to the self-interaction?

$$ E_{2N} = 2E_N $$

  • Property-based convergence?
  • Supercell

2. Todo list

  • Convergence of doping system
  • Convergence of the defect system

Author

Mingqing Liao(廖名情) liaomq1900127@163.com

Phase Research Lab(PRL) @ Penn State(PSU)

FGMS Group @ Harbin Institute of Technology

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

convtest_prl-1.0.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

convtest_prl-1.0.2-py3.8.egg (24.7 kB view details)

Uploaded Source

File details

Details for the file convtest_prl-1.0.2.tar.gz.

File metadata

  • Download URL: convtest_prl-1.0.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for convtest_prl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0bc7f06ab48cf6626c58c56b63d6d386354349ff5ddf614a5215c2beae020276
MD5 9bf7e730804863e3622c87b1dd4a6920
BLAKE2b-256 5b59e3457427415d080101431036dba7f41cdbc83872648a08cf763aa4ecc3d4

See more details on using hashes here.

File details

Details for the file convtest_prl-1.0.2-py3.8.egg.

File metadata

  • Download URL: convtest_prl-1.0.2-py3.8.egg
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for convtest_prl-1.0.2-py3.8.egg
Algorithm Hash digest
SHA256 fb39ff64f43bd99445a03e1be426a1314151ae14efb352e59dd691cbe03aafc9
MD5 86d538363988bc54fa549d733c04a990
BLAKE2b-256 b398df69bc9d4bbb05f3b91f05ca165593aeb16360a6e256bd93b641988be048

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