Hydrodynamic description of the erosional development of drainage patterns