Code Monkey home page Code Monkey logo

phonon's Introduction

Automate

Phonopy will generate a lot of single atom displacement files depending on the symmetry of the input lattice.These are few bash script that performs several tasks, including creating directories, moving and copying those displacement files, and finally submitting job scripts to a job scheduler of the cluster.

Usage

To run the script, make sure the script file is executable (e.g., chmod 700 scf-dir.sh)

Limitations

  • The script assumes that the four files POTCAR, INCAR, KPOINTS, job.sh (more info at vaspwiki) are in the current directory.
  • The script assumes that the job scheduler accepts the qsub command to submit job scripts.
  • The script assumes that the job scheduler uses the job.sh file as the job script file.

Quasiharmonic phonon calculation

The get_entropy-temp.py code reads in data from the file named entropy-volume.dat generated by phonopy and uses scipy's interp1d function to interpolate the data and find the entropy value at given temperature and volume. The result is then written to a csv file named temp-vol-entr.csv.

The get_e-v.sh code is a shell script that generates two files by collecting energy and volume values from files named OSZICAR and OUTCAR generated by VASP respectively. It then merges these two files into e-v.dat and deletes the original files. The new file can be used as input for phonopy qha calculation.

Thermal Properties Plotting

This repository contains a python script that uses the pandas and matplotlib libraries to plot various thermal properties from the data generated by phonopy.

Note:

All the codes were created as part of my MTech thesis. Some codes assume that you have the required files in your current working directory. Change the names of those files as per your need.

phonon's People

Contributors

rafshantik 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.