Similarity profiles of flows through porous media