Coder Social home page Coder Social logo

electrochemical-barrier's Introduction

Electrochemical-barrier

This package performs structure optimization and saddle search under constant potential. The geometry and number of electrons are optimized simultaneously without adding significant overhead compared to constant-charge calculations. The current implementation is based on ASE and VASPsol.

Install:

  1. Make sure VASPsol is compided
  2. pip3 install --upgrade --user ase
  3. Set ASE with VASPsol as the binary, see script/run_vasp.py for the srun/mpirun setting (potcar files and others, see https://wiki.fysik.dtu.dk/ase/ase/calculators/vasp.html#environment-variables)
  4. In bash_profile: export PYTHONPATH=$PYTHONPATH:your_path/Electrochemical-barrier/

Usage:

  1. Before doing any calculation, first set the vacuum/solution along the z axis and move the slab to the center of the simulation box using scripts/center_slab.py (do not run the script separately for the initial and final states because there could be some small mismatch for the substrate.)
  2. Optimize the end points with optimization/constV_opt.py
    • grep FIRE slurm... to check the magnitude of residual forces (force, mu_e)
    • grep electron slurm... for number of electrons and mu_e
  3. Copy the initial and final structures to 0.CON and 6.CON for an eNEB run
  4. Set the optimized number of electrons for the initial and fianl states in ne1=... and ne2=... in example/run_eneb-vasp.py
  5. Submit the slurm job to run run_eneb-vasp.py
    • fe.out shows the residual force after each iteration
    • structure of each image, ?.CON, is updated on the fly. To continue from an existing path, uncomment the lines in run_eneb_vasp.py that read in the path from ?.CON and resubmit the script again.
  6. Check the MEP:
    • tail -7 mep.out > neb.dat
    • nebspline.pl (from the VTSTSCRIPTS)
    • The above two commands will produce mep.eps as from a regular NEB run in VTSTcode

References: Z. Duan and P. Xiao, Simulation of Potential-Dependent Activation Energies in Electrocatalysis: Mechanism of Oโˆ’O Bond Formation on RuO2, J. Phys. Chem. C 2021, 125, 28, 15243

electrochemical-barrier's People

Contributors

penghao-xiao 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.