Alternating direction along flow lines in a fluid flow problem