Flow phenomena in rocks: from continuum models to fractals, percolation, cellular automata, and simulated annealing | Synapse