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
alloys_props-0.1.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for alloys_props-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517447ecd03f203c9f0210f293590c78f82af19611c9c95c41489d993c333f97 |
|
MD5 | 87cd743a35d8bf4d607a97c7a3a66c57 |
|
BLAKE2b-256 | 56405af36f3d722c57cdea1b4831f9a474f0edfe7c64be6c5b693b50f0c0a4bd |