calculate Flow along an axis