The Donnan model derived from microstructure.