https://github.com/killiansheriff/atomisticreversemontecarlo
OVITO Python modifier to generate bulk crystal structures with target Warren-Cowley parameters.
https://github.com/killiansheriff/atomisticreversemontecarlo
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Keywords
Repository
OVITO Python modifier to generate bulk crystal structures with target Warren-Cowley parameters.
Basic Info
Statistics
- Stars: 25
- Watchers: 2
- Forks: 3
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.md
Atomistic Reverse Monte-Carlo
OVITO Python modifier to generate bulk crystal structures with target Warren-Cowley parameters.
Usage
Here's an example on how to use the code to create the fcc_wc.dump file which has Warren-Cowley parameters that falls within a 1% difference of the targeted ones:
```python from ovito.io import exportfile, importfile
from AtomisticReverseMonteCarlo import AtomisticReverseMonteCarlo
mod = AtomisticReverseMonteCarlo(
nneigh=12, # number of neighbors to compute WC parameters (12 1NN in fcc)
T=1e-9, # rMC temperature
targetwc=[ # wc target 1-pij/cj
[0.32719603, -0.19925471, -0.12794131],
[-0.19925471, 0.06350427, 0.13575045],
[-0.12794131, 0.13575045, -0.00762235],
],
tolpercentdiff=[ # max percent tolerence allowed before stopping
[1, 1, 1],
[1, 1, 1],
[1, 1, 1],
],
saverate=1000, # save rate
seed=123,
max_iter=None, # infinity number of iterations
)
Load the intial snapshot
pipeline = importfile("fccrandom.dump") pipeline.modifiers.append(mod) data = pipeline.compute()
Load data of the last trajectory
data = pipeline.compute(-1) print(f'Target Warren-Cowley parameters: \n {data.attributes["Target Warren-Cowley parameters"]}') print(f'Warren-Cowley parameters: \n {data.attributes["Warren-Cowley parameters"]}') print(f'Warren-Cowley Percent error: \n {data.attributes["Warren-Cowley percent error"]}')
exportfile(
data,
"fccwc.dump",
"lammps/dump",
columns=[
"Particle Identifier",
"Particle Type",
"Position.X",
"Position.Y",
"Position.Z",
],
)
`
The script can be found in theexamples`` directory.

Installation
For a standalone Python package or Conda environment, please use:
bash
pip install --user AtomisticReverseMonteCarlo
For OVITO PRO built-in Python interpreter, please use:
bash
ovitos -m pip install --user AtomisticReverseMonteCarlo
If you want to install the lastest git commit, please replace AtomisticReverseMonteCarlo with git+https://github.com/killiansheriff/AtomisticReverseMonteCarlo.

Contact
If any questions, feel free to contact me (ksheriff at mit dot edu).
References & Citing
If you use this repository in your work, please cite:
@article{sheriffquantifying2024,
title = {Quantifying chemical short-range order in metallic alloys},
doi = {10.1073/pnas.2322962121},
journaltitle = {Proceedings of the National Academy of Sciences},
author = {Sheriff, Killian and Cao, Yifan and Smidt, Tess and Freitas, Rodrigo},
date = {2024-06-18},
}
Owner
- Name: Killian Sheriff
- Login: killiansheriff
- Kind: user
- Location: Cambridge, MA
- Company: MIT
- Twitter: KillianSheriff
- Repositories: 2
- Profile: https://github.com/killiansheriff
@MIT DMSE Ph.D. Student | @McGillUPhysics graduate | Doing Materials Science + AI research to better understand high-entropy alloys.
GitHub Events
Total
- Watch event: 5
- Push event: 2
- Fork event: 1
Last Year
- Watch event: 5
- Push event: 2
- Fork event: 1
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Killian Sheriff | k****f@m****u | 65 |
| Daniel Utt | u****t@o****g | 4 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 12 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- nnn911 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 20 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
pypi.org: atomisticreversemontecarlo
OVITO Python modifier to generate bulk crystal structures with target Warren-Cowley parameters.
- Documentation: https://atomisticreversemontecarlo.readthedocs.io/
- License: MIT License
-
Latest release: 0.0.3
published over 2 years ago