Git Product home page Git Product logo

vasptogulp's Introduction

VASPToGULP

A collection of scripts for converting output from the Vienna ab initio Simulation Package (VASP) to input for the General Utility Lattice Program (GULP).

OUTCARToGULP.py

Reads a VASP OUTCAR file, extracts various sets of data, and writes them to a GULP-friendly output format.

This script currently collects the following data:

  • Structures with lattice vectors, atom types/positions, total energies, forces and stress tensors.
  • Elastic-constant matrices.
  • Phonon modes (frequencies and eigenvectors).

For single-point calculations, the script writes out the structure plus the total energy, gradients (minus forces) and strain derivatives (diagonal elements of the stress tensor).

For finite-differences calculations (e.g. IBRION = 6 with ISIF = 3), the script writes out the initial structure with the calculated elastic-constant matrix and/or phonon frequencies/eigenvectors, as well as each each of the intermediate structures with lattice distortions and atomic displacements.

Several optional command-line arguments allow the output to be customised - type python OUTCARToGULP.py -h for details, or look at the SrO/IBRION 6 example, which illustrates the basic usage of the script.

OUTCARToGULP_ModeMap.py

An auxiliary script for processing the VASP OUTCAR files generated from a sequence of single-point calculations for mapping a phonon-mode potential-energy surface using the ModeMap tool.

It can also be used to process similar calculations where multiple single-point calculations need to be performed (e.g. harmonic phonon calculations with the Phonopy code).

The script extracts the total energies, forces (gradients) and stress tensors (strain derivatives) from each structure and collects them into a single GULP-friendly output file.

It also accepts some of the same command-line arguments as OUTCARToGULP.py, which can be used to customise the output.

The usage of this script is illustrated by the ModeMap and Phonopy examples.

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.