Instead of figuring out how to set up the perfect set of variables to trigger flow (focus) for long periods of time, I do something else.
I purposely interrupt my work every 10 minutes for a long (5+ minutes) break. Most accounts I have read say that it takes 10-20 minutes to get into a state of flow to be able to do some real, hard work. But with the limitation of only 10 minutes of work, I force my brain to learn to get into flow much more quickly (definitely under 5 minutes, and I think much less but it's hard to measure!).
I only started doing this the last couple of weeks. I'm amazingly more productive, and the scope of my projects are increasingly ambitious.
I am posting this to see if anyone has had a similar experience. So, have you?