Skip to main content

Material structure processing software

Project description

G-Wizard

GPUMD-Wizard

Material structure processing software based on ASE (Atomic Simulation Environment) providing automation capabilities for calculating various properties of metals. Additionally, it aims to run and analyze molecular dynamics (MD) simulations using GPUMD.

Features

  • Based on the ASE package, MetalProperties-Automator supports different calculators such as calorine, DP, and LAMMPS.
  • Allows for automated batch calculations of metal properties.
  • Enables batch processing of files in the XYZ format.
  • Integrated with GPUMD for performing molecular dynamics simulations, such as irradiation damage.

Installation

Requirements

Package version
Python >= 3.8
ase >= 3.18.0
calorine >= 2.2.1
phonopy >= v2.22.0

From Source

$ git clone --recursive https://github.com/Jonsnow-willow/GPUMD-Wizard.git

Add GPUMD-Wizard to your PYTHONPATH environment variable in your ~/.bashrc file.

$ export PYTHONPATH=<path-to-GPUMD-Wizard-package>:$PYTHONPATH

Usage

from wizard.atoms import SymbolInfo, MaterialCalculator
from calorine.calculators import CPUNEP

def main():
    # Create calculator object 
    calc = CPUNEP('nep.txt')
    
    # Set properties-related parameters
    millers = [(1,1,0),(0,0,1),(1,1,1),(1,1,2)]
    sia_vectors = [(1/2,1/2,1/2),(1,0,0),(1,1,0)]
    nths = [1,2,3]

    # Generate bulk atoms and calculate properties
    symbol_info = SymbolInfo('W', 'bcc', 3.185)    
    atoms = symbol_info.create_bulk_atoms()
    material_calculator = MaterialCalculator(atoms, calc, symbol_info.symbol, symbol_info.structure)
    material_calculator.lattice_constant()
    material_calculator.elastic_constant()
    material_calculator.eos_curve()
    material_calculator.phonon_dispersion()
    material_calculator.formation_energy_vacancy()
    material_calculator.migration_energy_vacancy()
    for nth in nths:
        material_calculator.formation_energy_divacancies(nth)
    for miller in millers:
        material_calculator.formation_energy_surface(miller)
    material_calculator.stacking_fault(a = (1,1,-1), b = (1,-1,0), miller = [1,1,2], distance = 3.185/2)
    material_calculator.stacking_fault(a = (1,1,-1), b = (1,1,2), miller = [1,-1,0], distance = 3.185/2)
    material_calculator.pure_bcc_metal_screw_dipole_move()
    material_calculator.pure_bcc_metal_screw_one_move()
    for vector in sia_vectors:
        material_calculator.formation_energy_sia(vector)
    material_calculator.formation_energy_interstitial_atom('W',[0,0,1/2],'octahedral')
    material_calculator.formation_energy_interstitial_atom('W',[1/4,0,1/2],'tetrahedral')

if __name__ == "__main__":
    main()

Citations

Reference cite for what?
[1-2] for any work that used GPUMD
[3] NEP + ZBL
[4] UNEP

References

[1] Zheyong Fan, Wei Chen, Ville Vierimaa, and Ari Harju. Efficient molecular dynamics simulations with many-body potentials on graphics processing units, Computer Physics Communications 218, 10 (2017).

[2] Zheyong Fan, Yanzhou Wang, Penghua Ying, Keke Song, Junjie Wang, Yong Wang, Zezhu Zeng, Ke Xu, Eric Lindgren, J. Magnus Rahm, Alexander J. Gabourie, Jiahui Liu, Haikuan Dong, Jianyang Wu, Yue Chen, Zheng Zhong, Jian Sun, Paul Erhart, Yanjing Su, Tapio Ala-Nissila, GPUMD: A package for constructing accurate machine-learned potentials and performing highly efficient atomistic simulations, The Journal of Chemical Physics 157, 114801 (2022).

[3] Jiahui Liu, Jesper Byggmästar, Zheyong Fan, Ping Qian, and Yanjing Su, Large-scale machine-learning molecular dynamics simulation of primary radiation damage in tungsten, Phys. Rev. B 108, 054312 (2023).

[4] Keke Song, Rui Zhao, Jiahui Liu, Yanzhou Wang, Eric Lindgren, Yong Wang, Shunda Chen, Ke Xu, Ting Liang, Penghua Ying, Nan Xu, Zhiqiang Zhao, Jiuyang Shi, Junjie Wang, Shuang Lyu, Zezhu Zeng, Shirong Liang, Haikuan Dong, Ligang Sun, Yue Chen, Zhuhua Zhang, Wanlin Guo, Ping Qian, Jian Sun, Paul Erhart, Tapio Ala-Nissila, Yanjing Su, Zheyong Fan, General-purpose machine-learned potential for 16 elemental metals and their alloys arXiv:2311.04732 [cond-mat.mtrl-sci]

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

gpumd-wizard-0.0.2.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

gpumd_wizard-0.0.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file gpumd-wizard-0.0.2.tar.gz.

File metadata

  • Download URL: gpumd-wizard-0.0.2.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for gpumd-wizard-0.0.2.tar.gz
Algorithm Hash digest
SHA256 342757ccf121f6b053fe4d3aa18262dcee2cc7d7d5d318e23372af7bfe81027c
MD5 ab435b62f6d27f81c5d8f58db68e85d7
BLAKE2b-256 33ca0f1a7e2fa9ff0c3aab6030f9279df75f5486b40ccd811643162b99f9a825

See more details on using hashes here.

File details

Details for the file gpumd_wizard-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gpumd_wizard-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for gpumd_wizard-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b293c6dc1df84b9ccaa733b73f27a51147c31be3e5a5ccebd5e7a2a388ca8c56
MD5 bea2a3e005e8adf1265537755a890d4c
BLAKE2b-256 67d591de8f5dd43b41f317fbd6785190743ff631cfb8e0cc04f7dd796e799ff2

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