An approximate analytical theory to predict the diurnal effects of local advection