Skip to content

An attempt to fit ab-initio materials database (e.g. Materials Project) results to FitSNAP potential.

Notifications You must be signed in to change notification settings

stefanbringuier/QuickFitSNAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickFitSNAP [WIP]

Is a python library/set of scripts that utilizes FitSNAP and various atomistic computational materials databases, for example Materials Project, NIST-JARVIS, QCMD, AFLOW, etc., to fit quick and "dirty" interatomic potentials using SNAP formalism.

The way to use this package is as a means to quickly fit data from computational atomistic material database calculation result files. More specifically most database projects have a REST API that allows you to grab the calculation input and output files. What we are looking for is the VASP OUTCAR or vasprun.xml files that contain atomistic descriptions such as positions, forces, system energy, and cell stresses. Then we can convert these to extended XYZ format or JSON using a package like ASE or PyMatgen which FitSNAP uses. Alternative it is possible to use the OUTCAR files directly using the [SCRAPPER] option in FitSNAP set to VASP however, this hasn't been explored yet.

Warning: There are no gaurantees whatsoever on the quality of the potentials fit using this approach. This is very experimental!

Setup

You will need a python environment setup with the following:

The python package requirements for this library can be found in requirements.txt.

Use

Since the aim of this package is to just quickly provide a "first effort" interatomic potential using the vast amount of already generated ab-initio data via open science, the objective is to just pull whatever relevant chemical system calculation details are available and fit the SNAP potential using a generic template input file. Then one can take the SNAP coefficients and parameters and assess them on predictive capability, for example, calculating the phonon disperson/DOS.

There is the aspect of hyperparameters for the fitting process that should be addressed. Mainly we need to determine how to set the weights for the different groups we specify when using FitSNAP. There are two options, 1.) we don't do anything just manual guess the weights (e.g., Ta BCC should have a high weight associated with it given its stable) or 2.) we use Bayessian optimization to find the optimal parameters given priors.

Examples

About

An attempt to fit ab-initio materials database (e.g. Materials Project) results to FitSNAP potential.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages