polykin.properties.diffusion¤
DV_Wilke_Lee ¤
DV_Wilke_Lee(
T: float,
P: float,
MA: float,
MB: float,
rhoA: float,
rhoB: float | None,
TA: float,
TB: float | None,
) -> float
Estimate the mutual diffusion coefficient of a binary gas mixture, \(D_{AB}\), using the Wilke-Lee method.
Note
If air is one of the components of the mixture, arguments TB
and
rhoB
should both be set to None
.
References
- RC Reid, JM Prausniz, and BE Poling. The properties of gases & liquids 4th edition, 1986, p. 587.
PARAMETER | DESCRIPTION |
---|---|
T
|
Temperature. Unit = K.
TYPE:
|
P
|
Pressure. Unit = Pa.
TYPE:
|
MA
|
Molar mass of component A. Unit = kg/mol.
TYPE:
|
MA
|
Molar mass of component B. Unit = kg/mol.
TYPE:
|
rhoA
|
Density of component A at the normal boiling point. Unit = kg/m³.
TYPE:
|
rhoB
|
Density of component B at the normal boiling point. If
TYPE:
|
TA
|
Normal boiling temperature of component A. Unit = K.
TYPE:
|
TB
|
Normal boiling temperature of component B. If
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
float
|
Binary diffusion coefficient. Unit = m²/s. |
Examples:
Estimate the diffusion coefficient of vinyl chloride through water vapor.
>>> from polykin.properties.diffusion import DV_Wilke_Lee
>>> D = DV_Wilke_Lee(
... T=298., # temperature
... P=1e5, # pressure
... MA=62.5e-3, # molar mass of vinyl chloride
... MB=18.0e-3, # molar mass of water
... rhoA=910., # density of vinyl chloride at the normal boiling point
... rhoB=959., # density of water at the normal boiling point
... TA=260., # normal boiling point of vinyl chloride
... TB=373., # normal boiling point of water
... )
>>> print(f"{D:.2e} m²/s")
1.10e-05 m²/s
Estimate the diffusion coefficient of vinyl chloride through air.
>>> from polykin.properties.diffusion import DV_Wilke_Lee
>>> D = DV_Wilke_Lee(
... T=298., # temperature
... P=1e5, # pressure
... MA=62.5e-3, # molar mass of vinyl chloride
... MB=18.0e-3, # molar mass of water
... rhoA=910., # density of vinyl chloride at the normal boiling point
... rhoB=None, # air
... TA=260., # normal boiling point of vinyl chloride
... TB=None, # air
... )
>>> print(f"{D:.2e} m²/s")
1.37e-05 m²/s
Source code in src/polykin/properties/diffusion/vapor.py
10 11 12 13 14 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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
|