Geometrically intrinsic modeling of shallow water flows