The effect of friction, between the air and the land, breaks the geostrophic balance. Friction slows the flow, lessening the effect of the Coriolis force. As a result, the pressure gradient force has a greater effect and the air still moves from high pressure to low pressure, though with great deflection. This explains why high-pressure system winds radiate out from the center of the system, while low-pressure systems have winds that spiral inwards.
The geostrophic wind neglects frictional effects, which is usually a good approximation for the synoptic scale instantaneous flow in the midlatitude mid-troposphere. Although ageostrophic terms are relatively small, they are essential for the time evolution of the flow and in particular are necessary for the growth and decay of storms. Quasigeostrophic and semi geostrophic theory are used to model flows in the atmosphere more widely. These theories allow for a divergence to take place and for weather systems to then develop.