flowtube.diffusion_coef
Handles the calculation of the diffusion coefficient of a binary gas mixture.
Functions
Calculation of non-polar diffusion coefficient for a low pressure binary gas mixture. |
|
Calculation of non-polar Lennard-Jones Potential for a binary gas mixture. |
Classes
|
- class flowtube.diffusion_coef.required_attrs(*args, **kwargs)[source]
-
P:
float
-
T:
float
-
reactant_gas:
str
-
carrier_gas:
str
- __init__(*args, **kwargs)
-
P:
- flowtube.diffusion_coef.non_polar_Lennard_Jones_potential(e_k, T)[source]
Calculation of non-polar Lennard-Jones Potential for a binary gas mixture. Formulas 11-3.4 to 11-3.6 in Reid et al., 1987
- Parameters:
e_k (float) – Lennard-Jones Energy (K).
T (float) – Temperature in K.
- Returns:
Non-polar Lennard Jones potential.
- Return type:
float
- flowtube.diffusion_coef.binary_diffusion_coefficient(obj)[source]
Calculation of non-polar diffusion coefficient for a low pressure binary gas mixture. Supported gases: Ar, He, Air, Br2, Cl2, HBr, HCl, HI, H2O, I2, NO, N2, and O2. Formulas 11-3.1 to 11-3.2 in Reid et al., 1987
- Parameters:
object (required_attrs) – Object with required attributes
Pa ((P in)
K (T in)
reactant_gas
carrier_gas).
obj (required_attrs)
- Returns:
Diffusion coefficient for binary gas mixture (cm2 s-1)
- Return type:
float