Preparing the pilot reactor…
Could not start the 3D engine.
Your browser or GPU blocked WebGL; reload or try another browser.
⚖️ Reactor controls
The science

Hydroxide precipitation. M(OH)z(s) ⇌ Mz+ + z OH−, Ksp = [Mz+][OH−]z, [OH−] = 10pH−14. The cation sits in equilibrium with hydroxo complexes M(OH)i (constants βi), so the total dissolved metal is S = Ksp[OH]−z(1 + Σβi[OH]i): it falls as pH rises, passes a minimum and then rises again (amphoteric Zn and Cr re-dissolve). The old model used [OH]2 for Cr3+ and no complexes.

Kinetics. Dissolved metal relaxes to its equilibrium at a first-order rate (assumed 1/45 s); the lime loop sets pH with a 15 s time constant. Flocculation: Smoluchowski orthokinetic growth dd/dt = (4/3π) α Φeff G d with shear G = √(P/μV), P = NpρN3D5, capped by shear break-up dmax ∝ G−0.6. Settling: Stokes v = gΔρd2/18μ (corrected with Schiller-Naumann drag when Re > 0.1) with fractal floc density Δρ = (ρs−ρw)(d0/d)3−Df, ideal batch (Type I) clarification sampled at 0.6 m.

Stoichiometry. Lime (z/2) Ca(OH)2 per mole of metal; sludge as dry M(OH)z (the old page used a ×2.5 fudge).

Honest simplifications. 25 °C, ideal activities (no ionic strength), amorphous hydroxide only; no carbonate, sulfide or chelators (EDTA, ammonia) that dominate real effluent. Complex constants are rounded literature values (±1 log unit). Rate constant, floc hydration (×100), collision efficiency (0.3), Np = 1.3 and Df = 2.3 are assumed typical values. The sludge layer is drawn at least 6 mm thick. A real permit needs a lab jar test.

Independent checks (run on load):

running…

Reactor readout

Dissolved metal-
Equilibrium (this pH)-
Effluent total metal-
Discharge limit-
Removal-
Actual pH-
Velocity gradient G-
Floc size-
Settling velocity-
Lime (stoich.)-
Dry sludge-
Batch time-
-
Dissolved metalHydroxide floc
Made with 🟠 Blender · Three.js