Text this: An electrostatic model for osmotic flow through charged pores