findtde
Set of scripts to facilitate easy calculations of threshold displacement energies for materials in VASP/LAMMPS using ab initio/classical molecular dynamics.
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Repository
Set of scripts to facilitate easy calculations of threshold displacement energies for materials in VASP/LAMMPS using ab initio/classical molecular dynamics.
Basic Info
- Host: GitHub
- Owner: hauck-as
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://findtde.readthedocs.io
- Size: 10.7 MB
Statistics
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 10
Metadata Files
README.md
findTDE
findTDE comprises a set of scripts to facilitate easy, high-throughput calculations of threshold displacement energies (TDEs) for materials using ab initio/classical molecular dynamics in VASP/LAMMPS. The threshold displacement energy is the minimum kinetic energy transfer from incident radiation to a lattice atom that produces a permanent defect. This property is useful for understanding the radiation hardness of a material, and it is a required parameter for binary collision approximation calculations (e.g., SRIM/TRIM).
Installation
Automatic installation is available with pip install findtde. The files may also be either downloaded manually or using git clone.
We recommend creating a virtual environment through Conda first, then installing findTDE. If you plan to use LAMMPS to perform calculations, you can install LAMMPS in the same environment with Conda.
Usage
The find_tde script may be called directly from the command line with several options. The usage may be displayed using the help (-h) option. The convergence mode (-c) determines how subsequent kinetic energy values are chosen for the displacement event, either "standard" (adjust by 5 eV until opposite defect generation is found, then adjust by 1 eV until the TDE is found) or "midpoint" (adjust by 8 eV until opposite defect generation is found, then adjust by half the distance from the current energy to the nearest energy of opposite defect generation). The program selection (-p) chooses whether VASP or LAMMPS is used for the calculations. If LAMMPS is used, the force field file may be chosen (-f).
Two options exist to use LAMMPS as the calculation program: lammps and lammpsish. lammps uses exclusively LAMMPS for all input files and simulations, while lammpsish uses the POSCAR/POTCAR files from VASP to convert to LAMMPS input files and performs just the calculations in VASP.
bash
find_tde [-h] [-c <standard|midpoint>] [-p <vasp|lammpsish|lammps>] [-f <lmp_ff.type>]
The script is currently written to execute via Slurm workload manager. This can be adjusted temporarily to execute the appropriate program.
The script relies on a directory structure. Only the base directory (e.g., "project," can be named anything), main input file ("lattdirsto_calc.csv"), inputs directory ("inp"), and perfect supercell directory ("perfect") are required to be made and named as described. findTDE should be executed in the "project" directory. Each "displacement" directory, associated "energy" directories, and relevant .csv/.txt files are created by the program.
project
│ latt_dirs_to_calc.csv
│
└───displacement1
│ │ displacement1_data.csv
│ │ displacement1_out.txt
│ │ KE_calcs_list.txt
│ │
│ └───energyA
│ | │ program_inputs
│ | │ program_outputs
│ | │ ...
│ │
│ └───energyB
│ | │ program_inputs
│ | │ program_outputs
│ | │ ...
│ │
│ └───...
│
└───...
│
└───inp
│ │ INCAR_cgm
│ │ INCAR_md
│ │ KPOINTS
│ │ POSCAR
│ │ POTCAR
│ │ lmp_ff.type
│ │ ...
│
└───perfect
| │ OUTCAR
The input file "lattdirstocalc.csv" is required to specify the displacement event. This can either be created manually, or by using the `multitde.pyaccessory script. The heading of this file may be used to describe the file format. The bottom row of the file is read whenfindTDE` is executed, and that info is used for that TDE calculation. The first value is a "pseudo" to correspond to the displacement direction, given as an integer number (changes with each unique direction) and either "L" or "S" (describes whether the direction is given as a lattice direction [u v w] or spherical direction (rho, phi, theta)). The "atomtype" and "atomnumber" detail which atom in the supercell is given the velocity vector to simulate the displacement event (e.g., atomtype: ga and atomnumber: 34 corresponds to the 34th Ga atom, as listed in the POSCAR file, being displaced). The initial kinetic energy "kei" and cutoff kinetic energy "kecut" (stops the program if a defect is not found below this kinetic energy) are then defined. The direction is then defined, either using lattice direction integer notation or spherical coordinate notation (may be floats).
```
format of text file
nL atomtype atomnumber kei kecut u v w
n+1S atomtype atomnumber kei kecut r p t
```
Citations
If you use findTDE in your research, please cite:
* A. S. Hauck, M. Jin, and B. R. Tuttle, “Atomic displacement threshold energies and defect generation in GaN, AlN, and AlGaN: A high-throughput molecular dynamics investigation,” Applied Physics Letters, vol. 124, no. 15, p. 152107, Apr. 2024, doi: 10.1063/5.0190371.
Acknowledgements
The findTDE code was developed by Alexander Hauck, Dr. Mia Jin, and Dr. Blair Tuttle at The Pennsylvania State University.
Owner
- Name: Alex Hauck
- Login: hauck-as
- Kind: user
- Location: University Park, PA
- Company: The Pennsylvania State University
- Repositories: 1
- Profile: https://github.com/hauck-as
Nuclear Engineering PhD Student at Penn State
Citation (CITATION.cff)
cff-version: 1.2.0
authors:
- family-names: Hauck
given-names: Alexander S.
orcid: "https://orcid.org/0000-0002-6402-2343"
message: If you use this software, please cite our article in Applied Physics Letters.
preferred-citation:
authors:
- family-names: Hauck
given-names: Alexander S.
orcid: "https://orcid.org/0000-0002-6402-2343"
- family-names: Jin
given-names: Miaomiao
orcid: "https://orcid.org/0000-0002-3543-4082"
- family-names: Tuttle
given-names: Blair R.
orcid: "https://orcid.org/0000-0003-1940-3486"
date-published: 2024-04-09
doi: 10.1063/5.0190371
issn: 0003-6951
issue: 15
journal: Applied Physics Letters
publisher:
name: American Institute of Physics
start: 152107
title: "Atomic displacement threshold energies and defect generation in GaN, AlN, and AlGaN: A high-throughput molecular dynamics investigation"
type: article
url: https://pubs.aip.org/aip/apl/article/124/15/152107/3282227
volume: 124
title: findTDE
version: 1.2.4
date-released: 2023-09-27
url: "https://github.com/hauck-as/findTDE"
GitHub Events
Total
- Release event: 15
- Watch event: 4
- Delete event: 2
- Push event: 57
- Fork event: 1
- Create event: 14
Last Year
- Release event: 15
- Watch event: 4
- Delete event: 2
- Push event: 57
- Fork event: 1
- Create event: 14
Packages
- Total packages: 1
-
Total downloads:
- pypi 30 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 14
- Total maintainers: 1
pypi.org: findtde
Set of scripts to facilitate easy calculations of threshold displacement energies for materials in VASP/LAMMPS using ab initio/classical molecular dynamics.
- Homepage: https://findTDE.readthedocs.io/en/latest/
- Documentation: https://findtde.readthedocs.io/
- License: MIT License Copyright (c) 2023 Alexander Hauck Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 1.2.0
published 10 months ago