Semipermeable membrane simulation — osmotic pressure from concentration gradients
Blue dots are water molecules; orange dots are solute (impermeable). The membrane only passes water. Water flows from low to high solute concentration until osmotic pressure equals hydrostatic pressure.
Van't Hoff: Π = iMRT where M is molar concentration.