GithubHelp home page GithubHelp logo

high_throughput_2d_semiconductor_calculation's Introduction

High throughput calculations of Group IV-VI, V, III-VII compounds


Basic description


The code can convieniently (1) generate structures of isoelectronic group V, IV-VI, and III-VII compounds; (2) creat their POTCAR files; (3) set up the INCAR file for VASP calculations; (4) initialize KPOINTS files. The submission of the jobs can be done by one-click. The supercomputer environments should be set up in related scripts.

The workflow is: first, execute the "POSCAR_generation.py" file, followed by "INCAR_set_up.py", "KPOINTS_set_up.py", and "submission_set_up.py". After the required files being prepared, you can execute "high_throughput_submission.py". Then, VASP is called to optimize all your created structures.

Updates (2017-06-11): "POSCAR_generation.py" is now converted to "atomic_info.py" module. To generate structures of group IV-VI compounds, for example, you can type in: import atomic_info atomic_info.write_POSCAR_group(atomic_info.compound_IV_VI,2) Then, you will see the structures in your folder.

Updates (2017-06-11): "INCAR_set_up.py" and "KPOINTS_set_up.py" are now part of "vasp_manager.py", which contains frequently used functions related to VASP calculations.

Basicly, structure generation now can be achieved by calling "atomic_info.py"; then with "vasp_manager.py", computation folders are prepared with required VASP input files; "hight_throughput_submission.py" interfaces with the supercomputer to initialize the calculations.


Detailed information about each scripts


1. Structure generation and relaxation by DFT

POSCAR_generation.py:

Three most stable phases of 2D P (black, blue P, and also monolayer cubic phase) are selected as the basis. On top of these three phases, the code can generate structures of other isoelectronic systems: (a) keep the fractional coordinates; (b) scale the lattice parameter based on atomic radius. Output POSCAR files and they are stored in different folders. You need to initialize the folder path "folder_dir = your path"

POTCAR files are also set up automaticly by the code, saved in the same folder as the structures. You need to give the path that store your POTCAR files "POTCAR_dir = your path".

INCAR_set_up.py and KPOINTS_set_up.py

These two scripts are used to set up standard DFT calculations: structure optimization. You need also change the folder path to your own. The path is the folder that contain all your created structures in the previous step.

submission_set_up.py

This script creates "submit.sh" file and copy it to each working folder. Later, this file is used to start the calculation.

high_throughput_submission.py

This script can submit all the calculations at one time.

2. Density of states (DOS) calculations

DOS_calc.py

Based on calculated results of static calculations (of previous steps), this script can set up DOS calculations: a new folder is created for each system and required files (INCAR, KPOINTS, POSCAR, POTCAR, CHGCAR) are modified/copied.

3. Single-shot HSE calculations

HSE_one_shot_submission.py

You need to claim the path of the working folder

4. Band alignment calculations

Band alignment is calculated step by step by scripts: "band_align_step1.py", "band_align_step2.py", and "band_align_step3.py".

"band_align_step1.py":

Transform "LOCPOT" of VASP to abinit format

"band_align_step2.py":

Set up "macroave" calculations to obtain averaged electrostatic potential in the systems.

"band_align_step2.py":

Obtain the averaged potential difference between the materials and vacuum.

tot_energy_and_band_gap.py:

high_throughput_2d_semiconductor_calculation's People

Contributors

zhuzhen216 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.