Assuming I have a terrain, as usual the terrain has ridges, creeks and all the characteristics that you can find on a real life map. Water flows from the top of the mountain into lower area, the path that water flows is termed stream flow path.
The terrain is given in terms of triangular irregular network ( TIN), which each point p(x,y) has a z value. How to use this information to construct the stream flow path? What is the physics behind this?
From what I know, steepest descent method can be used to solve this problem. I am thinking about writing my own stream flow algorithm, so I am interested in the theoretical background rather than using the existing tools.