> Does anyone knows how to calculate the hydraulic gradient of a DEM? Mmh, assuming that capillary processes can be neglected, you could get something with the slopes (r.slope.aspect). Be careful with the units, and check the UM for more details on this command. Hope it helps P.