geostrophic adjustment problem for ideal gas