🧪 Desalination Membrane Flow: Osmotic Pressure & Solution-Diffusion Transport (2D)
2D reverse-osmosis membrane lab: van't Hoff osmotic pressure, solution-diffusion water/salt flux, live concentration polarization at the membrane wall, and a depleting feed reservoir that shows why flux collapses to zero once applied pressure drops below the osmotic pressure it must overcome.
This 2D companion drives the same reverse-osmosis physics as the 3D version through a readable canvas cross-section: a feed compartment under adjustable hydraulic pressure sits against a semi-permeable membrane, with a fresh permeate compartment on the other side. Water flux and salt flux are computed from the solution-diffusion model with a real van't Hoff osmotic-pressure term, concentration polarization builds visibly at the membrane wall, and a finite feed reservoir concentrates over time so recovery, rejection and flux all evolve the way a real batch RO cell behaves — including clamping to zero flux whenever applied pressure falls below the osmotic pressure it needs to overcome.
2D reverse-osmosis membrane lab with van't Hoff osmotic pressure, solution-diffusion water/salt flux, live concentration polarization, and a depleting feed reservoir demonstrating the zero-flux threshold below the osmotic pressure.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install