functionDiffusionCoefficient
calculates diffusion coefficient of substance 2 in substance 1
Information
The function calculates the diffusion coefficient of a medium 1 into medium 2. Therefore the collision diameters of medium 1 and 2 σ1, σ2 and the collision integral Ω are used as inputs.
σ12 = (σ1 + σ2) ⁄ 2
Ω12 = σ212 Ω
D12 = 1.8583 10(-7) T3 ⁄ 2 ⁄ (p Ω12) √(1 ⁄ M1 + 1 ⁄ M2)
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MolarMass | M_1 | molar mass of component one | |
| Modelica.Units.SI.MolarMass | M_2 | molar mass of component two | |
| Modelica.Units.SI.Temperature | T | temperature in K | |
| Modelica.Units.SI.Pressure | p | pressure in atm | |
| Real | sigma1 | collision diameter component 1 | |
| Real | sigma2 | collision diameter component 2 | |
| Real | omega | CollisionIntegral |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.DiffusionCoefficient | D_12 | diffusion coefficient of component two in one |
Revisions
- June 15, 2018, by Martin Kremer:
First implementation.