Coder Social home page Coder Social logo

castep-linear-response-u's Introduction

Computing ab inito U value using the linear response method with CASTEP

How to run

  1. Have CASTEP compiled and castep.mpi in the $PATH
  2. base script.sh
  3. Run this notebook or python post-process.py

Results for the toy system

How it works

Adjust the HUBBARD_ALPHA value and record the initial and final occupations of the Mn d levels when continuing from the unperturbed run (base_calc). The value of U is extracted using the gradient of the two response curves.

The example in http://hjkgrp.mit.edu/content/calculating-hubbard-u is reused here and the same methodology is followed.
The more self-consistent U can be computed by repeating the procedure with different input value for the U.

Reference:

Cococcioni, M.; de Gironcoli, S. Linear Response Approach to the Calculation of the Effective Interaction Parameters in the LDA+U Method. Phys. Rev. B 2005, 71 (3), 035105. https://doi.org/10.1103/PhysRevB.71.035105.

DISCLAIMER: Use at your own risk. Please raise an issue if you think the method here is not correct due to implementation details.

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.