Virtual and real topography for flows across mountain ranges