This simulation models a fixed-bed ion-exchange column softening hard water: influent Ca2+/Mg2+ ions exchange for Na+ on the resin as the feed flows downward through the bed. Use the five sliders to set the feed concentration of Ca2+ plus Mg2+ (C₀), volumetric flow rate (Q), resin capacity (q₀), resin mass (m), and the Thomas rate constant (kTh); each change recomputes the breakthrough time and resets the clock to t = 0. Press Play to advance time and watch the exhausted (orange) zone move down through the column while the breakthrough curve on the right traces out C/C₀ (outlet concentration of Ca2+ + Mg2+ ions divided by their inlet concentration) at the column outlet, drag the time slider to move to any instant directly, or press Reset to return to t = 0.
The effluent concentration of Ca2+ plus Mg2+ ions (C) divided by the feed concentration of these ions (C₀) is modeled with the Thomas equation, the standard analytical model for a favorable, second-order-reversible ion-exchange (or adsorption) equilibrium in a fixed bed:
\[ \frac{C}{C_0} \;=\; \frac{1}{1+\exp\!\Big[\dfrac{k_{Th}}{Q}\big(q_0 m - C_0 Q t\big)\Big]} \]This can be rewritten using the stoichiometric (ideal) breakthrough time \(t_b\) and a dimensionless sharpness factor \(s\):
\[ t_b=\frac{q_0\,m}{C_0\,Q}, \qquad s=\frac{k_{Th}\,q_0\,m}{Q}=k_{Th}C_0t_b, \qquad \frac{C}{C_0}=\frac{1}{1+\exp\!\big[s\,(1-t/t_b)\big]} \]\(t_b\) is the time at which C/C₀ = 0.5 (the midpoint of the S-shaped curve); it is also the time an infinitely sharp front would take to exhaust the whole bed. Larger \(s\) (faster mass transfer, i.e. larger \(k_{Th}\)) gives a narrower mass-transfer zone and a steeper breakthrough curve; smaller \(s\) spreads the curve out.
The column diagram extends the same equation along the bed length assuming the mass-transfer zone travels as a self-sharpening ("constant pattern") wave. With \(z\) the fractional bed depth (0 = inlet, 1 = outlet), the local resin saturation is
\[ \theta(z,t)=\frac{1}{1+\exp\!\big[s\,(z-t/t_b)\big]} \]which reduces to the effluent equation above at \(z=1\).
| \(C_0\) | feed (influent) hardness concentration of Ca2+ plus Mg2+ ions, meq/L |
| \(C\) | effluent (outlet) concentration of Ca2+ plus Mg2+ ions at time t, meq/L |
| \(Q\) | volumetric flow rate through the bed, L/min |
| \(q_0\) | resin exchange capacity, meq/g resin |
| \(m\) | mass of resin in the bed, g |
| \(k_{Th}\) | Thomas rate constant, L/(meq·min) |
| \(t_b\) | stoichiometric (ideal) breakthrough time, the time at which C/C₀ = 0.5, min |
| \(s\) | dimensionless sharpness factor; larger \(s\) gives a narrower mass-transfer zone and a steeper breakthrough curve |
| \(z\) | fractional bed depth (0 = inlet, 1 = outlet), dimensionless |
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.