Formula-based calculator for alloy properties
Project description
Features
-
Valence Electron Concentration (VEC)
$\text{VEC} = \sum_{i} c_i \cdot \text{VEC}_i$
-
Atomic Size Mismatch (delta)
$\delta = \sqrt{\sum_{i} c_i \left(1 - \frac{r_i}{\overline{r}}\right)^2}$
-
Pauling Electronegativity
$\chi = \sqrt{\sum_{i=1}^{n} c_i \left( \chi_i - \overline{\chi} \right)^2}$
-
Entropy of Mixing
$\Delta S_{\text{mix}} = -R \sum_{i} c_i \ln c_i$
-
Enthalpy of Mixing
$\Delta H_{\text{mix}} = \sum_{i=1}^n \sum_{j=1, j \neq i}^n 4 c_i c_j \Delta H_{\text{mix}}^{ij}$
Installation
-
Install with pip:
pip install alloys-props
-
Install with poetry:
poetry add alloys-props
Usage
# coding: utf-8
from alloys_props import vec, delta, pauling_negativities, entropy_of_mixing
alloy = 'Al0.5Fe'
print(f'vec: {vec(alloy)}')
print(f'pauling_negativities: {pauling_negativities(alloy)}')
print(f'delta: {delta(alloy)}')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alloys_props-0.1.1.tar.gz.
File metadata
- Download URL: alloys_props-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b171de2a582ee772b0be5276090a8182169068b5a58fc4ce46c9096c5a382227
|
|
| MD5 |
2302ca5bc9a2b6bb38348eeadab818f6
|
|
| BLAKE2b-256 |
65f4741a3d19094e476716c46ec9081a9734468225fed1c54049243e187198ae
|
File details
Details for the file alloys_props-0.1.1-py3-none-any.whl.
File metadata
- Download URL: alloys_props-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
517447ecd03f203c9f0210f293590c78f82af19611c9c95c41489d993c333f97
|
|
| MD5 |
87cd743a35d8bf4d607a97c7a3a66c57
|
|
| BLAKE2b-256 |
56405af36f3d722c57cdea1b4831f9a474f0edfe7c64be6c5b693b50f0c0a4bd
|