Start here: choose gases A and B, set T and P, then press Remove membrane and watch the mixing index.
Binary gas pair
Calculated binary diffusivity
Mixing in the box
Temperature effect at constant pressure
Pressure effect at constant temperature
Two estimates at the same T and P
Measured, rescaled: D = cm²/s. Fuller − measured: %.
Equations, assumptions and references
Governing equations
Fuller method (binary pair A + B)
DAB in cm²/s, T in K, P in atm, M in g/mol, Σv from Table 5-13. 1 cm²/s = 10−4 m²/s; 1 atm = 101.325 kPa.
The square-root factor is 1/√MAB. Reading Table 5-11 literally (√MAB in the numerator) is the “wrong on purpose” demo.
Formula builder: C, H, O, N, Cl and S, plus preset values for He, Ar and air (example: C₆H₅Cl with 1 ring). Each aromatic or heterocyclic ring subtracts 20.2. M and Σv can also be typed directly.
Enter a measured binary D at Tref and Pref; it is moved to the current T and P with the same T1.75/P scaling. Away from the measurement conditions both numbers are estimates.
Limits. Low-pressure gas correlation. DABP is constant at low pressure but falls as pressure rises (Perry’s p. 5-49), so the region above 10 atm is shaded as a caution zone. The exponent 1.75 is approximate. Check that each species is still a gas at the chosen T and P.
Reading the results. For fixed species DAB ∝ T1.75/P, so DABP is the same at every pressure. Fuller diffusion volumes are empirical parameters, not bulk molar volumes.
Plots. Temperature plot: both axes logarithmic, so the Fuller line has slope 1.75. Pressure plot: logarithmic P axis; left axis DAB (log), right axis DABP (linear). Comparison bars: the Fuller value against the measured value moved to the same T and P; the gap shows method spread, not which one is right.
References
- Perry’s Chemical Engineers’ Handbook, 9th ed., Section 5 (Eqs. 5-202, 5-210; Tables 5-11, 5-13) and Table 2-141.
- E. N. Fuller, P. D. Schettler and J. C. Giddings, Ind. Eng. Chem. 58(5), 18 (1966).
- R. B. Bird, W. E. Stewart and E. N. Lightfoot, Transport Phenomena, 2nd ed., Wiley (2002), Ch. 17 (kinetic theory of gases).
Model self-tests
Each check recomputes a published or analytic value with the same functions the simulator uses (0.6% tolerance). None of these is a homework answer.
Not run.
| Check | Computed | Expected | Result |
|---|
How the animated schematic is scaled
Fuller-calibrated stochastic diffusion model (random flight), not molecular dynamics. The box holds only the two species. A theoretical membrane at the midline keeps A (red filled dots) on the left and B (blue rings) on the right: molecules move thermally but bounce off it, so nothing mixes until Remove membrane is pressed. Insert membrane traps every molecule on the side where it is. Reset run, or the Reset button at the top, puts A and B back in their halves with the membrane in.
Changing T, P or a species during a run updates speeds and free paths at once without restarting, so you can watch the rate change; the run is then flagged “inputs changed”, because its times mix two conditions. For a clean comparison press Reset run, then Remove membrane.
Molecule speeds
Each molecule flies straight at its kinetic-theory mean speed:
Sv is one fixed constant (air at 298 K moves at 150 box units per second; the box is 300 units wide and is stretched to fit the screen). Doubling T raises every speed by √2; H2 moves √(28.01/2.016) = 3.73 times faster than N2 at the same T.
Collisions
After an exponentially distributed free path the molecule is scattered into a random direction. The mean free path of each species is set so that this random flight diffuses at exactly the Fuller value:
A random flight in two dimensions has diffusivity vλ/2, so both species interdiffuse with DAB (for a binary mixture DAB = DBA). One fixed factor SD = 11 500 converts cm²/s to (box units)²/s; Dpx is in those units. Molecules reflect at the walls, and at the membrane while it is in. When the free path is far shorter than one frame of motion, the equivalent Gaussian step of variance 2DpxΔt per axis is used.
Spreading of A
Along the box, the spread of A obeys
so A mixes faster at higher T (DAB ∝ T1.75) and lower P (DAB ∝ 1/P), and more slowly for heavier or bulkier molecules. The model self-tests check this variance against 2DABt within 10%, and that doubling T or halving P changes the measured spread rate by 21.75 and 2.
Mixing index
The box is cut into 8 equal vertical slices. xA,i is the mole fraction of A among the ni molecules in slice i (the strip under the box), and σ0 = 1/2 is the spread for the fully separated start:
The second sum removes the scatter expected from counting a finite number of molecules. I runs from 0% (separated) to 100% (uniform). It uses all 8,000 simulated molecules (4,000 A and 4,000 B); one in 40 is drawn so that single paths stay visible. Even a perfectly mixed box never counts out exactly even, so I keeps flickering by a few percent around 99%. To keep that flicker from deciding the result, Well mixed is shown once I averaged over the last 1 s of model time reaches 95%, and it stays on until the next reset. Time to 90% records when I first reaches 90%; this flicker moves it by well under 1%.
Time base
Elapsed time is model time and runs only while the membrane is out. Because Dpx = SDDAB, the 300-unit box behaves like a cell L = 300/√11 500 ≈ 2.8 cm long, so mixing times are true diffusion times for that length and scale as L2/DAB. Molecule sizes, spacings, speeds and free paths are not to scale.