Giter Club home page Giter Club logo

vaspgibbs's Introduction

VaspGibbs


DOI PyPI

Installation

pip install VaspGibbs

Usage

In a folder with a finished vasp calculation, run

vasp_gibbs

vasp_gibbs will rerun Vasp to obtain vibration modes and output the gibbs free energy of your system.

Use -o (only) or -t(top) to specify a set of atoms for which to calculate vibration modes. Examples:

  • -o C O would only compute vibration modes associated with C and O keeping all other atoms fixed.
  • -o 1 3 6 would compute vibration modes associated with the first, third and sixth atoms in the POSCAR keeping all other atoms fixed.
  • -t 10 would compute vibration modes associated with the first 10 atoms starting from the top of the unit cell along the c axis.

This can be useful when computing free energy differences between systems where one part of the system does not change, e.g. adsorption free energies.

To run vasp in parallel call:

vasp_gibbs -n [number of proc] -m [mpi executable] -v [vasp executable]

By default srun and vasp_std are used.

VaspGibbs will automatically compute the moment of inertia and symmetry of your molecule and compute rotational and translational contributions if you specify that the system is a molecule with the -m flag.

The temperature and pressure can be set using the -T and -P flags.

Output

All outputs can be found in the VaspGibbs.md file. It contains the following information:

Rotational properties

Property Value
Sigma x
P. axes
I~1 x eV/THz^2
I~2 x eV/THz^2
I~3 x eV/THz^2

Energy corrections

Type Z E (eV) S (eV/K) F (eV)
ZPE N/A x N/A N/A
Electronic x x x x
Vibrational x x x x
Rotational x x x x
Translational x x x x

Thermodynamic Quantities

Quantity Value
Enthalpy x eV
Entropy x eV/K
Gibbs Free Energy x eV
G - E_dft x eV
TS x eV

Online Ressources

Citation

@software{therrien2023vaspgibbs,
  author       = {Félix Therrien},
  title        = {{VaspGibbs: A simple way to obtain Gibbs free 
                   energy from Vasp calculations}},
  month        = apr,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v0.2.1},
  doi          = {10.5281/zenodo.7874413},
  url          = {https://doi.org/10.5281/zenodo.7874413}
}

Under development

Results have been checked with J. Phys. Chem. C 2013, 117, 49. More validation needs to be done; use with care.

Next steps: more testing, add to pypi, PV term for solids with Murnaghan equation, hindered translator and rotor?

Let me know if you would like new features to be added!

vaspgibbs's People

Contributors

ftherrien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vaspgibbs's Issues

Regarding an error while running the vaspgibbs

Hi,
After one iteration in Vasp_gibbs I am facing the following error. Please help me to solve this error.
Error: Intel MKL ERROR: Parameter 5 was incorrect on entry to DSYEV.

Regards,
Subhasmita Ray

Gibbs Free energy Calculation

First of all, thanks for making this codes available.
Please excuse me but I am trying to learn how to calculate Gibbs Free energy in a reaction. Assuming a reaction for two-dimensional case of TMDCs ,
MoSe2 (solid) + 2Te(gas) ---> MoTe2 (solid)+ 2Se (gas)

I can calculate the energies of terms, e.g., single-layer MoSe2 (solid) and MoTe2 (solid). Perhaps for Te and Se energies of a single atom is a box but all these values are at 0K and does not include Temperature (T) effects.

It is therefore I am wondering how can I use VaspGibbs code to study this reaction?
It would be extremely useful to have some insight.
Thanks,

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.