Git Product home page Git Product logo

ghevcoul / materialspes Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 160 KB

A set of Python scripts for generating a potential energy surface (PES) for the shearing of a material using the PWSCF program within Quantum ESPRESSO. It does this by defining two slabs in the simulation cell and calculates the energy of a grid of points representing one slab moving relative to the other. The outputs from PWSCF are read and converted into a format gnuplot can read to make a graphic representing the PES.

License: BSD 2-Clause "Simplified" License

Python 100.00%

materialspes's Introduction

MaterialsPES

A set of Python scripts for generating a potential energy surface (PES) for the shearing of a material using the PWSCF program within Quantum ESPRESSO. It does this by defining two slabs in the simulation cell and calculates the energy of a grid of points representing one slab moving relative to the other. The outputs from PWSCF are read and converted into a format gnuplot can read to make a graphic representing the PES.

pes_builder.py - This script takes an input file containing a set of atomic coordinates and lattice vectors, definition of the potential energy surface region and resolution, and some information required by Quantum ESPRESSO. It calculates the movement of the atoms and lattice vectors for each point on the PES and writes a PWSCF input file for each point. Also, writes an XYZ file for easy visualization of each point on the PES. An example of the input file, calculating the shear of an alumina cell, can be found in aluminaPES_example.

results_grabber_pes.py - This script reads the Quantum ESPRESSO output files generated from running the PWSCF calculations set up by the previous script. Calculates the energies of each point relative to the lowest energy point and generates a formatted table of energies and an input file for gnuplot to make a graphic of the PES.

Compatible with Python 2.6/2.7

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.