So, based on this and a recent news story (discussed here: https://news.ycombinator.com/item?id=22503438), the rule seems to be:
* Need to do some convergent thinking? Caffeine.
* Need to do some divergent thinking? Walk.
Each of these helps with one type of thinking but not the other.