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.1.tar.gz (11.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for dftfit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 098f3e599ab04858e13d1faabda751f8dd4723a741cf49b5f67203a3bef4e92e
MD5 850e3b66d844f8c4e6e5a5dd05172a8c
BLAKE2b-256 c04cb2b2522c06aab8de398ae5add84239eeffe774549c5b233d9c24b4e94004

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