polykin.properties.viscosity¤
MULMX2_Perry ¤
MULMX2_Perry(
x: FloatVectorLike,
mu: FloatVectorLike,
hydrocarbons: bool = False,
) -> float
Calculate the viscosity of a liquid mixture from the viscosities of the pure components using the mixing rules recommended in Perry's.
For hydrocarbon mixtures:
and for nonhydrocarbon mixtures:
References
- Perry, R. H., D. W. Green, and J. Maloney. Perrys Chemical Engineers Handbook, 7th ed. 1999, p. 2-367.
PARAMETER | DESCRIPTION |
---|---|
x
|
Mole fractions of all components. Unit = mol/mol.
TYPE:
|
mu
|
Viscosities of all components, \(\mu\). Unit = Any.
TYPE:
|
hydrocarbons
|
Method selection.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
float
|
Mixture viscosity, \(\mu_m\). Unit = [mu]. |
Examples:
Estimate the viscosity of a 50 mol% styrene/toluene liquid mixture at 20°C.
>>> from polykin.properties.viscosity import MULMX2_Perry
>>>
>>> x = [0.5, 0.5]
>>> mu = [0.76, 0.59] # cP, from literature
>>>
>>> mu_mix = MULMX2_Perry(x, mu)
>>>
>>> print(f"{mu_mix:.2f} cP")
0.67 cP
Source code in src/polykin/properties/viscosity/liquid.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|