Skip to main content

Ab-Initio Molecular Dynamics Potential Development

Project description

[![Build Status](https://travis-ci.org/costrouc/dftfit.svg?branch=master)](https://travis-ci.org/costrouc/dftfit)

# DFTFIT

DFTFIT is a python code that used Ab Initio data from DFT calculations such as VASP and QE to create molecular dynamic potentials. Our package differs from other similar codes in that we leverage LAMMPS.

Presentations about dftfit:

## Algorithm

We use least squares for finding the optimal parameters for a proposed potential. Since our DFTFIT uses LAMMPS, the user has the freedom to use any of the potentials available in LAMMPS.

Our algorithm follows a [highly cited publication](http://dx.doi.org/10.1063/1.1513312) that proposes a method for determining a new potential for Silicon.

![Optimization Equation](docs/img/eqs.png)

### Parameters
  • [$n_c$] number of system configurations

  • [$N$] number of atoms in each configuration

  • [$alpha, beta$] tensor with 3D dimensions [x, y, z]

  • [$cl$] classical results from molecular dynamics potential

  • [$ai$] ab initio results from dft simulation

  • [$w_f, w_s, w_e$] weights to assign respectively for force, stress, energy

  • [$F, S, E$] force, stress, and energy respectively.

# Dependencies

Currently DFTFIT depends on the atomic simulation environment but we will be moving to [pymatgen](http://pymatgen.org/) as soon as possible.

# Install

`bash python3 setup.py develop --user `

Installing dftfit in this way will allow any changes to the code to be immediately applied to the package without the need for a re-install.

Note that DFTFIT will NOT install LAMMPS, VASP, or Quantum Espresso. This software must be seperatly installed by the user.

Additionally nlopt is an optional dependency that requires the python extension as well. We hope to remove the need for nlopt.

# Running DFTFIT is a library that provides methods for optimization. There is a GUI in the works. See the test folder for examples. Currently there are examples for mgo and ceria.

# Examples Two examples are included within the dftfit package. Currently it only works with the nlopt package. NLOPT requires python 2.7. We hope to remove this dependency soon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dftfit-0.0.2.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file dftfit-0.0.2.tar.gz.

File metadata

  • Download URL: dftfit-0.0.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dftfit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2dd1ab33bf300e35c71ec7b0ee99e57832baa4d0fb47bc35c2cf9466e32d27cc
MD5 db62d759942ee56db44c5fe26cde1f21
BLAKE2b-256 b04458197e71569129564ebf298e5d0b932ea81cef74144ca150fc33abce83af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page